Skip to content

Commit

Permalink
exit button
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Sep 6, 2024
1 parent 36c347e commit d36e072
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 1 deletion.
59 changes: 59 additions & 0 deletions res/exit.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions res/main.res
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ img_home{
img_cog{
file{cog.svg}
}

img_exit{
file{exit.svg}
}
3 changes: 2 additions & 1 deletion src/bedsidemon/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ std::vector<utki::shared_ref<ruis::widget>> make_buttons(utki::shared_ref<ruis::
// clang-format off
return {
make_button("img_home"sv, "home_button"),
make_button("img_cog"sv, "settings_button")
make_button("img_cog"sv, "settings_button"),
make_button("img_exit"sv, "exit_button"),
};
// clang-format on
}
Expand Down

0 comments on commit d36e072

Please sign in to comment.