diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-09 00:13:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 00:13:25 +0100 |
commit | d9a74fd07f34ac756e6652156b14bb7acd13038f (patch) | |
tree | bdc82d37ce00b9b6d4316dad5724e475cf4733dd /scene/gui/line_edit.h | |
parent | e6ffb10bcd1aa6c1cec17e25293c7eb09bc24df2 (diff) | |
parent | 3f33e1d7d6d07620487758c7a850ec40ce3aafdf (diff) |
Merge pull request #54372 from bruvzg/text_edit_ui
Diffstat (limited to 'scene/gui/line_edit.h')
-rw-r--r-- | scene/gui/line_edit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h index 3364e02e01..2ec7f08865 100644 --- a/scene/gui/line_edit.h +++ b/scene/gui/line_edit.h @@ -130,6 +130,7 @@ private: bool middle_mouse_paste_enabled = true; Ref<Texture2D> right_icon; + bool flat = false; struct Selection { int begin = 0; @@ -332,6 +333,9 @@ public: void set_right_icon(const Ref<Texture2D> &p_icon); Ref<Texture2D> get_right_icon(); + void set_flat(bool p_enabled); + bool is_flat() const; + virtual bool is_text_field() const override; void show_virtual_keyboard(); |