Files
MuditaOS/module-apps/application-calllog/data/CallLogStyle.hpp
Michał Kamoń 48f7cf171d [EGD-6755] Add updated notification icons
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.
2021-05-19 08:10:49 +02:00

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