~aleteoryx/muditaos

ref: b996cff40c6b0b34dfd72ab1a5bf14561963005b muditaos/module-apps/application-settings-new/windows/WallpaperWindow.hpp -rw-r--r-- 673 bytes
b996cff4 — Tomasz Langowski [EGD-5176] Documentation update for gui item and gridlayout 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// 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"

namespace gui
{
    class CheckBoxWithLabel;

    class WallpaperWindow : public BaseSettingsWindow
    {
      public:
        WallpaperWindow(app::Application *app);

      private:
        void switchHandler(bool &onOffSwitch);
        auto buildOptionsList() -> std::list<Option> override;

        bool isWallpaperLogoSwitchOn   = false;
        bool isWallpaperClockSwitchOn  = false;
        bool isWallpaperQuotesSwitchOn = false;

        Item *quotes;
    };
} // namespace gui