diff options
author | corvid <corvid@lavabit.com> | 2012-11-24 20:09:42 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2012-11-24 20:09:42 +0000 |
commit | fae8ba37e74976b59ab41932d3b2c2165c688d91 (patch) | |
tree | 337c2de438120671b0a50380bed71057c60e64cc /dw/fltkui.hh | |
parent | d9bccd6d15eb017964fbdfc3aba428dfbc4764b2 (diff) |
reset for <select>
Diffstat (limited to 'dw/fltkui.hh')
-rw-r--r-- | dw/fltkui.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dw/fltkui.hh b/dw/fltkui.hh index ff927c80..a65d4930 100644 --- a/dw/fltkui.hh +++ b/dw/fltkui.hh @@ -445,6 +445,7 @@ template <class I> class FltkSelectionResource: protected: virtual bool setSelectedItems() { return false; } virtual void addItem (const char *str, bool enabled, bool selected) = 0; + virtual void setItem (int index, bool selected) = 0; virtual void pushGroup (const char *name, bool enabled) = 0; virtual void popGroup () = 0; public: @@ -475,6 +476,7 @@ public: ~FltkOptionMenuResource (); void addItem (const char *str, bool enabled, bool selected); + void setItem (int index, bool selected); void pushGroup (const char *name, bool enabled); void popGroup (); @@ -506,6 +508,7 @@ public: ~FltkListResource (); void addItem (const char *str, bool enabled, bool selected); + void setItem (int index, bool selected); void pushGroup (const char *name, bool enabled); void popGroup (); |