summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2019-12-26 14:24:10 +0100
committerDave Davenport <qball@gmpclient.org>2019-12-26 14:24:10 +0100
commitf3bb043df09190063665176d4afb712340c4f716 (patch)
tree085937800baa7dcb2726f8133c2df4840a37f1a2 /include
parent2c56e5ca330bee411e2544ff8b10dc3330c4e8e9 (diff)
[Textbox] Add placeholder.
Fixes: #1020
Diffstat (limited to 'include')
-rw-r--r--include/widgets/textbox.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/widgets/textbox.h b/include/widgets/textbox.h
index 83831bfe..452be594 100644
--- a/include/widgets/textbox.h
+++ b/include/widgets/textbox.h
@@ -53,6 +53,8 @@ typedef struct
unsigned long flags;
short cursor;
char *text;
+ const char *placeholder;
+ int show_placeholder;
PangoLayout *layout;
int tbft;
int markup;