diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-06-06 21:37:26 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2016-06-06 21:37:26 +0200 |
commit | d5ed45c25651f04dc3972047d279c8eeb4ca9e51 (patch) | |
tree | c9a424cfca2af7922a981e5e89bf3d24725aadea /plugingui/checkbox.h | |
parent | 195a3d15e490465b64a19d2f09e8a2d8d81e2b2a (diff) |
New TexturedBox class.
Diffstat (limited to 'plugingui/checkbox.h')
-rw-r--r-- | plugingui/checkbox.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plugingui/checkbox.h b/plugingui/checkbox.h index 5c658a5..f26c8d6 100644 --- a/plugingui/checkbox.h +++ b/plugingui/checkbox.h @@ -29,7 +29,7 @@ #include <notifier.h> #include "widget.h" -#include "image.h" +#include "texture.h" namespace GUI { @@ -59,14 +59,14 @@ protected: private: void internalSetChecked(bool checked); - Image bg_on; - Image bg_off; - Image knob; + Texture bg_on; + Texture bg_off; + Texture knob; - bool state; - bool middle; - bool buttonDown = false; - bool inCheckbox = false; + bool state{false}; + bool middle{false}; + bool buttonDown{false}; + bool inCheckbox{false}; std::string _text; }; |