17 #ifndef __TEES_TUI_H__ 18 #define __TEES_TUI_H__ 20 #include <tee_internal_api.h> 78 #define MT_INFO_MAX_EVENT 10 226 #define MIN_FONT_SIZE 20 230 #define MAX_FONT_SIZE 160 256 uint32_t *lastIndex);
289 uint8_t redColorValue,
290 uint8_t greenColorValue,
291 uint8_t blueColorValue,
uint32_t width
Definition: tees_tui.h:104
uint32_t height
Definition: tees_tui.h:105
uint32_t heightInch
Definition: tees_tui.h:55
uint32_t yPosition
Definition: tees_tui.h:71
uint32_t redBitsDepth
Definition: tees_tui.h:51
uint32_t grayscaleBitsDepth
Definition: tees_tui.h:50
TEES_Result TEES_TUICloseSession(void)
Releases TUI resources.
uint32_t resolution_width
Definition: tees_tui.h:56
TEES_Result TEES_TUIRefreshScreen(void)
Refresh display controller.
uint8_t num
Definition: tees_tui.h:94
TEES_Result TEES_TUIGetScreenInfo(TEES_TUIScreenInfo *screenInfo)
Retrieves information about the screen.
uint32_t widthInch
Definition: tees_tui.h:54
uint32_t xPosition
Definition: tees_tui.h:70
Definition: tees_tui.h:39
TEES_Result
TEES result codes.
Definition: tees_tui.h:31
TEES_Result TEES_TUIPrintString(char *inputText, uint32_t textSize, uint32_t posX, uint32_t posY, uint8_t redColorValue, uint8_t greenColorValue, uint8_t blueColorValue, bool rotation90)
Print string on the screen.
Definition: tees_tui.h:112
TEES_Result TEES_TUIDrawImageFromBuff(uint32_t posX, uint32_t posY, uint32_t W, uint32_t H, void *buff, uint32_t buf_size)
Draw unpacked bitmap from buffer on display.
Definition: tees_tui.h:35
Definition: tees_tui.h:43
TEES_TUITouchTypes
Internal, touch event type.
Definition: tees_tui.h:61
void * imageBuf
Definition: tees_tui.h:102
TEES_TUITouchTypes touchType
Definition: tees_tui.h:72
TEES_Result TEES_TUICheckTextFormat(char *inputText, uint32_t textSize, uint32_t *width, uint32_t *height, uint32_t *lastIndex)
Checks validity of the string and Retrieves its width and height.
Definition: tees_tui.h:34
Definition: tees_tui.h:33
Definition: tees_tui.h:32
Definition: tees_tui.h:42
#define MT_INFO_MAX_EVENT
Definition: tees_tui.h:78
uint32_t use_png_alpha
Definition: tees_tui.h:106
TEES_Result TEES_TUIDrawImage(TEES_TUIImage *image, uint32_t posX, uint32_t posY)
Display an image on screen.
TEES_Result TEES_TUIGetTouchEvent(TEES_TUITouchInfo *touchInfo, uint32_t timeout)
Get a touch event.
TEES_Result TEES_TUIOpenSession(void)
Claims an exclusive access to TUI resources.
Structure that represents information of touch event (touch position, touch type).
Definition: tees_tui.h:69
TEES_Result TEES_TUIGetBuffer(uint32_t *buffer, uint32_t posX, uint32_t posY, uint32_t W, uint32_t H)
Copy a rectangle from screen to buffer.
Definition: tees_tui.h:37
Structure that represents information on the requested screen.
Definition: tees_tui.h:49
Definition: tees_tui.h:111
TEES_Result TEES_TUIDrawImageToBuff(TEES_TUIImage *image, void *buff, uint32_t *buf_size)
Unpack png picture to bitmap in buffer.
uint32_t xPosition
Definition: tees_tui.h:85
Definition: tees_tui.h:41
Structure that represents all the information of touch events.
Definition: tees_tui.h:93
uint32_t blueBitsDepth
Definition: tees_tui.h:53
Definition: tees_tui.h:38
Definition: tees_tui.h:36
Structure that represents information of touch event (touch position, touch type).
Definition: tees_tui.h:83
Definition: tees_tui.h:62
TEES_bool
Internal, bool type.
Definition: tees_tui.h:110
uint8_t finger
Definition: tees_tui.h:84
Definition: tees_tui.h:40
uint32_t resolution_height
Definition: tees_tui.h:57
TEES_TUITouchTypes touchType
Definition: tees_tui.h:87
TEES_Result TEES_TUIGetMTEvent(TEES_TUI_MT_Info *touchInfo, uint32_t timeout)
Get Multi touch event events.
Definition: tees_tui.h:63
uint32_t greenBitsDepth
Definition: tees_tui.h:52
TEES_Result TEES_TUIDrawBuffer(uint32_t *buffer, uint32_t posX, uint32_t posY, uint32_t W, uint32_t H)
Copy a rectangle from buffer to screen.
Structure that represents properties of image and buffers.
Definition: tees_tui.h:101
size_t imageLength
Definition: tees_tui.h:103
uint32_t yPosition
Definition: tees_tui.h:86