35#ifndef __VSF_TGUI_CONTROLS_LABEL_H__
36#define __VSF_TGUI_CONTROLS_LABEL_H__
47#if defined(__VSF_TGUI_CONTROLS_LABEL_CLASS_IMPLEMENT)
48# define __PLOOC_CLASS_IMPLEMENT__
49# undef __VSF_TGUI_CONTROLS_LABEL_CLASS_IMPLEMENT
50#elif defined(__VSF_TGUI_CONTROLS_LABEL_CLASS_INHERIT)
51# define __PLOOC_CLASS_INHERIT__
52# undef __VSF_TGUI_CONTROLS_LABEL_CLASS_INHERIT
63# define __VSF_TGUI_INTERFACE_CONTROLS_LABEL { \
65 VSF_MSGT_NODE_HANDLER_TYPE_FSM, \
66 (vsf_msgt_method_fsm_t *)&vsf_tgui_label_msg_handler, \
68 .Status = (vsf_msgt_method_status_t *) \
69 &vsf_tgui_control_status_get, \
70 .Shoot = (vsf_msgt_method_shoot_t *)&vsf_tgui_control_shoot, \
75#define __tgui_label(__NAME, __PARENT_ADDR, __PREVIOUS, __NEXT, ...) \
76 tgui_control_base( __NAME, \
77 VSF_TGUI_COMPONENT_ID_LABEL, \
82 VSF_TGUI_V_LABEL_STATIC_INIT_DEFAULT \
84 VSF_TGUI_V_LABEL_STATIC_INIT_OVERRIDE)
86#define tgui_label(__NAME, __PARENT_ADDR, __PREVIOUS, __NEXT, ...) \
87 __tgui_label( __NAME, \
93#define __tgui_label_const(__NAME, __PARENT_ADDR, __PREVIOUS, __NEXT, ...) \
94 tgui_control_base_const(__NAME, \
95 VSF_TGUI_COMPONENT_ID_LABEL, \
100 VSF_TGUI_V_LABEL_STATIC_INIT_DEFAULT \
102 VSF_TGUI_V_LABEL_STATIC_INIT_OVERRIDE)
104#define tgui_label_const(__NAME, __PARENT_ADDR, __PREVIOUS, __NEXT, ...) \
105 __tgui_label_const( __NAME, \
112#define __tgui_set_internal_label( __OWNER_ADDR, \
116 (*__OWNER_ADDR) tgui_label_const ( \
123#define tgui_set_internal_label( __OWNER_ADDR, \
127 __tgui_set_internal_label( (__OWNER_ADDR), \
134#define tgui_set_priv_label( __OWNER_ADDR , \
137 __tgui_set_internal_label( (__OWNER_ADDR), \
139 __MEMBER, __MEMBER, \
148 implement(vsf_tgui_v_label_t)
170 VSF_TGUI_CFG_STRING_TYPE *pstrText);
Definition vsf_tgui_common.h:558
Definition vsf_tgui_common.h:371
fsm_rt_t
Definition vsf_fsm.h:315
def_class(vsf_stream_fifo_t, which(vsf_stream_tx_t TX;vsf_stream_rx_t RX;), private:vsf_slist_queue_t union { vsf_stream_fifo_cfg_t cfg;struct { vsf_stream_dat_rdy_evt_t tDataReadyEventHandling;vsf_stream_dat_drn_evt_t tDataDrainEventHandling;vsf_stream_status_t Status;#if !defined(VSF_PBUF_QUEUE_CFG_ATOM_ACCESS) vsf_protect_region_t *pregion;#endif };};) end_def_class(vsf_stream_fifo_t) extern vsf_err_t vsf_stream_fifo_init(vsf_stream_fifo_t *obj_ptr
struct vsf_tgui_control_t vsf_tgui_control_t
Definition vsf_tgui_common.h:555
which(union { inherit(vsf_msgt_container_t) vsf_tgui_control_t };vsf_tgui_v_container_t) implement_ex(struct
Definition vsf_tgui_control.h:566
fsm_rt_t vsf_tgui_label_msg_handler(vsf_tgui_label_t *control_ptr, vsf_tgui_msg_t *ptMSG)
Definition vsf_tgui_label.c:69
fsm_rt_t vk_tgui_label_update(vsf_tgui_label_t *ptLabel)
Definition vsf_tgui_label.c:103
which(vsf_tgui_control_t vsf_tgui_v_label_t) public vsf_tgui_msg_t * ptMSG
Definition vsf_tgui_label.h:161
declare_class(vsf_tgui_label_t) def_class(vsf_tgui_label_t
void vsf_tgui_label_set_text(vsf_tgui_label_t *ptLabel, VSF_TGUI_CFG_STRING_TYPE *pstrText)
Definition vsf_tgui_label.c:138
which(vsf_tgui_control_t vsf_tgui_v_label_t) public end_def_class(vsf_tgui_label_t) extern fsm_rt_t vsf_tgui_label_msg_handler(vsf_tgui_label_t *control_ptr
fsm_rt_t vk_tgui_label_init(vsf_tgui_label_t *ptLabel)
Definition vsf_tgui_label.c:133
const vsf_tgui_control_t * control_ptr
Definition vsf_tgui_scguiv_port.h:91