uEZ GUI Start Here Guide
UEZGUI-1788-43WQR
Rev. 1.11 Aug 31, 2016
Page 25
#define
ID_WINDOW (GUI_I 0x00)
#define
ID_TITLE_TEXT (GUI_I 0x01)
#define
ID_TEMP_TEXT (GUI_I 0x02)
#define
ID_BACK_BUTTON (GUI_I 0x03)
// ID
#define
WINDOW_XSIZE (UEZ_LCD_DISPLAY_WIDTH)
#define
WINDOW_YSIZE (UEZ_LCD_DISPLAY_HEIGHT)
#define
WINDOW_XPOS (0)
#define
WINDOW_YPOS (0)
#define
TITLE_TEXT_XSIZE (WINDOW_XSIZE)
#define
TITLE_TEXT_YSIZE ((WINDOW_YSIZE/10))
#define
TITLE_TEXT_XPOS (0)
#define
TITLE_TEXT_YPOS (0)
#define
TEMP_TEXT_XSIZE (WINDOW_XSIZE/3)
#define
TEMP_TEXT_YSIZE ((WINDOW_YSIZE/5))
#define
TEMP_TEXT_XPOS (WINDOW_XSIZE/3)
#define
TEMP_TEXT_YPOS ((WINDOW_YSIZE/10)*4)
#define
BACK_BUTTON_XSIZE (WINDOW_XSIZE/5)
// Properties
#define
BACK_BUTTON_YSIZE ((WINDOW_YSIZE/6))
#define
BACK_BUTTON_XPOS (0)
#define
BACK_BUTTON_YPOS ((WINDOW_YSIZE/6)*5)