BsGUITextField.h 647 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "BsEditorPrerequisites.h"
  3. #include "BsGUIFieldBase.h"
  4. namespace BansheeEditor
  5. {
  6. class BS_ED_EXPORT GUITextField : public TGUIField<GUITextField>
  7. {
  8. public:
  9. static const CM::String& getGUITypeName();
  10. GUITextField(const PrivatelyConstruct& dummy, const BS::GUIContent& labelContent, CM::UINT32 labelWidth,
  11. const CM::String& labelStyle, const CM::String& inputBoxStyle, const BS::GUILayoutOptions& layoutOptions, bool withLabel);
  12. CM::WString getValue() const;
  13. void setValue(const CM::WString& value);
  14. protected:
  15. virtual ~GUITextField();
  16. protected:
  17. BS::GUIInputBox* mInputBox;
  18. };
  19. }