mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-21 05:24:22 -04:00
Added new OnPageElement listView rebuild type. Created new options refresh. Refactored DisplayLight Setting. BarGraph rector. Added step render limit for small radius arcs.
30 lines
784 B
C++
30 lines
784 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
#include "Application.hpp"
|
|
#include "windows/AppWindow.hpp"
|
|
#include "windows/OptionWindow.hpp"
|
|
#include <service-db/Settings.hpp>
|
|
|
|
namespace gui
|
|
{
|
|
class BaseSettingsWindow : public OptionWindow
|
|
{
|
|
public:
|
|
BaseSettingsWindow(app::Application *app, std::string name);
|
|
|
|
void rebuild() override;
|
|
|
|
void rebuildOptionList();
|
|
void refreshOptionsList();
|
|
void refreshOptionsList(unsigned int pageIndex);
|
|
|
|
void onBeforeShow(ShowMode mode, SwitchData *data) override;
|
|
|
|
protected:
|
|
virtual auto buildOptionsList() -> std::list<gui::Option> = 0;
|
|
};
|
|
} // namespace gui
|