~aleteoryx/muditaos

ref: 667ba85f0823c0a987a6746eda32061c81fac730 muditaos/module-apps/apps-common/options/OptionStyle.hpp -rw-r--r-- 1.7 KiB
667ba85f — Lucjan Bryndza [CP-314] Allow genlittlefs to create empty part 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// 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 <Style.hpp>
#include <utf8/UTF8.hpp>

namespace gui::option
{
    enum class Arrow : bool
    {
        Disabled,
        Enabled
    };

    enum class ContactOperation
    {
        Add,
        Details,
        Edit
    };

    enum class SettingRightItem
    {
        Disabled,
        ArrowBlack,
        ArrowWhite,
        On,
        Off,
        Bt,
        Checked,
        SIM1,
        SIM2,
        Text
    };

    namespace window
    {
        inline constexpr gui::Length option_left_margin       = 10;
        inline constexpr gui::Length option_right_margin      = 10;
        inline constexpr gui::Length option_bottom_margin     = style::margins::big;
        inline constexpr gui::Length option_right_min_size    = 150;
        inline constexpr gui::Length option_rightbig_min_size = 350;
        inline constexpr uint32_t optionsListTopMargin        = 10U;
        inline constexpr uint32_t optionsListX                = style::window::default_left_margin;
        inline constexpr uint32_t optionsListY = style::window::default_vertical_pos + optionsListTopMargin;
        inline constexpr uint32_t optionsListW                = style::window::default_body_width;
        inline constexpr uint32_t optionsListH                = style::window::default_body_height;
    } // namespace window

    namespace bell::window
    {
        inline constexpr gui::Length option_bottom_margin = 9;
        inline constexpr gui::Length option_left_margin   = 10;
        inline constexpr gui::Length default_text_width   = 400;
    } // namespace bell::window

} // namespace gui::option