OMOTE/Platformio/OmoteUI/UIs/BasicRefactored/screen/HomeScreen.hpp

23 lines
471 B
C++
Raw Normal View History

2023-10-22 14:35:49 -04:00
#pragma once
#include "HardwareAbstract.hpp"
#include "PageBase.hpp"
#include "ScreenBase.hpp"
#include "TabView.hpp"
#include <string>
namespace UI::Screen {
class HomeScreen : public Base {
public:
HomeScreen();
void SetBgColor(lv_color_t value,
lv_style_selector_t selector = LV_PART_MAIN) override;
protected:
bool OnKeyEvent(KeyPressAbstract::KeyEvent aKeyEvent) override;
private:
Page::TabView *mTabView;
};
} // namespace UI::Screen