InfiniTime/src/displayapp/screens/settings/Settings.h

32 lines
694 B
C
Raw Normal View History

#pragma once
#include <cstdint>
#include "displayapp/screens/Screen.h"
#include "displayapp/screens/ScreenList.h"
namespace Pinetime {
namespace Applications {
namespace Screens {
class Settings : public Screen {
2021-04-24 09:00:45 +00:00
public:
Settings(DisplayApp* app, Pinetime::Controllers::Settings& settingsController);
~Settings() override;
bool Refresh() override;
bool OnTouchEvent(Pinetime::Applications::TouchEvents event) override;
2021-04-24 09:00:45 +00:00
private:
Controllers::Settings& settingsController;
ScreenList<2> screens;
std::unique_ptr<Screen> CreateScreen1();
std::unique_ptr<Screen> CreateScreen2();
};
}
}
}