From b778fd7cc654f28a2bfe0ff74537f120241b289c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 6 Aug 2024 03:11:43 +0200 Subject: Change fonts, nicer combobox, add/remove audio track button --- src/gui/Page.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/gui/Page.cpp') 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->parent_widget = this; widgets.push_back(std::move(widget)); -- cgit v1.2.3