35#ifndef __VSF_TGUI_CONTROLS_BUTTON_H__
36#define __VSF_TGUI_CONTROLS_BUTTON_H__
46#if defined(__VSF_TGUI_CONTROLS_BUTTON_CLASS_IMPLEMENT)
47# define __PLOOC_CLASS_IMPLEMENT__
48# undef __VSF_TGUI_CONTROLS_BUTTON_CLASS_IMPLEMENT
49#elif defined(__VSF_TGUI_CONTROLS_BUTTON_CLASS_INHERIT)
50# define __PLOOC_CLASS_INHERIT__
51# undef __VSF_TGUI_CONTROLS_BUTTON_CLASS_INHERIT
59#define __VSF_TGUI_INTERFACE_CONTROLS_BUTTON { \
61 VSF_MSGT_NODE_HANDLER_TYPE_FSM, \
62 (vsf_msgt_method_fsm_t *)&vsf_tgui_button_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, \
73#define __tgui_button(__NAME, __PARENT_ADDR, __PREVIOUS, __NEXT, ...) \
74 tgui_control_base( __NAME, \
75 VSF_TGUI_COMPONENT_ID_BUTTON, \
80 VSF_TGUI_V_BUTTON_STATIC_INIT_DEFAULT \
82 VSF_TGUI_V_BUTTON_STATIC_INIT_OVERRIDE)
84#define tgui_button(__NAME, __PARENT_ADDR, __PREVIOUS, __NEXT, ...) \
85 __tgui_button( __NAME, \
91#define __tgui_set_internal_button( __OWNER_ADDR, \
95 (*__OWNER_ADDR) tgui_button( \
102#define tgui_set_internal_button( __OWNER_ADDR, \
106 __tgui_set_internal_button( (__OWNER_ADDR), \
113#define tgui_set_priv_button( __OWNER_ADDR , \
116 __tgui_set_internal_button( (__OWNER_ADDR), \
129 implement(vsf_tgui_label_t)
130 implement(vsf_tgui_v_button_t)
145end_def_class(vsf_tgui_button_t)
unsigned char uint8_t
Definition lvgl.h:40
Definition vsf_tgui_common.h:552
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
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
which(vsf_tgui_control_t vsf_tgui_v_label_t) public vsf_tgui_msg_t * ptMSG
Definition vsf_tgui_label.h:157
const vsf_tgui_control_t * control_ptr
Definition vsf_tgui_scguiv_port.h:87