BsGUITextField.h 611 B

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