summaryrefslogtreecommitdiff
path: root/plugingui/checkbox.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-30 16:56:23 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-30 16:56:23 +0100
commitb4de68133243b3bf0756118b38d1459067f3be95 (patch)
treee19227fc83c26bbabe95c9682cca965a3dd3ee54 /plugingui/checkbox.h
parent8956a23c6ca7e0174b5ece50e43bb343884cae8b (diff)
Added 'middle' state of checkbox button to illustrate inbetween-states position.
Diffstat (limited to 'plugingui/checkbox.h')
-rw-r--r--plugingui/checkbox.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugingui/checkbox.h b/plugingui/checkbox.h
index 4b77964..1d6f9d6 100644
--- a/plugingui/checkbox.h
+++ b/plugingui/checkbox.h
@@ -28,6 +28,7 @@
#define __DRUMGIZMO_CHECKBOX_H__
#include "widget.h"
+#include "image.h"
namespace GUI {
@@ -52,7 +53,12 @@ public:
virtual void keyEvent(KeyEvent *e);
private:
+ Image bg_on;
+ Image bg_off;
+ Image knob;
+
bool state;
+ bool middle;
void (*handler)(void *);
void *ptr;