diff options
| author | sanikoyes <sanikoyes@163.com> | 2016-06-28 11:45:17 +0800 |
|---|---|---|
| committer | sanikoyes <sanikoyes@163.com> | 2016-06-28 11:45:17 +0800 |
| commit | c702981d5785386eea3ea81abca978b640cf6690 (patch) | |
| tree | f7ba977d95ccb1ab891fa5574b4f32fe5ad79e76 /scene/gui/line_edit.h | |
| parent | 081c400ac6481192d0df214fac9da0f3206c1db7 (diff) | |
| download | redot-engine-c702981d5785386eea3ea81abca978b640cf6690.tar.gz | |
add placeholder alpha property
Diffstat (limited to 'scene/gui/line_edit.h')
| -rw-r--r-- | scene/gui/line_edit.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/line_edit.h b/scene/gui/line_edit.h index 85706982e0..112e4ad55e 100644 --- a/scene/gui/line_edit.h +++ b/scene/gui/line_edit.h @@ -68,6 +68,7 @@ private: String undo_text; String text; String placeholder; + float placeholder_alpha; PopupMenu *menu; @@ -138,6 +139,8 @@ public: String get_text() const; void set_placeholder(String p_text); String get_placeholder() const; + void set_placeholder_alpha(float p_alpha); + float get_placeholder_alpha() const; void set_cursor_pos(int p_pos); int get_cursor_pos() const; void set_max_length(int p_max_length); |
