mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-20 23:17:35 -04:00
Refactored LockWindow TitleBar handling. Added Sim pin request block on lockedPhone. Added Sim info popup added when pin changed. Updated assets. Removed old PinLock structures. Cleared LockBox structures. Removed old settings sim setters. New CellularMessage adaptation. Cleared Lock structure.
53 lines
1.4 KiB
C++
53 lines
1.4 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 "gui/widgets/Style.hpp"
|
|
|
|
namespace style::window::lock_input
|
|
{
|
|
namespace image
|
|
{
|
|
constexpr inline auto wh = 128;
|
|
constexpr inline auto image_top_margin = 30;
|
|
constexpr inline auto image_bottom_margin = 33;
|
|
} // namespace image
|
|
|
|
namespace input_box
|
|
{
|
|
constexpr inline auto w = style::window::default_body_width;
|
|
constexpr inline auto h = 60;
|
|
constexpr inline auto label_margin = 10;
|
|
constexpr inline auto top_margin = 30;
|
|
} // namespace pin_label
|
|
|
|
namespace ice
|
|
{
|
|
constexpr inline auto x = style::window::default_left_margin;
|
|
constexpr inline auto y = 60;
|
|
constexpr inline auto w = 60;
|
|
constexpr inline auto h = 50;
|
|
|
|
constexpr inline auto margin = 3;
|
|
|
|
namespace text
|
|
{
|
|
constexpr inline auto w = 40;
|
|
}
|
|
|
|
} // namespace ice
|
|
|
|
namespace primary_text
|
|
{
|
|
constexpr inline auto h = 60;
|
|
} // namespace primary_text
|
|
|
|
namespace secondary_text
|
|
{
|
|
constexpr inline auto top_margin = 30;
|
|
constexpr inline auto h = 90;
|
|
} // namespace secondary_text
|
|
|
|
} // namespace style::window::lock_input
|