aboutsummaryrefslogtreecommitdiff
path: root/include/gui
diff options
context:
space:
mode:
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;
}