20 #include <tee_internal_api.h> 25 #define TEE_TUI_NUMBER_BUTTON_TYPES 6 116 bool requestedButtons[6];
145 uint8_t labelColor[3];
187 uint32_t *lastIndex);
209 uint32_t nbEntryFields,
320 bool closeTUISession,
322 uint32_t entryFieldCount,
323 TEE_TUIButtonType *selectedButton);
TEE_Result TEE_TUICheckTextFormat(char *text, uint32_t *width, uint32_t *height, uint32_t *lastIndex)
Check whether a given text can be rendered and retrieves information.
#define TEE_TUI_NUMBER_BUTTON_TYPES
Definition: tui.h:25
uint32_t buttonHeight
Definition: tui.h:126
TEE_Result TEE_TUIGetScreenInfo(TEE_TUIScreenOrientation screenOrientation, uint32_t nbEntryFields, TEE_TUIScreenInfo *screenInfo)
Retrieves information about the screen.
uint32_t minExpectedLength
Definition: tui.h:158
uint32_t maxEntryFieldLength
Definition: tui.h:144
char * text
Definition: tui.h:105
TEE_TUIImageSource source
Definition: tui.h:71
TEE_Result TEE_TUIInitSession(void)
Claims an exclusive access to TUI resources.
bool buttonImageCustom
Definition: tui.h:128
uint32_t blueBitsDepth
Definition: tui.h:138
bool buttonTextCustom
Definition: tui.h:127
Structure that represents screen information for a given orientation.
Definition: tui.h:134
char * text
Definition: tui.h:92
TEE_TUIImageSource
Image source.
Definition: tui.h:61
uint32_t grayscaleBitsDepth
Definition: tui.h:135
TEE_Result TEE_TUIDisplayScreen(TEE_TUIScreenConfiguration *screenConfiguration, bool closeTUISession, TEE_TUIEntryField *entryFields, uint32_t entryFieldCount, TEE_TUIButtonType *selectedButton)
Displays a TUI screen.
TEE_TUIImage image
Definition: tui.h:106
uint32_t height
Definition: tui.h:84
char * label
Definition: tui.h:155
Structure that defines the contents of the TA defined label area, which is provided to support TA bra...
Definition: tui.h:91
TEE_TUIScreenLabel label
Definition: tui.h:114
char * buffer
Definition: tui.h:160
uint32_t textXOffset
Definition: tui.h:93
Structure that defines a way to handle an image for label area and buttons.
Definition: tui.h:70
Structure that represents an entry field which acquires user inputs.
Definition: tui.h:154
uint32_t width
Definition: tui.h:83
TEE_TUIEntryFieldType type
Definition: tui.h:157
uint32_t greenBitsDepth
Definition: tui.h:137
TEE_TUIEntryFieldMode mode
Definition: tui.h:156
uint32_t heightInch
Definition: tui.h:140
TEE_TUIImage image
Definition: tui.h:96
uint32_t labelWidth
Definition: tui.h:146
TEE_TUIScreenOrientation
Screen orientation.
Definition: tui.h:45
TEE_TUIButtonType
Button type.
Definition: tui.h:51
uint32_t labelHeight
Definition: tui.h:147
TEE_TUIEntryFieldMode
Entry fields mode.
Definition: tui.h:32
uint32_t redBitsDepth
Definition: tui.h:136
uint32_t widthInch
Definition: tui.h:139
uint32_t imageYOffset
Definition: tui.h:98
TEE_TUIScreenOrientation screenOrientation
Definition: tui.h:113
char * buttonText
Definition: tui.h:124
uint32_t entryFieldLabelHeight
Definition: tui.h:143
uint32_t textYOffset
Definition: tui.h:94
Structure that enables configuration of a TUI screen.
Definition: tui.h:112
uint32_t imageXOffset
Definition: tui.h:97
uint32_t maxExpectedLength
Definition: tui.h:159
uint32_t maxEntryFields
Definition: tui.h:141
TEE_TUIEntryFieldType
Entry fields type.
Definition: tui.h:39
size_t bufferLength
Definition: tui.h:161
uint32_t entryFieldLabelWidth
Definition: tui.h:142
TEE_Result TEE_TUICloseSession(void)
Releases TUI resources.
uint32_t buttonWidth
Definition: tui.h:125