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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
// 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>
// CALL LOG STYLE
namespace callLogStyle
{
namespace strings
{
inline constexpr auto privateNumber = "app_call_private_number";
}
// DETAILS WINDOW
namespace detailsWindow
{
constexpr uint32_t default_x = style::window::default_left_margin;
constexpr uint32_t default_w =
style::window_width - style::window::default_left_margin - style::window::default_right_margin;
namespace information
{
namespace label
{
constexpr uint32_t x = default_x;
constexpr uint32_t y = 111;
constexpr uint32_t w = default_w;
} // namespace label
namespace number
{
constexpr uint32_t x = default_x;
constexpr uint32_t y = 174;
constexpr uint32_t w = default_w;
} // namespace number
namespace imgs
{
constexpr uint32_t y = 162;
constexpr uint32_t w = 55;
constexpr uint32_t h = 55;
namespace call
{
constexpr uint32_t x = 317;
namespace icon
{
constexpr uint32_t x = 11;
constexpr uint32_t y = 12;
} // namespace icon
} // namespace call
namespace sms
{
constexpr uint32_t x = 389;
namespace icon
{
constexpr uint32_t x = 11;
constexpr uint32_t y = 12;
} // namespace icon
} // namespace sms
} // namespace imgs
} // namespace information
namespace type
{
namespace label
{
constexpr uint32_t x = default_x;
constexpr uint32_t y = 222;
constexpr uint32_t w = style::window_width / 2 - x;
} // namespace label
namespace img
{
const uint32_t x = default_x;
const uint32_t y = 285;
} // namespace img
namespace data
{
constexpr uint32_t x = 70;
constexpr uint32_t y = 285;
constexpr uint32_t w = style::window_width / 2 - x;
} // namespace data
} // namespace type
namespace duration
{
namespace label
{
constexpr uint32_t x = 281;
constexpr uint32_t y = 222;
constexpr uint32_t w = style::window_width - x - style::window::default_right_margin;
} // namespace label
namespace data
{
constexpr uint32_t x = 281;
constexpr uint32_t y = 285;
constexpr uint32_t w = style::window_width / 2 - style::window::default_right_margin;
} // namespace data
} // namespace duration
namespace date
{
namespace label
{
constexpr uint32_t x = default_x;
constexpr uint32_t y = 333;
constexpr uint32_t w = default_w;
} // namespace label
namespace dataDay
{
constexpr uint32_t x = default_x;
constexpr uint32_t y = 396;
constexpr uint32_t w = default_w;
} // namespace dataDay
namespace dataDate
{
constexpr uint32_t x = default_x;
constexpr uint32_t y = dataDay::y + style::window::label::small_h;
constexpr uint32_t w = default_w;
} // namespace dataDate
} // namespace date
} // namespace detailsWindow
// MAIN WINDOW
namespace mainWindow
{
constexpr uint32_t x = style::window::default_left_margin;
constexpr uint32_t y = style::header::height;
constexpr uint32_t w = style::listview::body_width_with_scroll;
constexpr uint32_t h = style::window_height - y - style::footer::height;
} // namespace mainWindow
} // namespace callLogStyle