| 123456789101112131415161718192021222324 |
- #pragma once
- #include "BsEditorPrerequisites.h"
- #include "BsGUIInputBox.h"
- namespace BansheeEngine
- {
- class GUITreeViewEditBox : public GUIInputBox
- {
- public:
- static const String& getGUITypeName();
- static GUITreeViewEditBox* create(const String& styleName = StringUtil::BLANK);
- static GUITreeViewEditBox* create(const GUIOptions& layoutOptions, const String& styleName = StringUtil::BLANK);
- Event<void()> onInputConfirmed;
- Event<void()> onInputCanceled;
- private:
- GUITreeViewEditBox(const String& styleName, const GUILayoutOptions& layoutOptions);
- virtual bool commandEvent(const GUICommandEvent& ev);
- };
- }
|