mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-20 15:07:17 -04:00
PageLayout removed and replaced with ListView. Options structure and namespace cleanup. Added ListView ScrollBar type and disable on construction.
26 lines
577 B
C++
26 lines
577 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 <SwitchData.hpp>
|
|
#include <Option.hpp>
|
|
#include <list>
|
|
|
|
namespace gui
|
|
{
|
|
class OptionsWindowOptions : public SwitchData
|
|
{
|
|
std::list<gui::Option> options;
|
|
|
|
public:
|
|
OptionsWindowOptions(std::list<gui::Option> options) : options(std::move(options))
|
|
{}
|
|
|
|
std::list<gui::Option> takeOptions()
|
|
{
|
|
return std::move(options);
|
|
}
|
|
};
|
|
}; // namespace gui
|