summaryrefslogtreecommitdiff
path: root/scene/gui/line_edit.h
diff options
context:
space:
mode:
authorCevantime <thibaulttruffert@hotmail.com>2020-06-21 19:15:57 +0200
committerCevantime <thibaulttruffert@hotmail.com>2020-07-15 13:00:25 +0200
commitdc46bc885785831a86e8e8f72c7b65c1f3815785 (patch)
tree6bc165d90fbda9f91a3950a9aa90812bef87998f /scene/gui/line_edit.h
parent81a47d033ddb506b103df4d42e0e8feb7b50939a (diff)
add force caret display to line edit
Diffstat (limited to 'scene/gui/line_edit.h')
-rw-r--r--scene/gui/line_edit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h
index d31a5cb8d8..08bf419f36 100644
--- a/scene/gui/line_edit.h
+++ b/scene/gui/line_edit.h
@@ -134,6 +134,7 @@ private:
void update_placeholder_width();
bool caret_blink_enabled;
+ bool caret_force_displayed;
bool draw_caret;
bool window_has_focus;
@@ -201,6 +202,9 @@ public:
float cursor_get_blink_speed() const;
void cursor_set_blink_speed(const float p_speed);
+ bool cursor_get_force_displayed() const;
+ void cursor_set_force_displayed(const bool p_enabled);
+
void copy_text();
void cut_text();
void paste_text();