From b4de68133243b3bf0756118b38d1459067f3be95 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 30 Mar 2013 16:56:23 +0100 Subject: Added 'middle' state of checkbox button to illustrate inbetween-states position. --- plugingui/checkbox.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugingui/checkbox.h') 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; -- cgit v1.2.3