mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-04 21:27:30 -04:00
146 lines
3.1 KiB
C++
146 lines
3.1 KiB
C++
#pragma once
|
|
#include <Style.hpp>
|
|
|
|
// CALL LOG STYLE
|
|
namespace callLogStyle
|
|
{
|
|
|
|
// DELETE WINDOW
|
|
namespace deleteWindow
|
|
{
|
|
namespace question
|
|
{
|
|
constexpr uint32_t x = 68;
|
|
constexpr uint32_t y = 293;
|
|
constexpr uint32_t w = 323;
|
|
constexpr uint32_t h = 66;
|
|
} // namespace question
|
|
namespace options
|
|
{
|
|
constexpr uint32_t y = 415;
|
|
constexpr uint32_t w = 150;
|
|
constexpr uint32_t h = 75;
|
|
namespace yes
|
|
{
|
|
constexpr uint32_t x = 255;
|
|
}
|
|
namespace no
|
|
{
|
|
constexpr uint32_t x = 75;
|
|
}
|
|
} // namespace options
|
|
} // namespace deleteWindow
|
|
|
|
// 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 sms
|
|
{
|
|
constexpr uint32_t x = 389;
|
|
}
|
|
} // 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 leftMargin = 19;
|
|
constexpr uint32_t rightMargin = 17;
|
|
constexpr uint32_t x = leftMargin;
|
|
constexpr uint32_t y = 111;
|
|
constexpr uint32_t w = style::window_width - leftMargin - rightMargin;
|
|
constexpr uint32_t h = style::window_height - y;
|
|
} // namespace mainWindow
|
|
|
|
// OPTIONS WINDOW
|
|
namespace optionsWindow
|
|
{
|
|
namespace option
|
|
{
|
|
constexpr uint32_t x = 20;
|
|
constexpr uint32_t offset = 63;
|
|
} // namespace option
|
|
} // namespace optionsWindow
|
|
} // namespace callLogStyle
|