VSF Documented
vsf_tgui_v_type.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_TMPLATE_TYPE_H__
19#define __VSF_TINY_GUI_V_TMPLATE_TYPE_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 "./vsf_tgui_v_port.h"
28
29/*============================ MACROS ========================================*/
30
31#define VSF_TGUI_V_CONTROL_STATIC_INIT_DEFAULT
32#define VSF_TGUI_V_LABEL_STATIC_INIT_DEFAULT
33#define VSF_TGUI_V_BUTTON_STATIC_INIT_DEFAULT
34#define VSF_TGUI_V_CONTAINER_STATIC_INIT_DEFAULT
35#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_DEFAULT
36#define VSF_TGUI_V_LIST_STATIC_INIT_DEFAULT
37#define VSF_TGUI_V_PANEL_STATIC_INIT_DEFAULT
38#define VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_DEFAULT
39
40#define VSF_TGUI_V_PANEL_STATIC_INIT_OVERRIDE
41#define VSF_TGUI_V_CONTROL_STATIC_INIT_OVERRIDE
42#define VSF_TGUI_V_LABEL_STATIC_INIT_OVERRIDE
43#define VSF_TGUI_V_BUTTON_STATIC_INIT_OVERRIDE
44#define VSF_TGUI_V_CONTAINER_STATIC_INIT_OVERRIDE
45#define VSF_TGUI_V_LIST_STATIC_INIT_OVERRIDE
46#define VSF_TGUI_V_TEXT_LIST_CONTENT_INIT_OVERRIDE
47#define VSF_TGUI_V_TEXT_LIST_STATIC_INIT_OVERRIDE
48
49/*============================ MACROFIED FUNCTIONS ===========================*/
50/*============================ TYPES =========================================*/
51
52def_structure(vsf_tgui_v_control_t)
53#if __IS_COMPILER_IAR__ || (!defined( __STDC_VERSION__ ) || __STDC_VERSION__ < 199901L)
54 //please remove this if your structure is not emplty
55 uint8_t : 8;
56#endif
57end_def_structure(vsf_tgui_v_control_t)
58
59def_structure(vsf_tgui_v_container_t)
60#if __IS_COMPILER_IAR__ || (!defined( __STDC_VERSION__ ) || __STDC_VERSION__ < 199901L)
61 //please remove this if your structure is not emplty
62 uint8_t : 8;
63#endif
64end_def_structure(vsf_tgui_v_container_t)
65
66def_structure(vsf_tgui_v_label_t)
67#if __IS_COMPILER_IAR__ || (!defined( __STDC_VERSION__ ) || __STDC_VERSION__ < 199901L)
68 //please remove this if your structure is not emplty
69 uint8_t : 8;
70#endif
71end_def_structure(vsf_tgui_v_label_t)
72
73def_structure(vsf_tgui_v_button_t)
74#if __IS_COMPILER_IAR__ || (!defined( __STDC_VERSION__ ) || __STDC_VERSION__ < 199901L)
75 //please remove this if your structure is not emplty
76 uint8_t : 8;
77#endif
78end_def_structure(vsf_tgui_v_button_t)
79
80def_structure(vsf_tgui_v_panel_t)
81#if __IS_COMPILER_IAR__ || (!defined( __STDC_VERSION__ ) || __STDC_VERSION__ < 199901L)
82 //please remove this if your structure is not emplty
83 uint8_t : 8;
84#endif
85end_def_structure(vsf_tgui_v_panel_t)
86
87def_structure(vsf_tgui_v_list_t)
88#if __IS_COMPILER_IAR__ || (!defined( __STDC_VERSION__ ) || __STDC_VERSION__ < 199901L)
89 //please remove this if your structure is not emplty
90 uint8_t : 8;
91#endif
92end_def_structure(vsf_tgui_v_list_t)
93
94def_structure(vsf_tgui_v_text_list_t)
95#if __IS_COMPILER_IAR__ || (!defined( __STDC_VERSION__ ) || __STDC_VERSION__ < 199901L)
96 //please remove this if your structure is not emplty
97 uint8_t : 8;
98#endif
99end_def_structure(vsf_tgui_v_text_list_t)
100
101/*============================ GLOBAL VARIABLES ==============================*/
102/*============================ PROTOTYPES ====================================*/
103
104#endif
105
106#endif
107/* EOF */
unsigned char uint8_t
Definition lvgl.h:40
def_structure(vsf_tgui_v_control_t) vsf_tgui_v_color_t background_color
end_def_structure(vsf_tgui_v_port_t) extern void __vsf_tgui_v_update_dirty_region(vsf_tgui_t *gui_ptr
def_structure(vsf_tgui_v_port_t) vk_disp_t *disp