diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-06 03:11:43 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-06 03:11:43 +0200 |
commit | b778fd7cc654f28a2bfe0ff74537f120241b289c (patch) | |
tree | de1830608492356d818cce314094e2359a3a478a /src/gui/Page.cpp | |
parent | ae1897cf2ce6a447b253ffa8489b5c016a23fb41 (diff) |
Change fonts, nicer combobox, add/remove audio track button
Diffstat (limited to 'src/gui/Page.cpp')
-rw-r--r-- | src/gui/Page.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/Page.cpp b/src/gui/Page.cpp index 7d43c00..ae13d82 100644 --- a/src/gui/Page.cpp +++ b/src/gui/Page.cpp @@ -1,6 +1,15 @@ #include "../../include/gui/Page.hpp" namespace gsr { + // void Page::remove_child_widget(Widget *widget) { + // for(auto it = widgets.begin(), end = widgets.end(); it != end; ++it) { + // if(it->get() == widget) { + // widgets.erase(it); + // return; + // } + // } + // } + void Page::add_widget(std::unique_ptr<Widget> widget) { widget->parent_widget = this; widgets.push_back(std::move(widget)); |