aboutsummaryrefslogtreecommitdiff
path: root/include/gui
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-06 05:57:21 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-06 05:57:21 +0200
commit9f1fddc47ce10fbc65cdeaa70461063b9921434e (patch)
treee9a8f19fa2ea5445e62ac2f4f8a488c591805347 /include/gui
parentb778fd7cc654f28a2bfe0ff74537f120241b289c (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.hpp1
-rw-r--r--include/gui/Utils.hpp3
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;
}