diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-18 19:13:16 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-18 19:13:16 +0100 |
commit | dc70bd27f217413bbda33b4092a3a52a6f1905d5 (patch) | |
tree | 15b8316a8f5ec0bfa01d92451ac2d56174b0a763 /include/gui/Utils.hpp | |
parent | 44e7f57d21680de28a5ccd7b6556697666061fe7 (diff) |
Add controller button icons in hotkeys, separate keyboard hotkeys and controller hotkeys
Diffstat (limited to 'include/gui/Utils.hpp')
-rw-r--r-- | include/gui/Utils.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/gui/Utils.hpp b/include/gui/Utils.hpp index 35b2bb7..542e4ea 100644 --- a/include/gui/Utils.hpp +++ b/include/gui/Utils.hpp @@ -3,9 +3,6 @@ #include <mglpp/system/vec.hpp> #include <mglpp/graphics/Color.hpp> -#include <functional> -#include <string_view> - namespace mgl { class Window; } @@ -16,4 +13,5 @@ namespace gsr { double get_frame_delta_seconds(); void set_frame_delta_seconds(double frame_delta); mgl::vec2f scale_keep_aspect_ratio(mgl::vec2f from, mgl::vec2f to); + mgl::vec2f clamp_keep_aspect_ratio(mgl::vec2f from, mgl::vec2f to); }
\ No newline at end of file |