|
#define | VSF_TGUI_COLORSIZE_1BIT 0 |
|
#define | VSF_TGUI_COLORSIZE_4BIT 2 |
|
#define | VSF_TGUI_COLORSIZE_8BIT 3 |
|
#define | VSF_TGUI_COLORSIZE_16BIT 4 |
|
#define | VSF_TGUI_COLORSIZE_24BIT 6 |
|
#define | VSF_TGUI_COLORSIZE_32BIT 5 |
|
#define | tgui_contains(...) __VA_ARGS__ |
|
#define | tgui_null_parent(__type) ((__type *)0) |
|
#define | __tgui_attribute(__NAME, ...) .__NAME = __VA_ARGS__ |
|
#define | tgui_attribute(__NAME, ...) __tgui_attribute(__NAME, __VA_ARGS__) |
|
#define | tgui_alignto(...) __tgui_attribute(tAlign, {__VA_ARGS__}) |
|
#define | tgui_anchor(...) __tgui_attribute(tAnchor, __VA_ARGS__) |
|
#define | tgui_dock(...) __tgui_attribute(tDock, __VA_ARGS__) |
|
#define | tgui_margin(...) __tgui_attribute(tMargin, {__VA_ARGS__}) |
|
#define | tgui_padding(...) __tgui_attribute(tContainerPadding, {__VA_ARGS__}) |
|
#define | __tgui_text(__NAME, __ID, __ALIGN) |
|
#define | __tgui_text0(__NAME, __ID) __tgui_text1(__NAME, (__ID), 0) |
|
#define | __tgui_text(__NAME, __ID, ...) __PLOOC_EVAL(__tgui_text, __VA_ARGS__)(__NAME, (__ID), ##__VA_ARGS__) |
|
#define | __tgui_container_type1(__TYPE, __AUTOSIZE) |
|
#define | __tgui_container_type0(__TYPE) __tgui_container_type1((__TYPE), true) |
|
#define | __tgui_container_type(__TYPE, ...) __PLOOC_EVAL(__tgui_container_type, __VA_ARGS__)((__TYPE), ##__VA_ARGS__) |
|
#define | __tgui_line_space(__NAME, __PIX) .__NAME.chInterLineSpace = (__PIX) |
|
#define | tgui_size(...) __tgui_attribute(tSize, {__VA_ARGS__}) |
|
#define | tgui_location(...) __tgui_attribute(tLocation, {__VA_ARGS__}) |
|
#define | tgui_region(...) __tgui_attribute(tRegion, {__VA_ARGS__}) |
|
#define | tgui_background(...) __tgui_attribute(tBackground, {__VA_ARGS__}) |
|
#define | tgui_text(__NAME, __TEXT, __AUTOSIZE, ...) __tgui_text(__NAME, __TEXT, __AUTOSIZE, ##__VA_ARGS__) |
|
#define | tgui_line_space(__NAME, __PIX) __tgui_line_space(__NAME, (__PIX)) |
|
#define | tgui_timer1(__NAME, __INTERVAL, __REPEATE, __ENABLED) |
|
#define | tgui_timer0(__NAME, __INTERVAL, __REPEATE) tgui_timer1(__NAME, (__INTERVAL), (__REPEATE), true) |
|
#define | tgui_timer(__NAME, __INTERVAL, __REPEATE, ...) __PLOOC_EVAL(tgui_timer, __VA_ARGS__)(__NAME, (__INTERVAL), (__REPEATE), ##__VA_ARGS__) |
|
#define | tgui_handler(...) __tgui_attribute(msg_handler, {__VA_ARGS__}) |
|
#define | tgui_container_type(__TYPE, ...) __tgui_container_type(__TYPE, ##__VA_ARGS__) |
|
#define | __describe_tgui_msgmap(__NAME, ...) |
|
#define | describe_tgui_msgmap(__NAME, ...) __describe_tgui_msgmap(__NAME, __VA_ARGS__) |
|
#define | __tgui_handlers(...) |
|
#define | __tgui_msgmap(...) |
|
#define | __tgui_msgmap_var(__msgmap) |
|
#define | __tgui_msg_handler1(__MSG, __FUNC, __MASK) |
|
#define | __tgui_msg_mux1(__MSG, __FUNC, __MASK) |
|
#define | __tgui_msg_handler0(__MSG, __FUNC) __tgui_msg_handler1((__MSG), __FUNC, (uint16_t)-1) |
|
#define | __tgui_msg_handler(__MSG, __FUNC, ...) __PLOOC_EVAL(__tgui_msg_handler, __VA_ARGS__)((__MSG), __FUNC, ##__VA_ARGS__) |
|
#define | __tgui_msg_mux0(__MSG, __FUNC) __tgui_msg_mux1((__MSG), __FUNC, 0) |
|
#define | __tgui_msg_mux(__MSG, __FUNC, ...) __PLOOC_EVAL(__tgui_msg_mux, __VA_ARGS__)((__MSG), __FUNC, ##__VA_ARGS__) |
|
#define | tgui_handlers(...) __tgui_handlers(__VA_ARGS__) |
|
#define | tgui_msgmap(...) __tgui_msgmap(__VA_ARGS__) |
|
#define | tgui_msgmap_var(__msgmap) __tgui_msgmap_var(__msgmap) |
|
#define | tgui_msg_handler(__MSG, __FUNC, ...) __tgui_msg_handler(__MSG, __FUNC, ##__VA_ARGS__) |
|
#define | tgui_msg_mux(__MSG, __FUNC, ...) __tgui_msg_mux((__MSG), __FUNC, ##__VA_ARGS__) |
|
#define | tgui_initalize_top_container(__DESCRIPTOR_NAME, __PTR) |
|
#define | VSF_TGUI_CFG_LANGUAGE_ID_TYPE uint8_t |
|
#define | VSF_TGUI_CFG_DRAM_POINTER_TYPE uintptr_t |
|
#define | VSF_TGUI_TILE_COLORTYPE_RGB 0 |
|
#define | VSF_TGUI_TILE_COLORTYPE_RGBA 1 |
|
#define | VSF_TGUI_TILE_COLORTYPE_A 2 |
|
#define | VSF_TGUI_MSG_MSK (0x1F0) |
|
#define | VSF_TGUI_EVT_MSK (0x00F) |
|
|
enum | vsf_tgui_align_mode_t {
VSF_TGUI_ALIGN_CENTER = 0
,
VSF_TGUI_ALIGN_LEFT = VSF_BIT(0)
,
VSF_TGUI_ALIGN_RIGHT = VSF_BIT(1)
,
VSF_TGUI_ALIGN_TOP = VSF_BIT(2)
,
VSF_TGUI_ALIGN_BOTTOM = VSF_BIT(3)
,
VSF_TGUI_ALIGN_FILL
,
VSF_TGUI_ALIGN_MID_TOP = VSF_TGUI_ALIGN_TOP
,
VSF_TGUI_ALIGN_MID_BOTTOM = VSF_TGUI_ALIGN_BOTTOM
,
VSF_TGUI_ALIGN_MID_LEFT = VSF_TGUI_ALIGN_LEFT
,
VSF_TGUI_ALIGN_MID_RIGHT = VSF_TGUI_ALIGN_RIGHT
,
VSF_TGUI_ALIGN_TOP_LEFT
,
VSF_TGUI_ALIGN_TOP_RIGHT
,
VSF_TGUI_ALIGN_BOTTOM_LEFT
,
VSF_TGUI_ALIGN_BOTTOM_RIGHT
} |
|
enum | vsf_tgui_dock_mode_t {
VSF_TGUI_DOCK_NONE = 0
,
VSF_TGUI_DOCK_LEFT = VSF_BIT(0)
,
VSF_TGUI_DOCK_RIGHT = VSF_BIT(1)
,
VSF_TGUI_DOCK_TOP = VSF_BIT(2)
,
VSF_TGUI_DOCK_BOTTOM = VSF_BIT(3)
,
VSF_TGUI_DOCK_FILL
} |
|
enum | vsf_tgui_anchor_mode_t {
VSF_TGUI_ANCHOR_NONE = 0
,
VSF_TGUI_ANCHOR_LEFT = VSF_BIT(0)
,
VSF_TGUI_ANCHOR_RIGHT = VSF_BIT(1)
,
VSF_TGUI_ANCHOR_TOP = VSF_BIT(2)
,
VSF_TGUI_ANCHOR_BOTTOM = VSF_BIT(3)
} |
|
enum | vsf_tgui_container_type_t {
VSF_TGUI_CONTAINER_TYPE_PLANE
,
VSF_TGUI_CONTAINER_TYPE_STREAM_HORIZONTAL
,
VSF_TGUI_CONTAINER_TYPE_STREAM_VERTICAL
,
VSF_TGUI_CONTAINER_TYPE_LINE_STREAM_HORIZONTAL
,
VSF_TGUI_CONTAINER_TYPE_LINE_STREAM_VERTICAL
} |
|
enum | {
VSF_TGUI_MSG_AVAILABLE = 0x200
,
VSF_TGUI_MSG_LOW_LEVEL_READY_TO_REFRESH
,
VSF_TGUI_MSG = 0x210
,
VSF_TGUI_MSG_CONTROL_EVT = VSF_TGUI_MSG + 0x00
,
VSF_TGUI_EVT_ON_SET_TOP_CONTAINER
,
VSF_TGUI_EVT_ON_LOAD
,
VSF_TGUI_EVT_ON_DEPOSE
,
VSF_TGUI_EVT_UPDATE
,
VSF_TGUI_EVT_UPDATE_TREE
,
VSF_TGUI_EVT_REFRESH
,
VSF_TGUI_EVT_POST_REFRESH
,
VSF_TGUI_EVT_GET_ACTIVE
,
VSF_TGUI_EVT_LOST_ACTIVE
,
VSF_TGUI_EVT_ON_TIME
,
VSF_TGUI_MSG_POINTER_EVT = VSF_TGUI_MSG + 0x10
,
VSF_TGUI_EVT_POINTER_DOWN = VSF_TGUI_MSG_POINTER_EVT
,
VSF_TGUI_EVT_POINTER_HOLD
,
VSF_TGUI_EVT_POINTER_UP
,
VSF_TGUI_EVT_POINTER_CLICK
,
VSF_TGUI_EVT_POINTER_DOUBLE_CLICK
,
VSF_TGUI_EVT_POINTER_ENTER
,
VSF_TGUI_EVT_POINTER_LEFT
,
VSF_TGUI_EVT_POINTER_HOVER
,
VSF_TGUI_EVT_POINTER_MOVE
,
VSF_TGUI_MSG_KEY_EVT = VSF_TGUI_MSG + 0x20
,
VSF_TGUI_EVT_KEY_DOWN = VSF_TGUI_MSG_KEY_EVT
,
VSF_TGUI_EVT_KEY_REPEATE
,
VSF_TGUI_EVT_KEY_UP
,
VSF_TGUI_EVT_KEY_PRESSED
,
VSF_TGUI_EVT_KEY_LONG_PRESSED
,
VSF_TGUI_EVT_KEY_DOUBLE_CLICK
,
VSF_TGUI_MSG_GESTURE_EVT = VSF_TGUI_MSG + 0x30
,
VSF_TGUI_EVT_GESTURE_SLIDE = VSF_TGUI_MSG_GESTURE_EVT
,
VSF_TGUI_EVT_GESTURE_WHEEL
,
VSF_TGUI_EVT_GESTURE_ZOOM_IN
,
VSF_TGUI_EVT_GESTURE_ZOOM_OUT
,
VSF_TGUI_EVT_GESTURE_ROTATE_CLOCKWISE
,
VSF_TGUI_EVT_GESTURE_ROTATE_ANTICLOCKWISE
,
VSF_TGUI_MSG_CONTROL_SPECIFIC_EVT = VSF_TGUI_MSG + 0x40
,
VSF_TGUI_MSG_LIST_EVT = VSF_TGUI_MSG_CONTROL_SPECIFIC_EVT
,
VSF_TGUI_EVT_LIST_SELECTION_CHANGED = VSF_TGUI_MSG_LIST_EVT
,
VSF_TGUI_EVT_LIST_SLIDING_STARTED
,
VSF_TGUI_EVT_LIST_SLIDING_STOPPED
} |
|
enum | {
VSF_TGUI_MSG_RT_UNHANDLED = fsm_rt_err
,
VSF_TGUI_MSG_RT_DONE = fsm_rt_cpl
,
VSF_TGUI_MSG_RT_REFRESH = fsm_rt_user
,
VSF_TGUI_MSG_RT_REFRESH_PARENT
} |
|