OMOTE/Platformio/OmoteUI/UIs/BasicRefactored/page/DisplaySettings.hpp
MatthewColvin 8d54d37978 Implement DropDown core widget using
templates to simplify creation and handling of
of data related to dropdowns
2023-10-12 21:13:04 -05:00

22 lines
539 B
C++

#pragma once
#include "DisplayAbstract.h"
#include "DropDown.hpp"
#include "PageBase.hpp"
namespace UI::Widget {
class BrightnessSlider;
} // namespace UI::Widget
namespace UI::Page {
class DisplaySettings : public Base {
public:
DisplaySettings(std::shared_ptr<DisplayAbstract> aDisplay);
std::string GetTitle() override { return "Display Settings"; };
private:
std::shared_ptr<DisplayAbstract> mDisplay;
Widget::BrightnessSlider *mBrightnessSlider;
Widget::DropDown<int> *mScreenTimeOutDropDown;
};
} // namespace UI::Page