diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-12-09 16:29:36 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-12-09 16:29:36 +0100 |
commit | f38661593795e51e45e2dc2ead8a7bf897d226f6 (patch) | |
tree | b0fa0fbf02ec8fc0c624f1de4197350571677100 /include/gui/Utils.hpp | |
parent | f3565fdd77fb480575feec5de252466b093daf86 (diff) |
Start on global settings, add tint color setting
Diffstat (limited to 'include/gui/Utils.hpp')
-rw-r--r-- | include/gui/Utils.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/gui/Utils.hpp b/include/gui/Utils.hpp index 6963bc5..35b2bb7 100644 --- a/include/gui/Utils.hpp +++ b/include/gui/Utils.hpp @@ -15,4 +15,5 @@ namespace gsr { void draw_rectangle_outline(mgl::Window &window, mgl::vec2f pos, mgl::vec2f size, mgl::Color color, float border_size); 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); }
\ No newline at end of file |