summaryrefslogtreecommitdiff
path: root/plugingui/checkbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/checkbox.h')
-rw-r--r--plugingui/checkbox.h16
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;
};