49 DefaultFontSize, BodyFontSize, ShieldColor, ColorText,
50 ColorBG, ColorButton);
54CONSTANT(RightLabelEdge, RightEdgeOfScreen() - BorderWidth);
55CONSTANT(LabelWidth, RightLabelEdge - BorderWidth);
58CONSTANT(ButtonPositionY, BottomOfScreen() - ButtonHeight);
67Position(BorderWidth, IconShieldDistanceFromTop);
90Position(RightEdgeOfScreen() - ButtonWidth - BorderWidth,
91 ButtonPositionY + ButtonLabelDistance);
105 ButtonHeight - BorderWidth - (LabelBorderZone *
dps(2)));
106Position(RightEdgeOfScreen() - ButtonWidth - BorderWidth + LabelBorderZone,
107 ButtonPositionY + ButtonLabelDistance + LabelBorderZone);
121 ButtonHeight - BorderWidth - (LabelBorderZone *
dps(2)));
123 ButtonPositionY + ButtonLabelDistance + LabelBorderZone);
139 "This confirmation provides an extra layer of security for the action "
155 "12345678901234567890123456789012345678901234567890123456789012345678901234"
162NEW_LAYOUT(ConfUILayout, IconShield, LabelTitle, LabelHint, LabelBody, IconOk,
163 LabelOK, LabelCancel);
unsigned char RobotoRegular[]
unsigned char RobotoMedium[]
unsigned int RobotoMedium_length
unsigned int Shield_length
unsigned int RobotoRegular_length
#define FONT(name)
Definition: label.h:162
#define HeightFromLines
Definition: label.h:145
TranslationId
Definition: ConfirmationUITranslations.h:34
VerticallyCentered
Definition: layout.h:83
HorizontalTextAlignment(Alignment::CENTER)
NEW_PARAMETER_SET(ConfUIParameters, RightEdgeOfScreen, BottomOfScreen, DefaultFontSize, BodyFontSize, ShieldColor, ColorText, ColorBG, ColorButton)
TextID(TEXT_ID(TranslationId::TITLE))
VerticalTextAlignment(Alignment::CENTER)
RoundBottomLeft
Definition: layout.h:95
Dimension(LabelWidth, HeightFromLines)
RoundTopLeft
Definition: layout.h:94
DECLARE_PARAMETER(RightEdgeOfScreen)
Alignment
Definition: label.h:28
ButtonColor(ColorButton())
NEW_LAYOUT(ConfUILayout, IconShield, LabelTitle, LabelHint, LabelBody, IconOk, LabelOK, LabelCancel)
uint32_t Color
Definition: utils.h:594
Position(BorderWidth, IconShieldDistanceFromTop)
RoundBottomRight
Definition: layout.h:97
DECLARE_FONT_BUFFER(RobotoMedium, RobotoMedium, RobotoMedium_length)
DECLARE_TYPED_PARAMETER(ShieldColor, ::teeui::Color)
CONSTANT(BorderWidth, dps(24))
Coordinate< dp > dps
Definition: utils.h:527
RoundTopRight
Definition: layout.h:96
#define TEXT_ID(textId)
Definition: utils.h:1010
#define BOTTOM_EDGE_OF(name)
Definition: utils.h:994
#define BEGIN_ELEMENT(name, type,...)
Definition: utils.h:978