summaryrefslogtreecommitdiff
path: root/FL/Fl_Choice.H
diff options
context:
space:
mode:
Diffstat (limited to 'FL/Fl_Choice.H')
-rw-r--r--FL/Fl_Choice.H20
1 files changed, 20 insertions, 0 deletions
diff --git a/FL/Fl_Choice.H b/FL/Fl_Choice.H
new file mode 100644
index 000000000..8d5d3462f
--- /dev/null
+++ b/FL/Fl_Choice.H
@@ -0,0 +1,20 @@
+// Fl_Choice.H
+
+// Popup menu with last-picked item displayed in button
+
+#ifndef Fl_Choice_H
+#define Fl_Choice_H
+
+#include "Fl_Menu_.H"
+
+class Fl_Choice : public Fl_Menu_ {
+protected:
+ void draw();
+public:
+ int handle(int);
+ Fl_Choice(int,int,int,int,const char * = 0);
+ int value(int i);
+ int value() const {return Fl_Menu_::value();}
+};
+
+#endif