aboutsummaryrefslogtreecommitdiff
path: root/include/Overlay.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/Overlay.hpp')
-rw-r--r--include/Overlay.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/Overlay.hpp b/include/Overlay.hpp
index 50a38cd..e802cd0 100644
--- a/include/Overlay.hpp
+++ b/include/Overlay.hpp
@@ -58,6 +58,8 @@ namespace gsr {
bool is_open() const;
bool should_exit(std::string &reason) const;
void exit();
+
+ const Config& get_config() const;
private:
void xi_setup();
void handle_xi_events();
@@ -65,7 +67,6 @@ namespace gsr {
void grab_mouse_and_keyboard();
void xi_setup_fake_cursor();
void xi_grab_all_devices();
- void xi_warp_pointer(mgl::vec2i position);
void close_gpu_screen_recorder_output();
@@ -124,7 +125,6 @@ namespace gsr {
mgl::Texture cursor_texture;
mgl::Sprite cursor_sprite;
mgl::vec2i cursor_hotspot;
- bool cursor_drawn = false;
WindowTexture window_texture;
PageStack page_stack;
@@ -166,5 +166,8 @@ namespace gsr {
bool do_exit = false;
std::string exit_reason;
+
+ mgl::vec2i window_size = { 1280, 720 };
+ mgl::vec2i window_pos = { 0, 0 };
};
} \ No newline at end of file