VSF Documented
vsf_tgui_v_button.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#ifndef __VSF_TINY_GUI_V_BUTTON_H__
19#define __VSF_TINY_GUI_V_BUTTON_H__
20
21/*============================ INCLUDES ======================================*/
22#include "../../vsf_tgui_cfg.h"
23
24#if VSF_USE_TINY_GUI == ENABLED \
25 && VSF_TGUI_CFG_RENDERING_TEMPLATE_SEL == VSF_TGUI_V_TEMPLATE_EXAMPLE
26
27#include "../../controls/vsf_tgui_controls.h"
28
29
30/*============================ MACROS ========================================*/
31/*============================ MACROFIED FUNCTIONS ===========================*/
32/*============================ TYPES =========================================*/
33def_structure(vsf_tgui_v_button_t)
34#if __IS_COMPILER_IAR__
35//please remove this if your structure is not emplty
36uint8_t : 8;
37#endif
38end_def_structure(vsf_tgui_v_button_t)
39
40/*============================ GLOBAL VARIABLES ==============================*/
41/*============================ PROTOTYPES ====================================*/
42
43extern fsm_rt_t vsf_tgui_button_v_init(vsf_tgui_button_t* ptButton);
44
45extern fsm_rt_t vsf_tgui_button_v_rendering(vsf_tgui_button_t* ptButton,
46 vsf_tgui_region_t* ptDirtyRegion);
47
48extern fsm_rt_t vsf_tgui_button_v_depose(vsf_tgui_button_t* ptButton);
49
50#endif
51
52#endif
53/* EOF */
end_def_structure(vsf_tgui_v_control_t) declare_structure(vsf_tgui_v_container_t) def_structure(vsf_tgui_v_container_t) REG_RSVD_U8 end_def_structure(vsf_tgui_v_container_t) declare_structure(vsf_tgui_v_label_t) def_structure(vsf_tgui_v_label_t) vsf_tgui_sv_color_t font_color
unsigned char uint8_t
Definition stdint.h:5
Definition vsf_tgui_common.h:236
fsm_rt_t
Definition vsf_fsm.h:315
fsm_rt_t vsf_tgui_button_v_init(vsf_tgui_button_t *button_ptr)
Definition vsf_tgui_v_button.c:37
def_structure(vsf_tgui_v_button_t) end_def_structure(vsf_tgui_v_button_t) extern fsm_rt_t vsf_tgui_button_v_init(vsf_tgui_button_t *ptButton)
fsm_rt_t vsf_tgui_button_v_rendering(vsf_tgui_button_t *ptButton, vsf_tgui_region_t *ptDirtyRegion)
Definition vsf_tgui_v_button.c:42
fsm_rt_t vsf_tgui_button_v_depose(vsf_tgui_button_t *ptButton)
Definition vsf_tgui_sv_button.c:60