aboutsummaryrefslogtreecommitdiff
path: root/include/gui/GsrPage.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2025-02-22 13:31:51 +0100
committerdec05eba <dec05eba@protonmail.com>2025-02-22 13:31:51 +0100
commit189736c1a96a1ad0e571ad69f01039e96455011a (patch)
tree22e1a78f698209e2ce0ef462a5d281b5b3030897 /include/gui/GsrPage.hpp
parent8003c209fea16cd164817306cb33d46ac61a44f0 (diff)
Add option to take a screenshot (default hotkey: alt+f1)
Diffstat (limited to 'include/gui/GsrPage.hpp')
-rw-r--r--include/gui/GsrPage.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/gui/GsrPage.hpp b/include/gui/GsrPage.hpp
index 1d298f4..76c28a6 100644
--- a/include/gui/GsrPage.hpp
+++ b/include/gui/GsrPage.hpp
@@ -9,7 +9,7 @@
namespace gsr {
class GsrPage : public Page {
public:
- GsrPage();
+ GsrPage(const char *top_text, const char *bottom_text);
GsrPage(const GsrPage&) = delete;
GsrPage& operator=(const GsrPage&) = delete;
@@ -42,7 +42,8 @@ namespace gsr {
float margin_bottom_scale = 0.0f;
float margin_left_scale = 0.0f;
float margin_right_scale = 0.0f;
- mgl::Text label_text;
+ mgl::Text top_text;
+ mgl::Text bottom_text;
std::vector<ButtonItem> buttons;
};
} \ No newline at end of file