diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-07 21:27:36 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-07 21:27:36 +0200 |
commit | 1a49f86e9841035fe670f6b42a3c988f737267d2 (patch) | |
tree | 9059935a17d2599ae9f366975472314a9c89e052 /include/gui/CheckBox.hpp | |
parent | b709805cfac4d1fe1bfe28e497a3e48e224372a8 (diff) |
Add settings icon, close window when pressing the close button
Diffstat (limited to 'include/gui/CheckBox.hpp')
-rw-r--r-- | include/gui/CheckBox.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/gui/CheckBox.hpp b/include/gui/CheckBox.hpp index c91b947..19ffaf6 100644 --- a/include/gui/CheckBox.hpp +++ b/include/gui/CheckBox.hpp @@ -16,6 +16,8 @@ namespace gsr { void draw(mgl::Window &window, mgl::vec2f offset) override; mgl::vec2f get_size() override; + + void set_checked(bool checked); bool is_checked() const; private: mgl::vec2f get_checkbox_size(); |