1
0
Fork 0
mirror of https://github.com/HamletDuFromage/aio-switch-updater.git synced 2024-09-19 21:45:04 +01:00
AIO-switch-updater/source/main_frame.cpp

23 lines
632 B
C++
Raw Normal View History

2020-09-20 01:21:28 +01:00
#include "main_frame.hpp"
MainFrame::MainFrame() : TabFrame()
{
//this->setIcon(new Logo(LogoStyle::HEADER));
brls::Logger::debug("MainFrame");
setTitle(std::string(APP_TITLE) + " v" + std::string(APP_VERSION));
this->addTab("About", new AboutTab());
this->addSeparator();
this->addTab("Update CFW", new ListDownloadTab(cfw));
this->addTab("Update sigpatches", new ListDownloadTab(sigpatches));
this->addTab("Download firmwares", new ListDownloadTab(fw));
this->addTab("Download cheats", new ListDownloadTab(cheats));
this->addSeparator();
this->addTab("Tools", new ToolsTab());
}