VSF Documented
vsf_tgui_common.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18/****************************************************************************
19* Copyright 2020 by Gorgon Meducer (Email:embedded_zhuoran@hotmail.com) *
20* *
21* Licensed under the Apache License, Version 2.0 (the "License"); *
22* you may not use this file except in compliance with the License. *
23* You may obtain a copy of the License at *
24* *
25* http://www.apache.org/licenses/LICENSE-2.0 *
26* *
27* Unless required by applicable law or agreed to in writing, software *
28* distributed under the License is distributed on an "AS IS" BASIS, *
29* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
30* See the License for the specific language governing permissions and *
31* limitations under the License. *
32* *
33****************************************************************************/
34
35#ifndef __VSF_TINY_GUI_COMMON_H__
36#define __VSF_TINY_GUI_COMMON_H__
37
38/*============================ INCLUDES ======================================*/
39
40#if VSF_USE_TINY_GUI == ENABLED
42/*============================ MACROS ========================================*/
43#define VSF_TGUI_COLORSIZE_1BIT 0
44#define VSF_TGUI_COLORSIZE_4BIT 2
45#define VSF_TGUI_COLORSIZE_8BIT 3
46#define VSF_TGUI_COLORSIZE_16BIT 4
47#define VSF_TGUI_COLORSIZE_24BIT 6
48#define VSF_TGUI_COLORSIZE_32BIT 5
49
50/*============================ MACROFIED FUNCTIONS ===========================*/
51
52
53# define tgui_contains(...) __VA_ARGS__
54
55# define tgui_null_parent(__type) ((__type *)0)
56
57# define __tgui_attribute(__NAME, ...) .__NAME = __VA_ARGS__
58# define tgui_attribute(__NAME, ...) __tgui_attribute(__NAME, __VA_ARGS__)
59
60# if VSF_TGUI_CFG_SUPPORT_CONTROL_LAYOUT_ALIGN == ENABLED
61# define tgui_alignto(...) __tgui_attribute(tAlign, {__VA_ARGS__})
62# endif
63
64# if VSF_TGUI_CFG_SUPPORT_CONTROL_LAYOUT_ANCHOR == ENABLED
65# define tgui_anchor(...) __tgui_attribute(tAnchor, __VA_ARGS__)
66# endif
67
68# if VSF_TGUI_CFG_SUPPORT_CONTROL_LAYOUT_DOCK == ENABLED
69# define tgui_dock(...) __tgui_attribute(tDock, __VA_ARGS__)
70# endif
71
72# if VSF_TGUI_CFG_SUPPORT_CONTROL_LAYOUT_MARGIN == ENABLED
73# define tgui_margin(...) __tgui_attribute(tMargin, {__VA_ARGS__})
74# else
75# define tgui_margin(...) .dummy_bits = 0
76# endif
77# if VSF_TGUI_CFG_SUPPORT_CONTROL_LAYOUT_PADDING == ENABLED
78# define tgui_padding(...) \
79 __tgui_attribute(tContainerPadding, {__VA_ARGS__})
80# else
81# define tgui_padding(...) .dummy_bits = 0
82# endif
83
84# if VSF_TGUI_CFG_SUPPORT_MULTI_LANGUAGE_EXTERNSION == ENABLED
85# define __tgui_text(__NAME, __ID, __ALIGN) \
86 .__NAME.tString.tID = (__ID), \
87 .__NAME.bIsChanged = true, \
88 .__NAME.bIsAutoSize = false, \
89 .__NAME.u4Align = (__ALIGN)
90# define __tgui_text0(__NAME, __ID) \
91 __tgui_text1(__NAME, (__ID), 0)
92# define __tgui_text(__NAME, __ID, ...) \
93 __PLOOC_EVAL(__tgui_text, __VA_ARGS__)(__NAME, (__ID), ##__VA_ARGS__)
94# else
95
96# if VSF_TGUI_CFG_SAFE_STRING_MODE == ENABLED
97# define __tgui_text1(__NAME, __TEXT, __AUTOSIZE, __ALIGN) \
98 .__NAME.tString.pstrText = __TEXT, \
99 .__NAME.tString.s16_size = sizeof(__TEXT) - 1, \
100 .__NAME.bIsChanged = true, \
101 .__NAME.bIsAutoSize = (__AUTOSIZE), \
102 .__NAME.u4Align = (__ALIGN)
103# else
104# define __tgui_text1(__NAME, __TEXT, __AUTOSIZE, __ALIGN) \
105 .__NAME.tString.pstrText = __TEXT, \
106 .__NAME.bIsChanged = true, \
107 .__NAME.bIsAutoSize = (__AUTOSIZE), \
108 .__NAME.u4Align = (__ALIGN)
109# endif
110# define __tgui_text0(__NAME, __TEXT, __AUTOSIZE) \
111 __tgui_text1(__NAME, (__TEXT), (__AUTOSIZE), 0)
112# define __tgui_text(__NAME, __TEXT, __AUTOSIZE, ...) \
113 __PLOOC_EVAL(__tgui_text, __VA_ARGS__)(__NAME, (__TEXT), (__AUTOSIZE), ##__VA_ARGS__)
114# endif
115
116# define __tgui_container_type1(__TYPE, __AUTOSIZE) \
117 .ContainerAttribute.u5Type = (__TYPE), \
118 .ContainerAttribute.bIsAutoSize = (__AUTOSIZE)
119# define __tgui_container_type0(__TYPE) \
120 __tgui_container_type1((__TYPE), true)
121# define __tgui_container_type(__TYPE, ...) \
122 __PLOOC_EVAL(__tgui_container_type, __VA_ARGS__)((__TYPE), ##__VA_ARGS__)
123
124# define __tgui_line_space(__NAME, __PIX) \
125 .__NAME.chInterLineSpace = (__PIX)
126
127# define tgui_size(...) \
128 __tgui_attribute(tSize, {__VA_ARGS__})
129# define tgui_location(...) \
130 __tgui_attribute(tLocation, {__VA_ARGS__})
131# define tgui_region(...) \
132 __tgui_attribute(tRegion, {__VA_ARGS__})
133# define tgui_background(...) \
134 __tgui_attribute(tBackground, {__VA_ARGS__})
135# define tgui_text(__NAME, __TEXT, __AUTOSIZE, ...) \
136 __tgui_text(__NAME, __TEXT, __AUTOSIZE, ##__VA_ARGS__)
137# define tgui_line_space(__NAME, __PIX) \
138 __tgui_line_space(__NAME, (__PIX))
139
140# if VSF_TGUI_CFG_SUPPORT_TIMER == ENABLED
141# define tgui_timer1(__NAME, __INTERVAL, __REPEATE, __ENABLED) \
142 __tgui_attribute(__NAME, {.u29Interval = (__INTERVAL), \
143 .bIsRepeat = (__REPEATE), \
144 .bEnabled = (__ENABLED), \
145 })
146# define tgui_timer0(__NAME, __INTERVAL, __REPEATE) \
147 tgui_timer1(__NAME, (__INTERVAL), (__REPEATE), true)
148# define tgui_timer(__NAME, __INTERVAL, __REPEATE, ...) \
149 __PLOOC_EVAL(tgui_timer, __VA_ARGS__)(__NAME, (__INTERVAL), (__REPEATE), ##__VA_ARGS__)
150# endif
151
152# define tgui_handler(...) \
153 __tgui_attribute(msg_handler, {__VA_ARGS__})
154# define tgui_container_type(__TYPE, ...) \
155 __tgui_container_type(__TYPE, ##__VA_ARGS__)
156
157#define __describe_tgui_msgmap(__NAME, ...) \
158 const vsf_tgui_user_evt_handler __NAME[] = { \
159 __VA_ARGS__ \
160 };
161#define describe_tgui_msgmap(__NAME, ...) \
162 __describe_tgui_msgmap(__NAME, __VA_ARGS__)
163
164
165#define __tgui_handlers(...) \
166 .tMSGMap = { \
167 .ptItems = ((const vsf_tgui_user_evt_handler *)({ \
168 static const vsf_tgui_user_evt_handler \
169 VSF_MACRO_SAFE_NAME(MessageMap)[] = {__VA_ARGS__}; \
170 VSF_MACRO_SAFE_NAME(MessageMap);})), \
171 .chCount = sizeof((const vsf_tgui_user_evt_handler []) { \
172 __VA_ARGS__ \
173 }) / sizeof(vsf_tgui_user_evt_handler), \
174 }
175
176
177#define __tgui_msgmap(...) \
178 .tMSGMap = { \
179 .ptItems = (const vsf_tgui_user_evt_handler []) { \
180 __VA_ARGS__ \
181 }, \
182 .chCount = dimof(((const vsf_tgui_user_evt_handler []) { \
183 __VA_ARGS__ \
184 })), \
185 }
186
187#define __tgui_msgmap_var(__msgmap) \
188 .tMSGMap = { \
189 .ptItems = (__msgmap), \
190 .chCount = dimof(__msgmap), \
191 }
192
193#if VSF_TGUI_CFG_SUPPORT_NAME_STRING == ENABLED
194
195# define __tgui_msg_handler1(__MSG, __FUNC, __MASK) \
196 { \
197 .msg = (__MSG), \
198 .u2Type = VSF_MSGT_NODE_HANDLER_TYPE_CALLBACK, \
199 .FSM = (vsf_tgui_controal_fsm_t *)&__FUNC, \
200 .u10EvtMask = (__MASK), \
201 .handler_name_ptr = #__FUNC, \
202 }
203
204# define __tgui_msg_mux1(__MSG, __FUNC, __MASK) \
205 { \
206 .msg = (__MSG), \
207 .u2Type = VSF_MSGT_NODE_HANDLER_TYPE_CALLBACK, \
208 .FSM = (vsf_tgui_controal_fsm_t *)&__FUNC, \
209 .u10EvtMask = (__MASK), \
210 .handler_name_ptr = #__FUNC, \
211 }
212#else
213
214# define __tgui_msg_handler1(__MSG, __FUNC, __MASK) \
215 { \
216 .msg = (__MSG), \
217 .u2Type = VSF_MSGT_NODE_HANDLER_TYPE_CALLBACK, \
218 .FSM = (vsf_tgui_controal_fsm_t *)&__FUNC, \
219 .u10EvtMask = (__MASK), \
220 }
221
222# define __tgui_msg_mux1(__MSG, __FUNC, __MASK) \
223 { \
224 .msg = (__MSG), \
225 .u2Type = VSF_MSGT_NODE_HANDLER_TYPE_CALLBACK, \
226 .FSM = (vsf_tgui_controal_fsm_t *)&__FUNC, \
227 .u10EvtMask = (__MASK), \
228 }
229#endif
230
231#define __tgui_msg_handler0(__MSG, __FUNC) \
232 __tgui_msg_handler1((__MSG), __FUNC, (uint16_t)-1)
233#define __tgui_msg_handler(__MSG, __FUNC, ...) \
234 __PLOOC_EVAL(__tgui_msg_handler, __VA_ARGS__)((__MSG), __FUNC, ##__VA_ARGS__)
235
236#define __tgui_msg_mux0(__MSG, __FUNC) \
237 __tgui_msg_mux1((__MSG), __FUNC, 0)
238#define __tgui_msg_mux(__MSG, __FUNC, ...) \
239 __PLOOC_EVAL(__tgui_msg_mux, __VA_ARGS__)((__MSG), __FUNC, ##__VA_ARGS__)
240
241#define tgui_handlers(...) __tgui_handlers(__VA_ARGS__)
242
243#define tgui_msgmap(...) __tgui_msgmap(__VA_ARGS__)
244#define tgui_msgmap_var(__msgmap) __tgui_msgmap_var(__msgmap)
245
246#define tgui_msg_handler(__MSG, __FUNC, ...) \
247 __tgui_msg_handler(__MSG, __FUNC, ##__VA_ARGS__)
248
249
250
251#define tgui_msg_mux(__MSG, __FUNC, ...) \
252 __tgui_msg_mux((__MSG), __FUNC, ##__VA_ARGS__)
253
254#define tgui_initalize_top_container(__DESCRIPTOR_NAME, __PTR) \
255 do { \
256 *(__PTR) = __DESCRIPTOR_NAME; \
257 vsf_msgt_offset_tree_init((const vsf_msgt_container_t*)(__PTR));\
258 } while(0)
259
260/*============================ TYPES =========================================*/
261
262/*----------------------------------------------------------------------------*
263 * Layout *
264 *----------------------------------------------------------------------------*/
265typedef struct vsf_tgui_location_t {
269
270typedef struct vsf_tgui_size_t {
274
275typedef struct vsf_tgui_region_t {
279
280
281typedef enum {
291
293
295
297
299
302
305
308
311
313
314typedef enum {
325
326typedef enum {
333
334
335/*----------------------------------------------------------------------------*
336 * String & Language *
337 *----------------------------------------------------------------------------*/
338
339#if VSF_TGUI_CFG_SUPPORT_MULTI_LANGUAGE_EXTERNSION == ENABLED
340# if !defined(VSF_TGUI_CFG_LANGUAGE_ID_TYPE)
341# define VSF_TGUI_CFG_LANGUAGE_ID_TYPE uint8_t
342# endif
343
345
346typedef struct vsf_tgui_string_t {
349
350#else
351
352#if !defined(VSF_TGUI_CFG_STRING_TYPE)
353# define VSF_TGUI_CFG_STRING_TYPE const char
354#endif
355
356typedef struct vsf_tgui_string_t {
357 VSF_TGUI_CFG_STRING_TYPE *pstrText;
358#if VSF_TGUI_CFG_SAFE_STRING_MODE == ENABLED
359 int16_t s16_size;
360#endif
362
363#endif
364
365typedef struct vsf_tgui_text_info_t {
372# if VSF_TGUI_CFG_TEXT_SIZE_INFO_CACHING == ENABLED
373 struct {
378# endif
379
381
382/*----------------------------------------------------------------------------*
383 * Tile *
384 *----------------------------------------------------------------------------*/
385
386#ifndef VSF_TGUI_CFG_DRAM_POINTER_TYPE
387# define VSF_TGUI_CFG_DRAM_POINTER_TYPE uintptr_t
388#endif
389
391
392#define VSF_TGUI_TILE_COLORTYPE_RGB 0
393#define VSF_TGUI_TILE_COLORTYPE_RGBA 1
394#define VSF_TGUI_TILE_COLORTYPE_A 2
395
396typedef struct vsf_tgui_tile_core_t {
397 struct {
398 uint8_t u2RootTileType : 2; /* 0: buf_offset tile, 1: index tile, 2 buf_addr tile, 3 undefined*/
399 uint8_t u2ColorType : 2; /* 0: rgb, 1: rgba, 2: alpha/graysacle */
400 uint8_t u3ColorSize : 3; /* 0: 1bit, 2: 4bit, 3: 8bit 4: 16bit, 5: 32bit, 6: 24bit */
401 uint8_t bIsRootTile : 1; /* 0: Child Tile, u3ColorSize and u4RootTileType have no meaning
402 1: Root Tile, u3ColorSize and u4RootTileType have meaning*/
404
405#if VSF_TGUI_CFG_SUPPORT_NAME_STRING == ENABLED
406 const char *name_ptr;
407#endif
409
411 uint8_t chIndex; /*index is stored in the lower 8bit*/
412 implement(vsf_tgui_tile_core_t)
414
417 implement(vsf_tgui_tile_core_t)
418 implement_ex(vsf_tgui_size_t, tSize) /* the size of the tile */
419 vsf_tgui_disp_ram_uintptr_t ptBitmap; /*A pointer points to bitmap buffer*/
421
422typedef struct vsf_tgui_tile_child_t {
423
424 union {
425 union {
426 struct {
428 implement(vsf_tgui_tile_core_t)
429 };
431 };
432 };
433
434 implement_ex(vsf_tgui_size_t, tSize) /* the size of the tile */
435 vsf_tgui_tile_core_t *parent_ptr; /* points to the parent */
437
438typedef union vsf_tgui_tile_t {
440 struct {
441 uint8_t : 8;
443 },
444 _
445 )
446 vsf_tgui_tile_idx_root_t tIndexRoot;
450
451
452/*----------------------------------------------------------------------------*
453 * Container *
454 *----------------------------------------------------------------------------*/
462
463
464/*----------------------------------------------------------------------------*
465 * tGUI Message & Event *
466 *----------------------------------------------------------------------------*/
467#define VSF_TGUI_MSG_MSK (0x1F0)
468#define VSF_TGUI_EVT_MSK (0x00F)
469
470enum {
471 VSF_TGUI_MSG_AVAILABLE = 0x200, //VSF_EVT_SYSTEM + 0x100,
474
487
490
496
499
502
511
513
522
525
532
535
540};
541
542enum {
547};
548
551
552typedef struct vsf_tgui_msg_t {
553 implement(vsf_msgt_msg_t)
556
558 implement(vsf_tgui_msg_t)
559#if VSF_TGUI_CFG_SUPPORT_DIRTY_REGION == ENABLED
561#endif
564
566 implement(vsf_tgui_msg_t)
567 implement(vsf_tgui_location_t)
570
572 implement(vsf_tgui_msg_t)
573 struct {
574 implement(vsf_tgui_location_t)
576 } delta;
579
580typedef struct vsf_tgui_key_evt_t {
581 implement(vsf_tgui_msg_t)
582 uint16_t hwKeyValue;
584
585typedef union vsf_tgui_evt_t {
586 implement(vsf_tgui_msg_t)
592
593/*============================ GLOBAL VARIABLES ==============================*/
594/*============================ PROTOTYPES ====================================*/
595
596extern
598 vsf_tgui_region_t* region_ptr);
599
600extern
602
603extern
605
606extern
607bool vsf_tgui_tile_is_root(const vsf_tgui_tile_t* ptTile);
608
609extern
611 VSF_TGUI_CFG_STRING_TYPE *pstrNew);
612
613#endif
614
615#endif
616/* EOF */
#define VSF_BIT(__N)
Definition __type.h:188
@ fsm_rt_user
Definition __type.h:83
signed short int16_t
Definition lvgl.h:42
unsigned short uint16_t
Definition lvgl.h:41
unsigned char uint8_t
Definition lvgl.h:40
signed char int8_t
Definition lvgl.h:38
Definition vsf_tgui_common.h:571
Definition vsf_tgui_common.h:580
Definition vsf_tgui_common.h:265
int16_t iX
Definition vsf_tgui_common.h:266
int16_t iY
Definition vsf_tgui_common.h:267
Definition vsf_tgui_common.h:552
Definition vsf_tgui_common.h:565
Definition vsf_tgui_common.h:557
vsf_tgui_region_t * region_ptr
Definition vsf_tgui_common.h:562
vsf_tgui_msg_t bool refresh_dirty
Definition vsf_tgui_common.h:560
Definition vsf_tgui_common.h:275
implement_ex(vsf_tgui_location_t, tLocation) implement_ex(vsf_tgui_size_t
Definition vsf_tgui_common.h:270
int16_t iWidth
Definition vsf_tgui_common.h:271
int16_t iHeight
Definition vsf_tgui_common.h:272
Definition vsf_tgui_common.h:346
vsf_tgui_text_id_t tID
Definition vsf_tgui_common.h:347
Definition vsf_tgui_common.h:365
uint8_t bIsChanged
Definition vsf_tgui_common.h:369
int8_t chInterLineSpace
Definition vsf_tgui_common.h:371
struct vsf_tgui_text_info_t::@179 tInfoCache
vsf_tgui_size_t tStringSize
Definition vsf_tgui_common.h:374
uint8_t chCharHeight
Definition vsf_tgui_common.h:376
vsf_tgui_string_t tString
Definition vsf_tgui_common.h:366
uint16_t hwLines
Definition vsf_tgui_common.h:375
uint8_t u4Align
Definition vsf_tgui_common.h:367
uint8_t bIsAutoSize
Definition vsf_tgui_common.h:370
Definition vsf_tgui_common.h:415
vsf_tgui_tile_core_t implement_ex(vsf_tgui_size_t, tSize) vsf_tgui_disp_ram_uintptr_t ptBitmap
Definition vsf_tgui_common.h:422
implement_ex(vsf_tgui_size_t, tSize) vsf_tgui_tile_core_t *parent_ptr
Definition vsf_tgui_common.h:396
uint8_t u2RootTileType
Definition vsf_tgui_common.h:398
struct vsf_tgui_tile_core_t::@180 Attribute
uint8_t bIsRootTile
Definition vsf_tgui_common.h:401
uint8_t u2ColorType
Definition vsf_tgui_common.h:399
uint8_t u3ColorSize
Definition vsf_tgui_common.h:400
const char * name_ptr
Definition vsf_tgui_common.h:406
Definition vsf_tgui_common.h:410
uint8_t chIndex
Definition vsf_tgui_common.h:411
Definition vsf_tgui_common.h:585
Definition vsf_tgui_common.h:438
vsf_tgui_tile_child_t tChild
Definition vsf_tgui_common.h:448
implement_ex(struct { uint8_t :8;vsf_tgui_tile_core_t tCore;}, _) vsf_tgui_tile_idx_root_t tIndexRoot
vsf_tgui_tile_buf_root_t tBufRoot
Definition vsf_tgui_common.h:447
@ fsm_rt_err
fsm error, error code can be get from other interface
Definition vsf_fsm.h:316
@ fsm_rt_cpl
fsm complete
Definition vsf_fsm.h:317
struct @749::@768 _
vsf_msgt_msg_t
Definition vsf_msg_tree.h:79
vsf_msgt_container_t * parent_ptr
parent node
Definition vsf_msg_tree.h:187
bool vsf_tgui_tile_is_root(const vsf_tgui_tile_t *ptTile)
Definition vsf_tgui_common.c:109
uint16_t vsf_tgui_root_tile_get_pixel_bitsize(const vsf_tgui_tile_t *ptTile)
Definition vsf_tgui_common.c:69
vsf_tgui_tile_t * vsf_tgui_tile_get_root(const vsf_tgui_tile_t *ptTile, vsf_tgui_region_t *region_ptr)
Definition vsf_tgui_common.c:81
vsf_tgui_size_t vsf_tgui_root_tile_get_size(const vsf_tgui_tile_t *ptTile)
Definition vsf_tgui_common.c:57
void vsf_tgui_text_set(vsf_tgui_text_info_t *ptTextInfo, VSF_TGUI_CFG_STRING_TYPE *pstrNew)
Definition vsf_tgui_common.c:116
#define VSF_TGUI_CFG_DRAM_POINTER_TYPE
Definition vsf_tgui_common.h:387
@ VSF_TGUI_MSG_RT_UNHANDLED
Definition vsf_tgui_common.h:543
@ VSF_TGUI_MSG_RT_REFRESH_PARENT
Definition vsf_tgui_common.h:546
@ VSF_TGUI_MSG_RT_REFRESH
Definition vsf_tgui_common.h:545
@ VSF_TGUI_MSG_RT_DONE
Definition vsf_tgui_common.h:544
vsf_tgui_align_mode_t
Definition vsf_tgui_common.h:281
@ VSF_TGUI_ALIGN_FILL
Definition vsf_tgui_common.h:287
@ VSF_TGUI_ALIGN_MID_BOTTOM
Definition vsf_tgui_common.h:294
@ VSF_TGUI_ALIGN_BOTTOM
Definition vsf_tgui_common.h:286
@ VSF_TGUI_ALIGN_BOTTOM_RIGHT
Definition vsf_tgui_common.h:309
@ VSF_TGUI_ALIGN_CENTER
Definition vsf_tgui_common.h:282
@ VSF_TGUI_ALIGN_LEFT
Definition vsf_tgui_common.h:283
@ VSF_TGUI_ALIGN_TOP_RIGHT
Definition vsf_tgui_common.h:303
@ VSF_TGUI_ALIGN_MID_TOP
Definition vsf_tgui_common.h:292
@ VSF_TGUI_ALIGN_TOP
Definition vsf_tgui_common.h:285
@ VSF_TGUI_ALIGN_BOTTOM_LEFT
Definition vsf_tgui_common.h:306
@ VSF_TGUI_ALIGN_MID_LEFT
Definition vsf_tgui_common.h:296
@ VSF_TGUI_ALIGN_TOP_LEFT
Definition vsf_tgui_common.h:300
@ VSF_TGUI_ALIGN_RIGHT
Definition vsf_tgui_common.h:284
@ VSF_TGUI_ALIGN_MID_RIGHT
Definition vsf_tgui_common.h:298
vsf_tgui_anchor_mode_t
Definition vsf_tgui_common.h:326
@ VSF_TGUI_ANCHOR_TOP
Definition vsf_tgui_common.h:330
@ VSF_TGUI_ANCHOR_BOTTOM
Definition vsf_tgui_common.h:331
@ VSF_TGUI_ANCHOR_NONE
Definition vsf_tgui_common.h:327
@ VSF_TGUI_ANCHOR_LEFT
Definition vsf_tgui_common.h:328
@ VSF_TGUI_ANCHOR_RIGHT
Definition vsf_tgui_common.h:329
vsf_tgui_dock_mode_t
Definition vsf_tgui_common.h:314
@ VSF_TGUI_DOCK_BOTTOM
Definition vsf_tgui_common.h:319
@ VSF_TGUI_DOCK_TOP
Definition vsf_tgui_common.h:318
@ VSF_TGUI_DOCK_NONE
Definition vsf_tgui_common.h:315
@ VSF_TGUI_DOCK_RIGHT
Definition vsf_tgui_common.h:317
@ VSF_TGUI_DOCK_FILL
Definition vsf_tgui_common.h:320
@ VSF_TGUI_DOCK_LEFT
Definition vsf_tgui_common.h:316
#define VSF_TGUI_CFG_LANGUAGE_ID_TYPE
Definition vsf_tgui_common.h:341
vsf_tgui_container_type_t
Definition vsf_tgui_common.h:455
@ VSF_TGUI_CONTAINER_TYPE_LINE_STREAM_VERTICAL
Definition vsf_tgui_common.h:460
@ VSF_TGUI_CONTAINER_TYPE_STREAM_HORIZONTAL
Definition vsf_tgui_common.h:457
@ VSF_TGUI_CONTAINER_TYPE_LINE_STREAM_HORIZONTAL
Definition vsf_tgui_common.h:459
@ VSF_TGUI_CONTAINER_TYPE_STREAM_VERTICAL
Definition vsf_tgui_common.h:458
@ VSF_TGUI_CONTAINER_TYPE_PLANE
Definition vsf_tgui_common.h:456
struct vsf_tgui_control_t vsf_tgui_control_t
Definition vsf_tgui_common.h:549
@ VSF_TGUI_EVT_POINTER_ENTER
not all device support this
Definition vsf_tgui_common.h:498
@ VSF_TGUI_EVT_ON_LOAD
Definition vsf_tgui_common.h:478
@ VSF_TGUI_EVT_POINTER_LEFT
not all device support this
Definition vsf_tgui_common.h:501
@ VSF_TGUI_EVT_LIST_SLIDING_STOPPED
Definition vsf_tgui_common.h:539
@ VSF_TGUI_EVT_POINTER_HOLD
not all device support this
Definition vsf_tgui_common.h:492
@ VSF_TGUI_EVT_KEY_UP
Definition vsf_tgui_common.h:518
@ VSF_TGUI_EVT_UPDATE_TREE
Definition vsf_tgui_common.h:481
@ VSF_TGUI_EVT_KEY_DOWN
Definition vsf_tgui_common.h:516
@ VSF_TGUI_EVT_ON_SET_TOP_CONTAINER
Definition vsf_tgui_common.h:477
@ VSF_TGUI_MSG_AVAILABLE
Definition vsf_tgui_common.h:471
@ VSF_TGUI_EVT_UPDATE
Definition vsf_tgui_common.h:480
@ VSF_TGUI_MSG_GESTURE_EVT
gesture events
Definition vsf_tgui_common.h:524
@ VSF_TGUI_EVT_GESTURE_ZOOM_OUT
not all device support this
Definition vsf_tgui_common.h:529
@ VSF_TGUI_EVT_GESTURE_WHEEL
not all device support this
Definition vsf_tgui_common.h:527
@ VSF_TGUI_EVT_GESTURE_ROTATE_ANTICLOCKWISE
not all device support this
Definition vsf_tgui_common.h:531
@ VSF_TGUI_EVT_GET_ACTIVE
Definition vsf_tgui_common.h:484
@ VSF_TGUI_EVT_POST_REFRESH
Definition vsf_tgui_common.h:483
@ VSF_TGUI_EVT_POINTER_DOUBLE_CLICK
Definition vsf_tgui_common.h:495
@ VSF_TGUI_EVT_ON_TIME
Definition vsf_tgui_common.h:486
@ VSF_TGUI_MSG_CONTROL_EVT
control events
Definition vsf_tgui_common.h:476
@ VSF_TGUI_EVT_POINTER_CLICK
Definition vsf_tgui_common.h:494
@ VSF_TGUI_EVT_REFRESH
Definition vsf_tgui_common.h:482
@ VSF_TGUI_EVT_ON_DEPOSE
Definition vsf_tgui_common.h:479
@ VSF_TGUI_EVT_KEY_PRESSED
Definition vsf_tgui_common.h:519
@ VSF_TGUI_EVT_POINTER_HOVER
not all device support this
Definition vsf_tgui_common.h:510
@ VSF_TGUI_MSG_KEY_EVT
key events
Definition vsf_tgui_common.h:515
@ VSF_TGUI_EVT_POINTER_MOVE
not all device support this
Definition vsf_tgui_common.h:512
@ VSF_TGUI_EVT_GESTURE_ROTATE_CLOCKWISE
not all device support this
Definition vsf_tgui_common.h:530
@ VSF_TGUI_EVT_KEY_DOUBLE_CLICK
not all device support this
Definition vsf_tgui_common.h:521
@ VSF_TGUI_EVT_KEY_REPEATE
not all device support this
Definition vsf_tgui_common.h:517
@ VSF_TGUI_MSG_LOW_LEVEL_READY_TO_REFRESH
Definition vsf_tgui_common.h:472
@ VSF_TGUI_MSG_LIST_EVT
Definition vsf_tgui_common.h:536
@ VSF_TGUI_MSG_POINTER_EVT
pointer events
Definition vsf_tgui_common.h:489
@ VSF_TGUI_EVT_KEY_LONG_PRESSED
not all device support this
Definition vsf_tgui_common.h:520
@ VSF_TGUI_EVT_LOST_ACTIVE
Definition vsf_tgui_common.h:485
@ VSF_TGUI_EVT_GESTURE_ZOOM_IN
not all device support this
Definition vsf_tgui_common.h:528
@ VSF_TGUI_EVT_POINTER_DOWN
Definition vsf_tgui_common.h:491
@ VSF_TGUI_EVT_POINTER_UP
Definition vsf_tgui_common.h:493
@ VSF_TGUI_MSG_CONTROL_SPECIFIC_EVT
All control specific events share the same code region.
Definition vsf_tgui_common.h:534
@ VSF_TGUI_EVT_LIST_SLIDING_STARTED
Definition vsf_tgui_common.h:538
@ VSF_TGUI_EVT_LIST_SELECTION_CHANGED
Definition vsf_tgui_common.h:537
@ VSF_TGUI_MSG
Definition vsf_tgui_common.h:473
@ VSF_TGUI_EVT_GESTURE_SLIDE
Definition vsf_tgui_common.h:526
VSF_TGUI_CFG_DRAM_POINTER_TYPE vsf_tgui_disp_ram_uintptr_t
Definition vsf_tgui_common.h:390
struct vsf_tgui_root_container_t vsf_tgui_root_container_t
Definition vsf_tgui_common.h:550
VSF_TGUI_CFG_LANGUAGE_ID_TYPE vsf_tgui_text_id_t
Definition vsf_tgui_common.h:344