From 874c68b4235eb459d94af9622f28bad91028b3c9 Mon Sep 17 00:00:00 2001 From: corvid Date: Thu, 22 Jan 2015 08:51:02 +0000 Subject: INPUT placeholder attribute --- dw/fltkui.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dw/fltkui.hh') diff --git a/dw/fltkui.hh b/dw/fltkui.hh index a0d2d7b7..0ceef003 100644 --- a/dw/fltkui.hh +++ b/dw/fltkui.hh @@ -301,6 +301,7 @@ private: const char *initText; char *label; int label_w; + char *placeholder; bool editable; static void widgetCallback (Fl_Widget *widget, void *data); @@ -312,7 +313,7 @@ protected: public: FltkEntryResource (FltkPlatform *platform, int size, bool password, - const char *label); + const char *label, const char *placeholder); ~FltkEntryResource (); void sizeRequest (core::Requisition *requisition); -- cgit v1.2.3