Add settings icon, close window when pressing the close button

This commit is contained in:
dec05eba
2024-08-07 21:27:36 +02:00
parent b709805cfa
commit 1a49f86e98
14 changed files with 177 additions and 21 deletions

View File

@@ -75,6 +75,10 @@ namespace gsr {
return mgl::vec2f(text_bounds.y, text_bounds.y).floor();
}
void CheckBox::set_checked(bool checked) {
this->checked = checked;
}
bool CheckBox::is_checked() const {
return checked;
}