mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-02-07 04:42:15 -05:00
26 lines
802 B
C++
26 lines
802 B
C++
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include "BaseSettingsWindow.hpp"
|
|
#include <module-apps/application-settings-new/ApplicationSettings.hpp>
|
|
|
|
namespace gui
|
|
{
|
|
class KeypadLightWindow : public BaseSettingsWindow
|
|
{
|
|
public:
|
|
KeypadLightWindow(app::Application *app, app::settingsInterface::KeypdBacklightSettings *settings);
|
|
|
|
private:
|
|
app::settingsInterface::KeypdBacklightSettings *keypadLightSettings;
|
|
void switchHandler(bool &onOffSwitch);
|
|
std::list<Option> buildOptionsList() override;
|
|
|
|
bool isAlwaysOnSwitchOn = false;
|
|
bool isActiveSwitchOn = false;
|
|
bool isOffSwitchOn = false;
|
|
};
|
|
} // namespace gui
|