OMOTE/Platformio/OmoteUI/UIs/BasicRefactored/BasicUI.cpp
MatthewColvin 52cb2e7ce2 Add background color setter in UIElement
Use main to spawn refacoredBasic UI
Start using new screen manager and
screen concepts
2023-09-16 16:44:15 -05:00

11 lines
No EOL
281 B
C++

#include "BasicUI.hpp"
#include "HomeScreen.hpp"
#include "ScreenManager.hpp"
using namespace UI;
BasicUI::BasicUI(std::shared_ptr<HardwareAbstract> aHardware)
: UIBase(aHardware) {
Screen::Manager::getInstance().pushScreen(
std::make_unique<Screen::HomeScreen>());
}