// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #pragma once #include #include #include #include namespace gui { namespace lighting { constexpr inline auto AMBIENT_LIGHT_TIMER_MS = 2000; constexpr inline auto LIGHT_CONTROL_STEP = 20; } // namespace lighting class DisplayLightWindow : public BaseSettingsWindow { public: DisplayLightWindow(app::ApplicationCommon *app, app::settingsInterface::ScreenLightSettings *screenLightSettings); #if DEVELOPER_SETTINGS_OPTIONS == 1 ~DisplayLightWindow(); #endif // DEVELOPER_SETTINGS_OPTIONS private: auto buildOptionsList() -> std::list