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
59# define __VSF_TGUI_INTERFACE_CONTROLS_LABEL { \
61 VSF_MSGT_NODE_HANDLER_TYPE_FSM, \
62 (vsf_msgt_method_fsm_t *)&vsf_tgui_label_msg_handler, \
64 .Status = (vsf_msgt_method_status_t *) \
65 &vsf_tgui_control_status_get, \
66 .Shoot = (vsf_msgt_method_shoot_t *)&vsf_tgui_control_shoot, \
71#define __tgui_label(__NAME, __PARENT_ADDR, __PREVIOUS, __NEXT, ...) \
72 tgui_control_base( __NAME, \
73 VSF_TGUI_COMPONENT_ID_LABEL, \
78 VSF_TGUI_V_LABEL_STATIC_INIT_DEFAULT \
80 VSF_TGUI_V_LABEL_STATIC_INIT_OVERRIDE)
82#define tgui_label(__NAME, __PARENT_ADDR, __PREVIOUS, __NEXT, ...) \
83 __tgui_label( __NAME, \
89#define __tgui_label_const(__NAME, __PARENT_ADDR, __PREVIOUS, __NEXT, ...) \
90 tgui_control_base_const(__NAME, \
91 VSF_TGUI_COMPONENT_ID_LABEL, \
96 VSF_TGUI_V_LABEL_STATIC_INIT_DEFAULT \
98 VSF_TGUI_V_LABEL_STATIC_INIT_OVERRIDE)
100#define tgui_label_const(__NAME, __PARENT_ADDR, __PREVIOUS, __NEXT, ...) \
101 __tgui_label_const( __NAME, \
108#define __tgui_set_internal_label( __OWNER_ADDR, \
112 (*__OWNER_ADDR) tgui_label_const ( \
119#define tgui_set_internal_label( __OWNER_ADDR, \
123 __tgui_set_internal_label( (__OWNER_ADDR), \
130#define tgui_set_priv_label( __OWNER_ADDR , \
133 __tgui_set_internal_label( (__OWNER_ADDR), \
135 __MEMBER, __MEMBER, \
144 implement(vsf_tgui_v_label_t)
166 VSF_TGUI_CFG_STRING_TYPE *pstrText);
Definition vsf_tgui_common.h:552
Definition vsf_tgui_common.h:365
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:549
which(union { inherit(vsf_msgt_container_t) vsf_tgui_control_t };vsf_tgui_v_container_t) implement_ex(struct
Definition vsf_tgui_control.h:562
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:157
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:87