| 123456789101112131415161718192021222324252627282930313233 |
- #pragma once
- #include <TurboBadger/tb_select_item.h>
- #include "UIWidget.h"
- namespace Atomic
- {
- class UISelectItemSource;
- class UIMenuWindow : public UIWidget
- {
- OBJECT(UIMenuWindow)
- public:
- UIMenuWindow(Context* context, UIWidget* target, const String& id);
- virtual ~UIMenuWindow();
- void Show(UISelectItemSource* source);
- protected:
- virtual bool OnEvent(const tb::TBWidgetEvent &ev);
- private:
- tb::TBGenericStringItemSource* source_;
- };
- }
|