#include "OptionWindow.hpp" #include "Label.hpp" #include "Margins.hpp" #include "i18/i18.hpp" #include "service-appmgr/ApplicationManager.hpp" #include #include #include namespace style::option { const gui::Position arrow_position_x = 408; const gui::Position arrow_positon_y = 24; } // namespace style::option namespace gui { OptionWindow::OptionWindow(app::Application *app, const std::string &name) : AppWindow(app, name) { buildInterface(); } void OptionWindow::rebuild() {} Item *newOptionLabel(const Option &option) { return option.build(); } void OptionWindow::addOptionLabel(const UTF8 &text, std::function activatedCallback, Arrow arrow) { body->addWidget(Option(text, activatedCallback, arrow).build()); } void OptionWindow::addOptions(std::list