diff options
Diffstat (limited to 'plugingui/button.h')
-rw-r--r-- | plugingui/button.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/button.h b/plugingui/button.h index e5de6f1..f42dc99 100644 --- a/plugingui/button.h +++ b/plugingui/button.h @@ -58,7 +58,7 @@ protected: virtual void mouseEnterEvent() override; private: - bool in_button; + bool in_button{false}; Painter::Box box_up; Painter::Box box_down; @@ -72,8 +72,8 @@ private: Font font{":fontemboss.png"}; - state_t draw_state; - state_t button_state; + state_t draw_state{up}; + state_t button_state{up}; }; } // GUI:: |