mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 21:41:50 +00:00
TextBox new properties
This commit is contained in:
parent
cae0ceb8a3
commit
c68e89038f
5 changed files with 55 additions and 0 deletions
|
|
@ -118,6 +118,10 @@ namespace gui {
|
|||
virtual void setTextConsumer(wstringconsumer consumer);
|
||||
virtual void setTextValidator(wstringchecker validator);
|
||||
virtual bool isFocuskeeper() const override {return true;}
|
||||
virtual void setFocusedColor(glm::vec4 color);
|
||||
virtual glm::vec4 getFocusedColor() const;
|
||||
virtual void setErrorColor(glm::vec4 color);
|
||||
virtual glm::vec4 getErrorColor() const;
|
||||
/* Get TextBox content text or placeholder if empty */
|
||||
virtual std::wstring getText() const;
|
||||
/* Set TextBox content text */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue