diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-06 05:57:21 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-06 05:57:21 +0200 |
commit | 9f1fddc47ce10fbc65cdeaa70461063b9921434e (patch) | |
tree | e9a8f19fa2ea5445e62ac2f4f8a488c591805347 /include/gui | |
parent | b778fd7cc654f28a2bfe0ff74537f120241b289c (diff) |
Copy Config from gpu-screen-recorder-gtk, make it more modern and efficient with string_view and variant, use string_view in gsr info parsing
Diffstat (limited to 'include/gui')
-rw-r--r-- | include/gui/Button.hpp | 1 | ||||
-rw-r--r-- | include/gui/Utils.hpp | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/gui/Button.hpp b/include/gui/Button.hpp index 0a07423..4f8b404 100644 --- a/include/gui/Button.hpp +++ b/include/gui/Button.hpp @@ -24,7 +24,6 @@ namespace gsr { private: mgl::vec2f size; mgl::Color bg_color; - bool mouse_inside = false; mgl::Text text; }; }
\ No newline at end of file diff --git a/include/gui/Utils.hpp b/include/gui/Utils.hpp index fe5ee49..885bf3e 100644 --- a/include/gui/Utils.hpp +++ b/include/gui/Utils.hpp @@ -3,6 +3,9 @@ #include <mglpp/system/vec.hpp> #include <mglpp/graphics/Color.hpp> +#include <functional> +#include <string_view> + namespace mgl { class Window; } |