diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2009-01-05 17:12:43 -0300 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2009-01-05 17:12:43 -0300 |
commit | f7fc073ac0de5326cffee25fd3e94c4d0b385136 (patch) | |
tree | ec3b76e4436c6266369151308155705c822b66ea /dw/fltkui.hh | |
parent | 58e0045791b62f309066e446a314cd26bc277a8b (diff) |
Added a right-click menu to the form submit button (allows to show hiddens)
Diffstat (limited to 'dw/fltkui.hh')
-rw-r--r-- | dw/fltkui.hh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dw/fltkui.hh b/dw/fltkui.hh index 4de99d27..3d19fc63 100644 --- a/dw/fltkui.hh +++ b/dw/fltkui.hh @@ -195,6 +195,8 @@ protected: virtual ::fltk::Widget *createNewWidget (core::Allocation *allocation) = 0; void setWidgetStyle (::fltk::Widget *widget, core::style::Style *style); + void setDisplayed (bool displayed); + bool displayed(); public: ~FltkResource (); @@ -298,15 +300,18 @@ private: int maxLength; bool password; const char *initText; + char *label; bool editable; static void widgetCallback (::fltk::Widget *widget, void *data); + void setDisplayed (bool displayed); protected: ::fltk::Widget *createNewWidget (core::Allocation *allocation); public: - FltkEntryResource (FltkPlatform *platform, int maxLength, bool password); + FltkEntryResource (FltkPlatform *platform, int maxLength, bool password, + const char *label); ~FltkEntryResource (); void sizeRequest (core::Requisition *requisition); |