mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-06-12 18:45:43 -04:00
Added base Bell OnBoarding application. Bell list options refactor.Language selection, setting and finalize windows.
29 lines
950 B
C++
29 lines
950 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 "ApplicationCommon.hpp"
|
|
#include "AppWindow.hpp"
|
|
#include "OptionsList.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
/// @brief Options window generating various options based on provided Option list.
|
|
///
|
|
/// Options GUI window with ListView populated accordingly to provided options in window constructor.
|
|
///
|
|
|
|
class OptionWindow : public AppWindow, protected OptionsList
|
|
{
|
|
public:
|
|
OptionWindow(app::ApplicationCommon *app, const std::string &name);
|
|
OptionWindow(app::ApplicationCommon *app, const std::string &name, std::list<Option> options);
|
|
|
|
void onBeforeShow(ShowMode mode, SwitchData *data) override;
|
|
void onClose(CloseReason reason) override;
|
|
void rebuild() override;
|
|
void buildInterface() override;
|
|
};
|
|
}; // namespace gui
|