mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-25 14:29:22 -05:00
This commit changes time format displayed on home screen and on status bar by adding new locale for 12H format, which excludes am/pm suffix. The new locale is set as new default format for time string. Minor: Grammar typo fixed.
41 lines
1005 B
C++
41 lines
1005 B
C++
// Copyright (c) 2017-2020, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#pragma once
|
|
|
|
namespace style::desktop
|
|
{
|
|
|
|
namespace notifications
|
|
{
|
|
constexpr auto SpanSize = 8;
|
|
constexpr auto DigitSize = 16;
|
|
constexpr auto IconWidth = 35;
|
|
constexpr auto TextMaxWidth = 250;
|
|
|
|
constexpr auto X = 0;
|
|
constexpr auto Y = 284;
|
|
constexpr auto Width = style::window_width;
|
|
|
|
}; // namespace notifications
|
|
|
|
namespace timeLabel
|
|
{
|
|
constexpr auto X = 0;
|
|
constexpr auto Y = 106;
|
|
constexpr auto Width = style::window_width;
|
|
constexpr auto Height = 96;
|
|
|
|
} // namespace timeLabel
|
|
|
|
namespace dayLabel
|
|
{
|
|
constexpr auto X = 0;
|
|
constexpr auto Y = 204;
|
|
constexpr auto Width = style::window_width;
|
|
constexpr auto Height = 51;
|
|
|
|
} // namespace dayLabel
|
|
|
|
} // namespace style::desktop
|