mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-20 23:17:35 -04:00
This PR adds/updates notification icons to latest version provided by designs. Also this PR provides new implementation for CallLogDetailsWindow. The window was using one of the icons updated. To avoid making temporary corrections on the icon's hardcoded (x,y,w,h) properties, the entire window was redesign to use up-to-date ModuitaOS GUI features.
52 lines
1.6 KiB
C++
52 lines
1.6 KiB
C++
// 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 inline auto x = style::window::bottomBar::leftMargin;
|
|
constexpr inline auto y = style::header::height;
|
|
constexpr inline auto w = style::window_width - 2 * x;
|
|
constexpr inline auto h = style::window::default_body_height;
|
|
|
|
namespace widget
|
|
{
|
|
constexpr inline auto h = style::widgets::h;
|
|
constexpr inline auto smallH = style::window::label::small_h;
|
|
} // namespace widget
|
|
|
|
namespace callData
|
|
{
|
|
constexpr inline auto columns = 2;
|
|
constexpr inline auto rows = 2;
|
|
constexpr inline auto h = rows * widget::h;
|
|
} // namespace callData
|
|
|
|
namespace date
|
|
{
|
|
constexpr inline auto rows = 2;
|
|
constexpr inline auto h = rows * widget::smallH;
|
|
} // namespace date
|
|
} // namespace detailsWindow
|
|
|
|
// MAIN WINDOW
|
|
namespace mainWindow
|
|
{
|
|
constexpr inline uint32_t x = style::window::default_left_margin;
|
|
constexpr inline uint32_t y = style::header::height;
|
|
constexpr inline uint32_t w = style::listview::body_width_with_scroll;
|
|
constexpr inline uint32_t h = style::window_height - y - style::footer::height;
|
|
} // namespace mainWindow
|
|
|
|
} // namespace callLogStyle
|