From d5ed45c25651f04dc3972047d279c8eeb4ca9e51 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 6 Jun 2016 21:37:26 +0200 Subject: New TexturedBox class. --- plugingui/checkbox.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'plugingui/checkbox.h') 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 #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; }; -- cgit v1.2.3