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

31 lines
709 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 OnTouchEvent(Pinetime::Applications::TouchEvents event) override;
2021-04-24 09:00:45 +00:00
private:
Controllers::Settings& settingsController;
ScreenList<3> screens;
std::unique_ptr<Screen> CreateScreen1();
std::unique_ptr<Screen> CreateScreen2();
std::unique_ptr<Screen> CreateScreen3();
};
}
}
}