diff options
author | corvid <devnull@localhost> | 2015-02-02 22:23:45 +0000 |
---|---|---|
committer | corvid <devnull@localhost> | 2015-02-02 22:23:45 +0000 |
commit | 74a4875a72db4bbfd09432de7ed46445eccadb1a (patch) | |
tree | 965b2139bc7ba81c893ed5e666799349fd76d932 /dw/fltkui.hh | |
parent | 014a83d2f53cd49bd2540c53ee56f26d880fe2f5 (diff) |
TEXTAREA placeholder attribute
Diffstat (limited to 'dw/fltkui.hh')
-rw-r--r-- | dw/fltkui.hh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/dw/fltkui.hh b/dw/fltkui.hh index 0ceef003..09cdc978 100644 --- a/dw/fltkui.hh +++ b/dw/fltkui.hh @@ -331,17 +331,16 @@ class FltkMultiLineTextResource: public FltkSpecificResource <dw::core::ui::MultiLineTextResource> { private: - Fl_Text_Buffer *buffer; - char *text_copy; bool editable; int numCols, numRows; - + char *placeholder; protected: Fl_Widget *createNewWidget (core::Allocation *allocation); void setWidgetStyle (Fl_Widget *widget, core::style::Style *style); public: - FltkMultiLineTextResource (FltkPlatform *platform, int cols, int rows); + FltkMultiLineTextResource (FltkPlatform *platform, int cols, int rows, + const char *placeholder); ~FltkMultiLineTextResource (); void sizeRequest (core::Requisition *requisition); |