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
43#ifdef __cplusplus
44extern "C" {
45#endif
46
47/*============================ MACROS ========================================*/
48
49#define VSF_TGUI_COLORSIZE_1BIT 0
50#define VSF_TGUI_COLORSIZE_4BIT 2
51#define VSF_TGUI_COLORSIZE_8BIT 3
52#define VSF_TGUI_COLORSIZE_16BIT 4
53#define VSF_TGUI_COLORSIZE_24BIT 6
54#define VSF_TGUI_COLORSIZE_32BIT 5
55
56/*============================ MACROFIED FUNCTIONS ===========================*/
57
58
59# define tgui_contains(...) __VA_ARGS__
60
61# define tgui_null_parent(__type) ((__type *)0)
62
63# define __tgui_attribute(__NAME, ...) .__NAME = __VA_ARGS__
64# define tgui_attribute(__NAME, ...) __tgui_attribute(__NAME, __VA_ARGS__)
65
66# if VSF_TGUI_CFG_SUPPORT_CONTROL_LAYOUT_ALIGN == ENABLED
67# define tgui_alignto(...) __tgui_attribute(tAlign, {__VA_ARGS__})
68# endif
69
70# if VSF_TGUI_CFG_SUPPORT_CONTROL_LAYOUT_ANCHOR == ENABLED
71# define tgui_anchor(...) __tgui_attribute(tAnchor, __VA_ARGS__)
72# endif
73
74# if VSF_TGUI_CFG_SUPPORT_CONTROL_LAYOUT_DOCK == ENABLED
75# define tgui_dock(...) __tgui_attribute(tDock, __VA_ARGS__)
76# endif
77
78# if VSF_TGUI_CFG_SUPPORT_CONTROL_LAYOUT_MARGIN == ENABLED
79# define tgui_margin(...) __tgui_attribute(tMargin, {__VA_ARGS__})
80# else
81# define tgui_margin(...) .dummy_bits = 0
82# endif
83# if VSF_TGUI_CFG_SUPPORT_CONTROL_LAYOUT_PADDING == ENABLED
84# define tgui_padding(...) \
85 __tgui_attribute(tContainerPadding, {__VA_ARGS__})
86# else
87# define tgui_padding(...) .dummy_bits = 0
88# endif
89
90# if VSF_TGUI_CFG_SUPPORT_MULTI_LANGUAGE_EXTERNSION == ENABLED
91# define __tgui_text(__NAME, __ID, __ALIGN) \
92 .__NAME.tString.tID = (__ID), \
93 .__NAME.bIsChanged = true, \
94 .__NAME.bIsAutoSize = false, \
95 .__NAME.u4Align = (__ALIGN)
96# define __tgui_text0(__NAME, __ID) \
97 __tgui_text1(__NAME, (__ID), 0)
98# define __tgui_text(__NAME, __ID, ...) \
99 __PLOOC_EVAL(__tgui_text, __VA_ARGS__)(__NAME, (__ID), ##__VA_ARGS__)
100# else
101
102# if VSF_TGUI_CFG_SAFE_STRING_MODE == ENABLED
103# define __tgui_text1(__NAME, __TEXT, __AUTOSIZE, __ALIGN) \
104 .__NAME.tString.pstrText = __TEXT, \
105 .__NAME.tString.s16_size = sizeof(__TEXT) - 1, \
106 .__NAME.bIsChanged = true, \
107 .__NAME.bIsAutoSize = (__AUTOSIZE), \
108 .__NAME.u4Align = (__ALIGN)
109# else
110# define __tgui_text1(__NAME, __TEXT, __AUTOSIZE, __ALIGN) \
111 .__NAME.tString.pstrText = __TEXT, \
112 .__NAME.bIsChanged = true, \
113 .__NAME.bIsAutoSize = (__AUTOSIZE), \
114 .__NAME.u4Align = (__ALIGN)
115# endif
116# define __tgui_text0(__NAME, __TEXT, __AUTOSIZE) \
117 __tgui_text1(__NAME, (__TEXT), (__AUTOSIZE), 0)
118# define __tgui_text(__NAME, __TEXT, __AUTOSIZE, ...) \
119 __PLOOC_EVAL(__tgui_text, __VA_ARGS__)(__NAME, (__TEXT), (__AUTOSIZE), ##__VA_ARGS__)
120# endif
121
122# define __tgui_container_type1(__TYPE, __AUTOSIZE) \
123 .ContainerAttribute.u5Type = (__TYPE), \
124 .ContainerAttribute.bIsAutoSize = (__AUTOSIZE)
125# define __tgui_container_type0(__TYPE) \
126 __tgui_container_type1((__TYPE), true)
127# define __tgui_container_type(__TYPE, ...) \
128 __PLOOC_EVAL(__tgui_container_type, __VA_ARGS__)((__TYPE), ##__VA_ARGS__)
129
130# define __tgui_line_space(__NAME, __PIX) \
131 .__NAME.chInterLineSpace = (__PIX)
132
133# define tgui_size(...) \
134 __tgui_attribute(tSize, {__VA_ARGS__})
135# define tgui_location(...) \
136 __tgui_attribute(tLocation, {__VA_ARGS__})
137# define tgui_region(...) \
138 __tgui_attribute(tRegion, {__VA_ARGS__})
139# define tgui_background(...) \
140 __tgui_attribute(tBackground, {__VA_ARGS__})
141# define tgui_text(__NAME, __TEXT, __AUTOSIZE, ...) \
142 __tgui_text(__NAME, __TEXT, __AUTOSIZE, ##__VA_ARGS__)
143# define tgui_line_space(__NAME, __PIX) \
144 __tgui_line_space(__NAME, (__PIX))
145
146# if VSF_TGUI_CFG_SUPPORT_TIMER == ENABLED
147# define tgui_timer1(__NAME, __INTERVAL, __REPEATE, __ENABLED) \
148 __tgui_attribute(__NAME, {.u29Interval = (__INTERVAL), \
149 .bIsRepeat = (__REPEATE), \
150 .bEnabled = (__ENABLED), \
151 })
152# define tgui_timer0(__NAME, __INTERVAL, __REPEATE) \
153 tgui_timer1(__NAME, (__INTERVAL), (__REPEATE), true)
154# define tgui_timer(__NAME, __INTERVAL, __REPEATE, ...) \
155 __PLOOC_EVAL(tgui_timer, __VA_ARGS__)(__NAME, (__INTERVAL), (__REPEATE), ##__VA_ARGS__)
156# endif
157
158# define tgui_handler(...) \
159 __tgui_attribute(msg_handler, {__VA_ARGS__})
160# define tgui_container_type(__TYPE, ...) \
161 __tgui_container_type(__TYPE, ##__VA_ARGS__)
162
163#define __describe_tgui_msgmap(__NAME, ...) \
164 const vsf_tgui_user_evt_handler __NAME[] = { \
165 __VA_ARGS__ \
166 };
167#define describe_tgui_msgmap(__NAME, ...) \
168 __describe_tgui_msgmap(__NAME, __VA_ARGS__)
169
170
171#define __tgui_handlers(...) \
172 .tMSGMap = { \
173 .ptItems = ((const vsf_tgui_user_evt_handler *)({ \
174 static const vsf_tgui_user_evt_handler \
175 VSF_MACRO_SAFE_NAME(MessageMap)[] = {__VA_ARGS__}; \
176 VSF_MACRO_SAFE_NAME(MessageMap);})), \
177 .chCount = sizeof((const vsf_tgui_user_evt_handler []) { \
178 __VA_ARGS__ \
179 }) / sizeof(vsf_tgui_user_evt_handler), \
180 }
181
182
183#define __tgui_msgmap(...) \
184 .tMSGMap = { \
185 .ptItems = (const vsf_tgui_user_evt_handler []) { \
186 __VA_ARGS__ \
187 }, \
188 .chCount = dimof(((const vsf_tgui_user_evt_handler []) { \
189 __VA_ARGS__ \
190 })), \
191 }
192
193#define __tgui_msgmap_var(__msgmap) \
194 .tMSGMap = { \
195 .ptItems = (__msgmap), \
196 .chCount = dimof(__msgmap), \
197 }
198
199#if VSF_TGUI_CFG_SUPPORT_NAME_STRING == ENABLED
200
201# define __tgui_msg_handler1(__MSG, __FUNC, __MASK) \
202 { \
203 .msg = (__MSG), \
204 .u2Type = VSF_MSGT_NODE_HANDLER_TYPE_CALLBACK, \
205 .FSM = (vsf_tgui_controal_fsm_t *)&__FUNC, \
206 .u10EvtMask = (__MASK), \
207 .handler_name_ptr = #__FUNC, \
208 }
209
210# define __tgui_msg_mux1(__MSG, __FUNC, __MASK) \
211 { \
212 .msg = (__MSG), \
213 .u2Type = VSF_MSGT_NODE_HANDLER_TYPE_CALLBACK, \
214 .FSM = (vsf_tgui_controal_fsm_t *)&__FUNC, \
215 .u10EvtMask = (__MASK), \
216 .handler_name_ptr = #__FUNC, \
217 }
218#else
219
220# define __tgui_msg_handler1(__MSG, __FUNC, __MASK) \
221 { \
222 .msg = (__MSG), \
223 .u2Type = VSF_MSGT_NODE_HANDLER_TYPE_CALLBACK, \
224 .FSM = (vsf_tgui_controal_fsm_t *)&__FUNC, \
225 .u10EvtMask = (__MASK), \
226 }
227
228# define __tgui_msg_mux1(__MSG, __FUNC, __MASK) \
229 { \
230 .msg = (__MSG), \
231 .u2Type = VSF_MSGT_NODE_HANDLER_TYPE_CALLBACK, \
232 .FSM = (vsf_tgui_controal_fsm_t *)&__FUNC, \
233 .u10EvtMask = (__MASK), \
234 }
235#endif
236
237#define __tgui_msg_handler0(__MSG, __FUNC) \
238 __tgui_msg_handler1((__MSG), __FUNC, (uint16_t)-1)
239#define __tgui_msg_handler(__MSG, __FUNC, ...) \
240 __PLOOC_EVAL(__tgui_msg_handler, __VA_ARGS__)((__MSG), __FUNC, ##__VA_ARGS__)
241
242#define __tgui_msg_mux0(__MSG, __FUNC) \
243 __tgui_msg_mux1((__MSG), __FUNC, 0)
244#define __tgui_msg_mux(__MSG, __FUNC, ...) \
245 __PLOOC_EVAL(__tgui_msg_mux, __VA_ARGS__)((__MSG), __FUNC, ##__VA_ARGS__)
246
247#define tgui_handlers(...) __tgui_handlers(__VA_ARGS__)
248
249#define tgui_msgmap(...) __tgui_msgmap(__VA_ARGS__)
250#define tgui_msgmap_var(__msgmap) __tgui_msgmap_var(__msgmap)
251
252#define tgui_msg_handler(__MSG, __FUNC, ...) \
253 __tgui_msg_handler(__MSG, __FUNC, ##__VA_ARGS__)
254
255
256
257#define tgui_msg_mux(__MSG, __FUNC, ...) \
258 __tgui_msg_mux((__MSG), __FUNC, ##__VA_ARGS__)
259
260#define tgui_initalize_top_container(__DESCRIPTOR_NAME, __PTR) \
261 do { \
262 *(__PTR) = __DESCRIPTOR_NAME; \
263 vsf_msgt_offset_tree_init((const vsf_msgt_container_t*)(__PTR));\
264 } while(0)
265
266/*============================ TYPES =========================================*/
267
268/*----------------------------------------------------------------------------*
269 * Layout *
270 *----------------------------------------------------------------------------*/
271typedef struct vsf_tgui_location_t {
275
276typedef struct vsf_tgui_size_t {
280
281typedef struct vsf_tgui_region_t {
285
286
287typedef enum {
297
299
301
303
305
308
311
314
317
319
320typedef enum {
331
332typedef enum {
339
340
341/*----------------------------------------------------------------------------*
342 * String & Language *
343 *----------------------------------------------------------------------------*/
344
345#if VSF_TGUI_CFG_SUPPORT_MULTI_LANGUAGE_EXTERNSION == ENABLED
346# if !defined(VSF_TGUI_CFG_LANGUAGE_ID_TYPE)
347# define VSF_TGUI_CFG_LANGUAGE_ID_TYPE uint8_t
348# endif
349
351
352typedef struct vsf_tgui_string_t {
355
356#else
357
358#if !defined(VSF_TGUI_CFG_STRING_TYPE)
359# define VSF_TGUI_CFG_STRING_TYPE const char
360#endif
361
362typedef struct vsf_tgui_string_t {
363 VSF_TGUI_CFG_STRING_TYPE *pstrText;
364#if VSF_TGUI_CFG_SAFE_STRING_MODE == ENABLED
365 int16_t s16_size;
366#endif
368
369#endif
370
371typedef struct vsf_tgui_text_info_t {
378# if VSF_TGUI_CFG_TEXT_SIZE_INFO_CACHING == ENABLED
379 struct {
384# endif
385
387
388/*----------------------------------------------------------------------------*
389 * Tile *
390 *----------------------------------------------------------------------------*/
391
392#ifndef VSF_TGUI_CFG_DRAM_POINTER_TYPE
393# define VSF_TGUI_CFG_DRAM_POINTER_TYPE uintptr_t
394#endif
395
397
398#define VSF_TGUI_TILE_COLORTYPE_RGB 0
399#define VSF_TGUI_TILE_COLORTYPE_RGBA 1
400#define VSF_TGUI_TILE_COLORTYPE_A 2
401
402typedef struct vsf_tgui_tile_core_t {
403 struct {
404 uint8_t u2RootTileType : 2; /* 0: buf_offset tile, 1: index tile, 2 buf_addr tile, 3 undefined*/
405 uint8_t u2ColorType : 2; /* 0: rgb, 1: rgba, 2: alpha/graysacle */
406 uint8_t u3ColorSize : 3; /* 0: 1bit, 2: 4bit, 3: 8bit 4: 16bit, 5: 32bit, 6: 24bit */
407 uint8_t bIsRootTile : 1; /* 0: Child Tile, u3ColorSize and u4RootTileType have no meaning
408 1: Root Tile, u3ColorSize and u4RootTileType have meaning*/
410
411#if VSF_TGUI_CFG_SUPPORT_NAME_STRING == ENABLED
412 const char *name_ptr;
413#endif
415
417 uint8_t chIndex; /*index is stored in the lower 8bit*/
418 implement(vsf_tgui_tile_core_t)
420
423 implement(vsf_tgui_tile_core_t)
424 implement_ex(vsf_tgui_size_t, tSize) /* the size of the tile */
425 vsf_tgui_disp_ram_uintptr_t ptBitmap; /*A pointer points to bitmap buffer*/
427
428typedef struct vsf_tgui_tile_child_t {
429
430 union {
431 union {
432 struct {
434 implement(vsf_tgui_tile_core_t)
435 };
437 };
438 };
439
440 implement_ex(vsf_tgui_size_t, tSize) /* the size of the tile */
441 vsf_tgui_tile_core_t *parent_ptr; /* points to the parent */
443
444typedef union vsf_tgui_tile_t {
446 struct {
447 uint8_t : 8;
449 },
450 _
451 )
452 vsf_tgui_tile_idx_root_t tIndexRoot;
456
457
458/*----------------------------------------------------------------------------*
459 * Container *
460 *----------------------------------------------------------------------------*/
468
469
470/*----------------------------------------------------------------------------*
471 * tGUI Message & Event *
472 *----------------------------------------------------------------------------*/
473#define VSF_TGUI_MSG_MSK (0x1F0)
474#define VSF_TGUI_EVT_MSK (0x00F)
475
476enum {
477 VSF_TGUI_MSG_AVAILABLE = 0x200, //VSF_EVT_SYSTEM + 0x100,
480
493
496
502
505
508
517
519
528
531
538
541
546};
547
548enum {
553};
554
557
558typedef struct vsf_tgui_msg_t {
559 implement(vsf_msgt_msg_t)
562
564 implement(vsf_tgui_msg_t)
565#if VSF_TGUI_CFG_SUPPORT_DIRTY_REGION == ENABLED
567#endif
570
572 implement(vsf_tgui_msg_t)
573 implement(vsf_tgui_location_t)
576
578 implement(vsf_tgui_msg_t)
579 struct {
580 implement(vsf_tgui_location_t)
582 } delta;
585
586typedef struct vsf_tgui_key_evt_t {
587 implement(vsf_tgui_msg_t)
588 uint16_t hwKeyValue;
590
591typedef union vsf_tgui_evt_t {
592 implement(vsf_tgui_msg_t)
598
599/*============================ GLOBAL VARIABLES ==============================*/
600/*============================ PROTOTYPES ====================================*/
601
602extern
604 vsf_tgui_region_t* region_ptr);
605
606extern
608
609extern
611
612extern
613bool vsf_tgui_tile_is_root(const vsf_tgui_tile_t* ptTile);
614
615extern
617 VSF_TGUI_CFG_STRING_TYPE *pstrNew);
618
619#ifdef __cplusplus
620}
621#endif
622
623#endif
624#endif
625/* 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:577
Definition vsf_tgui_common.h:586
Definition vsf_tgui_common.h:271
int16_t iX
Definition vsf_tgui_common.h:272
int16_t iY
Definition vsf_tgui_common.h:273
Definition vsf_tgui_common.h:558
Definition vsf_tgui_common.h:571
Definition vsf_tgui_common.h:563
vsf_tgui_region_t * region_ptr
Definition vsf_tgui_common.h:568
vsf_tgui_msg_t bool refresh_dirty
Definition vsf_tgui_common.h:566
Definition vsf_tgui_common.h:281
implement_ex(vsf_tgui_location_t, tLocation) implement_ex(vsf_tgui_size_t
Definition vsf_tgui_common.h:276
int16_t iWidth
Definition vsf_tgui_common.h:277
int16_t iHeight
Definition vsf_tgui_common.h:278
Definition vsf_tgui_common.h:352
vsf_tgui_text_id_t tID
Definition vsf_tgui_common.h:353
Definition vsf_tgui_common.h:371
uint8_t bIsChanged
Definition vsf_tgui_common.h:375
int8_t chInterLineSpace
Definition vsf_tgui_common.h:377
struct vsf_tgui_text_info_t::@179 tInfoCache
vsf_tgui_size_t tStringSize
Definition vsf_tgui_common.h:380
uint8_t chCharHeight
Definition vsf_tgui_common.h:382
vsf_tgui_string_t tString
Definition vsf_tgui_common.h:372
uint16_t hwLines
Definition vsf_tgui_common.h:381
uint8_t u4Align
Definition vsf_tgui_common.h:373
uint8_t bIsAutoSize
Definition vsf_tgui_common.h:376
Definition vsf_tgui_common.h:421
vsf_tgui_tile_core_t implement_ex(vsf_tgui_size_t, tSize) vsf_tgui_disp_ram_uintptr_t ptBitmap
Definition vsf_tgui_common.h:428
implement_ex(vsf_tgui_size_t, tSize) vsf_tgui_tile_core_t *parent_ptr
Definition vsf_tgui_common.h:402
uint8_t u2RootTileType
Definition vsf_tgui_common.h:404
struct vsf_tgui_tile_core_t::@180 Attribute
uint8_t bIsRootTile
Definition vsf_tgui_common.h:407
uint8_t u2ColorType
Definition vsf_tgui_common.h:405
uint8_t u3ColorSize
Definition vsf_tgui_common.h:406
const char * name_ptr
Definition vsf_tgui_common.h:412
Definition vsf_tgui_common.h:416
uint8_t chIndex
Definition vsf_tgui_common.h:417
Definition vsf_tgui_common.h:591
Definition vsf_tgui_common.h:444
vsf_tgui_tile_child_t tChild
Definition vsf_tgui_common.h:454
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:453
@ 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
vsf_msgt_msg_t
Definition vsf_msg_tree.h:79
struct @747::@773 _
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:393
vsf_tgui_align_mode_t
Definition vsf_tgui_common.h:287
@ VSF_TGUI_ALIGN_FILL
Definition vsf_tgui_common.h:293
@ VSF_TGUI_ALIGN_MID_BOTTOM
Definition vsf_tgui_common.h:300
@ VSF_TGUI_ALIGN_BOTTOM
Definition vsf_tgui_common.h:292
@ VSF_TGUI_ALIGN_BOTTOM_RIGHT
Definition vsf_tgui_common.h:315
@ VSF_TGUI_ALIGN_CENTER
Definition vsf_tgui_common.h:288
@ VSF_TGUI_ALIGN_LEFT
Definition vsf_tgui_common.h:289
@ VSF_TGUI_ALIGN_TOP_RIGHT
Definition vsf_tgui_common.h:309
@ VSF_TGUI_ALIGN_MID_TOP
Definition vsf_tgui_common.h:298
@ VSF_TGUI_ALIGN_TOP
Definition vsf_tgui_common.h:291
@ VSF_TGUI_ALIGN_BOTTOM_LEFT
Definition vsf_tgui_common.h:312
@ VSF_TGUI_ALIGN_MID_LEFT
Definition vsf_tgui_common.h:302
@ VSF_TGUI_ALIGN_TOP_LEFT
Definition vsf_tgui_common.h:306
@ VSF_TGUI_ALIGN_RIGHT
Definition vsf_tgui_common.h:290
@ VSF_TGUI_ALIGN_MID_RIGHT
Definition vsf_tgui_common.h:304
vsf_tgui_anchor_mode_t
Definition vsf_tgui_common.h:332
@ VSF_TGUI_ANCHOR_TOP
Definition vsf_tgui_common.h:336
@ VSF_TGUI_ANCHOR_BOTTOM
Definition vsf_tgui_common.h:337
@ VSF_TGUI_ANCHOR_NONE
Definition vsf_tgui_common.h:333
@ VSF_TGUI_ANCHOR_LEFT
Definition vsf_tgui_common.h:334
@ VSF_TGUI_ANCHOR_RIGHT
Definition vsf_tgui_common.h:335
vsf_tgui_dock_mode_t
Definition vsf_tgui_common.h:320
@ VSF_TGUI_DOCK_BOTTOM
Definition vsf_tgui_common.h:325
@ VSF_TGUI_DOCK_TOP
Definition vsf_tgui_common.h:324
@ VSF_TGUI_DOCK_NONE
Definition vsf_tgui_common.h:321
@ VSF_TGUI_DOCK_RIGHT
Definition vsf_tgui_common.h:323
@ VSF_TGUI_DOCK_FILL
Definition vsf_tgui_common.h:326
@ VSF_TGUI_DOCK_LEFT
Definition vsf_tgui_common.h:322
#define VSF_TGUI_CFG_LANGUAGE_ID_TYPE
Definition vsf_tgui_common.h:347
vsf_tgui_container_type_t
Definition vsf_tgui_common.h:461
@ VSF_TGUI_CONTAINER_TYPE_LINE_STREAM_VERTICAL
Definition vsf_tgui_common.h:466
@ VSF_TGUI_CONTAINER_TYPE_STREAM_HORIZONTAL
Definition vsf_tgui_common.h:463
@ VSF_TGUI_CONTAINER_TYPE_LINE_STREAM_HORIZONTAL
Definition vsf_tgui_common.h:465
@ VSF_TGUI_CONTAINER_TYPE_STREAM_VERTICAL
Definition vsf_tgui_common.h:464
@ VSF_TGUI_CONTAINER_TYPE_PLANE
Definition vsf_tgui_common.h:462
struct vsf_tgui_control_t vsf_tgui_control_t
Definition vsf_tgui_common.h:555
@ VSF_TGUI_MSG_RT_UNHANDLED
Definition vsf_tgui_common.h:549
@ VSF_TGUI_MSG_RT_REFRESH_PARENT
Definition vsf_tgui_common.h:552
@ VSF_TGUI_MSG_RT_REFRESH
Definition vsf_tgui_common.h:551
@ VSF_TGUI_MSG_RT_DONE
Definition vsf_tgui_common.h:550
VSF_TGUI_CFG_DRAM_POINTER_TYPE vsf_tgui_disp_ram_uintptr_t
Definition vsf_tgui_common.h:396
@ VSF_TGUI_EVT_POINTER_ENTER
not all device support this
Definition vsf_tgui_common.h:504
@ VSF_TGUI_EVT_ON_LOAD
Definition vsf_tgui_common.h:484
@ VSF_TGUI_EVT_POINTER_LEFT
not all device support this
Definition vsf_tgui_common.h:507
@ VSF_TGUI_EVT_LIST_SLIDING_STOPPED
Definition vsf_tgui_common.h:545
@ VSF_TGUI_EVT_POINTER_HOLD
not all device support this
Definition vsf_tgui_common.h:498
@ VSF_TGUI_EVT_KEY_UP
Definition vsf_tgui_common.h:524
@ VSF_TGUI_EVT_UPDATE_TREE
Definition vsf_tgui_common.h:487
@ VSF_TGUI_EVT_KEY_DOWN
Definition vsf_tgui_common.h:522
@ VSF_TGUI_EVT_ON_SET_TOP_CONTAINER
Definition vsf_tgui_common.h:483
@ VSF_TGUI_MSG_AVAILABLE
Definition vsf_tgui_common.h:477
@ VSF_TGUI_EVT_UPDATE
Definition vsf_tgui_common.h:486
@ VSF_TGUI_MSG_GESTURE_EVT
gesture events
Definition vsf_tgui_common.h:530
@ VSF_TGUI_EVT_GESTURE_ZOOM_OUT
not all device support this
Definition vsf_tgui_common.h:535
@ VSF_TGUI_EVT_GESTURE_WHEEL
not all device support this
Definition vsf_tgui_common.h:533
@ VSF_TGUI_EVT_GESTURE_ROTATE_ANTICLOCKWISE
not all device support this
Definition vsf_tgui_common.h:537
@ VSF_TGUI_EVT_GET_ACTIVE
Definition vsf_tgui_common.h:490
@ VSF_TGUI_EVT_POST_REFRESH
Definition vsf_tgui_common.h:489
@ VSF_TGUI_EVT_POINTER_DOUBLE_CLICK
Definition vsf_tgui_common.h:501
@ VSF_TGUI_EVT_ON_TIME
Definition vsf_tgui_common.h:492
@ VSF_TGUI_MSG_CONTROL_EVT
control events
Definition vsf_tgui_common.h:482
@ VSF_TGUI_EVT_POINTER_CLICK
Definition vsf_tgui_common.h:500
@ VSF_TGUI_EVT_REFRESH
Definition vsf_tgui_common.h:488
@ VSF_TGUI_EVT_ON_DEPOSE
Definition vsf_tgui_common.h:485
@ VSF_TGUI_EVT_KEY_PRESSED
Definition vsf_tgui_common.h:525
@ VSF_TGUI_EVT_POINTER_HOVER
not all device support this
Definition vsf_tgui_common.h:516
@ VSF_TGUI_MSG_KEY_EVT
key events
Definition vsf_tgui_common.h:521
@ VSF_TGUI_EVT_POINTER_MOVE
not all device support this
Definition vsf_tgui_common.h:518
@ VSF_TGUI_EVT_GESTURE_ROTATE_CLOCKWISE
not all device support this
Definition vsf_tgui_common.h:536
@ VSF_TGUI_EVT_KEY_DOUBLE_CLICK
not all device support this
Definition vsf_tgui_common.h:527
@ VSF_TGUI_EVT_KEY_REPEATE
not all device support this
Definition vsf_tgui_common.h:523
@ VSF_TGUI_MSG_LOW_LEVEL_READY_TO_REFRESH
Definition vsf_tgui_common.h:478
@ VSF_TGUI_MSG_LIST_EVT
Definition vsf_tgui_common.h:542
@ VSF_TGUI_MSG_POINTER_EVT
pointer events
Definition vsf_tgui_common.h:495
@ VSF_TGUI_EVT_KEY_LONG_PRESSED
not all device support this
Definition vsf_tgui_common.h:526
@ VSF_TGUI_EVT_LOST_ACTIVE
Definition vsf_tgui_common.h:491
@ VSF_TGUI_EVT_GESTURE_ZOOM_IN
not all device support this
Definition vsf_tgui_common.h:534
@ VSF_TGUI_EVT_POINTER_DOWN
Definition vsf_tgui_common.h:497
@ VSF_TGUI_EVT_POINTER_UP
Definition vsf_tgui_common.h:499
@ VSF_TGUI_MSG_CONTROL_SPECIFIC_EVT
All control specific events share the same code region.
Definition vsf_tgui_common.h:540
@ VSF_TGUI_EVT_LIST_SLIDING_STARTED
Definition vsf_tgui_common.h:544
@ VSF_TGUI_EVT_LIST_SELECTION_CHANGED
Definition vsf_tgui_common.h:543
@ VSF_TGUI_MSG
Definition vsf_tgui_common.h:479
@ VSF_TGUI_EVT_GESTURE_SLIDE
Definition vsf_tgui_common.h:532
struct vsf_tgui_root_container_t vsf_tgui_root_container_t
Definition vsf_tgui_common.h:556
VSF_TGUI_CFG_LANGUAGE_ID_TYPE vsf_tgui_text_id_t
Definition vsf_tgui_common.h:350