33 #ifndef GUI_HDR_PRIVATE_H 34 #define GUI_HDR_PRIVATE_H 48 #include "gui/gui_text.h" 51 #include "system/gui_sys.h" 53 #define GUI_SYS_MBOX_TYPE_TOUCH 0x01 54 #define GUI_SYS_MBOX_TYPE_KEYBOARD 0x02 55 #define GUI_SYS_MBOX_TYPE_REMOVE 0x03 56 #define GUI_SYS_MBOX_TYPE_TIMER 0x04 57 #define GUI_SYS_MBOX_TYPE_WIDGET_CREATED 0x05 58 #define GUI_SYS_MBOX_TYPE_INVALIDATE 0x06 100 #if GUI_CFG_USE_TOUCH || __DOXYGEN__ 107 #if GUI_CFG_USE_TRANSLATE 126 #define GUI_RECT_MATCH(h1x1, h1y1, h1x2, h1y2, h2x1, h2y1, h2x2, h2y2) \ 138 #define GUI_RECT_IS_INSIDE(h1x1, h1y1, h1x2, h1y2, h2x1, h2y1, h2x2, h2y2) (((h1x1) >= (h2x1)) && ((h1x2) <= (h2x2)) && ((h1y1) >= (h2y1)) && ((h1y2) <= (h2y2))) 145 #define __GH(x) ((struct gui_handle *)(x)) 151 #define GUI_ASSERTPARAMS(c) do { \ 152 if (!(c) || !(GUI.initialized)) { \ 153 GUI_DEBUG("Assert param failed in file %s and line %d\r\n", (const char *)__FILE__, (int)__LINE__); \ 162 #define GUI_ASSERTACTIVEWIN() do { \ 163 if (GUI.window_active == NULL) { \ 164 GUI_DEBUG("There is no active window for widget in file %s on line %d\r\n", (const char *)__FILE__, (int)__LINE__); \ GUI LCD structure.
Definition: gui_defs.h:389
Single touch data structure.
Definition: gui_defs.h:300
Linked list root structure for start and end widget in structure.
Definition: gui_defs.h:196
gui_linkedlistroot_t root
Definition: gui_private.h:92
gui_lcd_t lcd
Definition: gui_private.h:80
Structure of output results for widget callback.
Definition: gui_defs.h:1084
gui_timer_core_t timers
Definition: gui_private.h:93
gui_touch_data_t touch_old
Definition: gui_private.h:101
gui_linkedlistroot_t root_fonts
Definition: gui_private.h:95
GUI main object structure.
Definition: gui_private.h:79
gui_t GUI
GUI global structure.
Definition: gui.c:41
gui_handle_p focused_widget
Definition: gui_private.h:89
uint32_t flags
Definition: gui_private.h:83
GUI clipping management.
Definition: gui_defs.h:364
gui_handle_p active_widget_prev
Definition: gui_private.h:104
osMessageQId gui_sys_mbox_t
ESP system message queue ID type.
Definition: gui_sys_template.h:69
uint8_t initialized
Definition: gui_private.h:117
gui_display_t display
Definition: gui_private.h:85
gui_handle_p window_active
Definition: gui_private.h:88
osThreadId gui_sys_thread_t
ESP system thread ID type.
Definition: gui_sys_template.h:75
Internal touch structure used for widget callbacks.
Definition: gui_defs.h:311
gui_ll_t ll
Definition: gui_private.h:81
gui_handle_p active_widget
Definition: gui_private.h:103
gui_eventcallback_t evt_cb
Definition: gui_private.h:115
Structure of input parameters for widget callback.
Definition: gui_defs.h:1069
Core timer structure for GUI timers.
Definition: gui_defs.h:204
gui_handle_p focused_widget_prev
Definition: gui_private.h:90
Basic translation structure for internal use.
Definition: gui_defs.h:1209
void(* gui_eventcallback_t)(void)
Global event callback function declaration.
Definition: gui_defs.h:270
gui_display_t display_temp
Definition: gui_private.h:86
GUI Low-Level structure for drawing operations.
Definition: gui_defs.h:435
guii_touch_data_t touch
Definition: gui_private.h:102