summaryrefslogtreecommitdiff
path: root/fluid/Shortcut_Button.h
diff options
context:
space:
mode:
Diffstat (limited to 'fluid/Shortcut_Button.h')
-rw-r--r--fluid/Shortcut_Button.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fluid/Shortcut_Button.h b/fluid/Shortcut_Button.h
new file mode 100644
index 000000000..eea4ddc70
--- /dev/null
+++ b/fluid/Shortcut_Button.h
@@ -0,0 +1,10 @@
+#include <FL/Fl_Button.H>
+
+class Shortcut_Button : public Fl_Button {
+public:
+ int svalue;
+ int handle(int);
+ void draw();
+ Shortcut_Button(int x, int y, int w, int h, const char* l = 0) :
+ Fl_Button(x,y,w,h,l) {svalue = 0;}
+};