28 static std::shared_ptr<UITextEntry>
Create(std::weak_ptr<Window> parent_window, std::string text =
"");
Signal on_edited
Definition: UITextEntry.hpp:32
Definition: DrawContext.hpp:65
Definition: UITextEntry.hpp:26
void SetDigitsOnly(bool d)
Definition: UITextEntry.hpp:43
std::string GetText() const
Definition: UITextEntry.hpp:35
virtual void CustomDraw(DrawContext &c) override
void SetDefaultText(std::string d)
Definition: UITextEntry.hpp:38
virtual void OnFocusChanged(bool) override
static std::shared_ptr< UITextEntry > Create(std::weak_ptr< Window > parent_window, std::string text="")
Signal on_edit_exitted
Definition: UITextEntry.hpp:31
void SetFontSize(int size)
void SetText(std::string text)
Signal on_edit_complete
Definition: UITextEntry.hpp:30
virtual void OnKeyboard(KeyData) override