diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-11-04 20:37:26 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-11-04 20:37:26 +0100 |
commit | 26a9e750dc6f1313413524cd97e60a94e25a56ec (patch) | |
tree | ce651746328b2a2137d367d2affb82865cf0760f /src/gui/ScrollablePage.cpp | |
parent | 89512313b263c9b5250b8d51e5e6eb04d0ac43e7 (diff) |
Add option to save replay/recording to a folder with the name of the game
Diffstat (limited to 'src/gui/ScrollablePage.cpp')
-rw-r--r-- | src/gui/ScrollablePage.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/ScrollablePage.cpp b/src/gui/ScrollablePage.cpp index 09439e9..74dd715 100644 --- a/src/gui/ScrollablePage.cpp +++ b/src/gui/ScrollablePage.cpp @@ -93,6 +93,7 @@ namespace gsr { for(size_t i = 0; i < widgets.size(); ++i) { auto &widget = widgets[i]; if(widget.get() != selected_widget) { + // TODO: Do not draw if scrolled out of view widget->draw(window, offset); // TODO: Create a widget function to get the render area instead, which each widget should set (position + offset as start, and position + offset + size as end), this has to be done in the widgets to ensure that recursive rendering has correct position. |