BsGUITreeViewEditBox.h 651 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "BsEditorPrerequisites.h"
  3. #include "BsGUIInputBox.h"
  4. namespace BansheeEngine
  5. {
  6. class GUITreeViewEditBox : public GUIInputBox
  7. {
  8. public:
  9. static const String& getGUITypeName();
  10. static GUITreeViewEditBox* create(const String& styleName = StringUtil::BLANK);
  11. static GUITreeViewEditBox* create(const GUIOptions& layoutOptions, const String& styleName = StringUtil::BLANK);
  12. Event<void()> onInputConfirmed;
  13. Event<void()> onInputCanceled;
  14. private:
  15. GUITreeViewEditBox(const String& styleName, const GUILayoutOptions& layoutOptions);
  16. virtual bool commandEvent(const GUICommandEvent& ev);
  17. };
  18. }