~aleteoryx/muditaos

ref: e3a057e15cb7884b2bc7ad681bcab5bdaeb68098 muditaos/module-apps/application-alarm-clock/widgets/AlarmOptionsItem.hpp -rw-r--r-- 687 bytes
e3a057e1 — Przemyslaw Brudny [EGD-7310] Alarm GUI and features update 4 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-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#pragma once

#include "AlarmInternalListItem.hpp"

#include <Label.hpp>
#include <BoxLayout.hpp>
#include <widgets/TextSpinnerBox.hpp>

namespace gui
{
    class AlarmOptionsItem : public AlarmInternalListItem
    {
      public:
        explicit AlarmOptionsItem(const std::string &description, const std::vector<UTF8> &options = {});

      protected:
        gui::TextSpinnerBox *optionSpinner = nullptr;

      private:
        gui::VBox *vBox              = nullptr;
        gui::Label *descriptionLabel = nullptr;
    };

} /* namespace gui */