~aleteoryx/muditaos

ref: 4201fcaea605088b20395e59d51700ad33a1e426 muditaos/module-apps/application-desktop/data/DesktopStyle.hpp -rw-r--r-- 1.3 KiB
4201fcae — DariuszSabala [BH-384] Turned application desktop to library 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
// 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>

namespace style::desktop
{
    namespace timeLabel
    {
        inline constexpr auto X      = 0;
        inline constexpr auto Y      = 106;
        inline constexpr auto Width  = style::window_width;
        inline constexpr auto Height = 96;

    } // namespace timeLabel

    namespace dayLabel
    {
        inline constexpr auto X      = 0;
        inline constexpr auto Y      = 204;
        inline constexpr auto Width  = style::window_width;
        inline constexpr auto Height = 51;

    } // namespace dayLabel

    namespace image
    {
        inline constexpr uint32_t x = 176;
        inline constexpr uint32_t y = 132;

    } // namespace image

    namespace textupdate
    {
        inline constexpr uint32_t x = 120;
        inline constexpr uint32_t y = 250;
        inline constexpr uint32_t w = 250;
        inline constexpr uint32_t h = 100;

    } // namespace textupdate

    namespace percentlabel
    {
        inline constexpr uint32_t x = 0;
        inline constexpr uint32_t y = 450;
        inline constexpr uint32_t w = style::window_width;
        inline constexpr uint32_t h = 100;

    } // namespace percentlabel

} // namespace style::desktop