VSF Documented
vsf_tgui_controls.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/****************************************************************************
19* Copyright 2020 by Gorgon Meducer (Email:embedded_zhuoran@hotmail.com) *
20* *
21* Licensed under the Apache License, Version 2.0 (the "License"); *
22* you may not use this file except in compliance with the License. *
23* You may obtain a copy of the License at *
24* *
25* http://www.apache.org/licenses/LICENSE-2.0 *
26* *
27* Unless required by applicable law or agreed to in writing, software *
28* distributed under the License is distributed on an "AS IS" BASIS, *
29* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
30* See the License for the specific language governing permissions and *
31* limitations under the License. *
32* *
33****************************************************************************/
34
35#ifndef __VSF_TINY_GUI_MC_H__
36#define __VSF_TINY_GUI_MC_H__
37
38/*============================ INCLUDES ======================================*/
39#include "../vsf_tgui_cfg.h"
40
41#if VSF_USE_TINY_GUI == ENABLED
42#include "./vsf_msg_tree_cfg.h"
43
44
45#include "vsf_tgui_control.h"
46#include "vsf_tgui_label.h"
47#include "vsf_tgui_button.h"
48#include "vsf_tgui_panel.h"
49#include "vsf_tgui_list.h"
50#include "vsf_tgui_text_list.h"
51
52/*============================ MACROS ========================================*/
53/*============================ MACROFIED FUNCTIONS ===========================*/
54/*============================ TYPES =========================================*/
55/*============================ GLOBAL VARIABLES ==============================*/
56/*============================ PROTOTYPES ====================================*/
57
58extern bool vsf_tgui_region_intersect( vsf_tgui_region_t* ptRegionOut,
59 const vsf_tgui_region_t* ptRegionIn0,
60 const vsf_tgui_region_t* ptRegionIn1);
61extern
63 vsf_tgui_region_t *ptOutRegion,
64 vsf_tgui_region_t *ptReferenceRegion,
65 vsf_tgui_region_t *ptAbsoluteRegion);
66extern
68 vsf_tgui_location_t *ptOutLocation,
69 vsf_tgui_location_t *ptReferenceLocation,
70 vsf_tgui_location_t *ptAbsoluteLocation);
71#endif
72
73#endif
74/* EOF */
Definition vsf_tgui_common.h:226
Definition vsf_tgui_common.h:236
bool vsf_tgui_region_intersect(vsf_tgui_region_t *ptRegionOut, const vsf_tgui_region_t *ptRegionIn0, const vsf_tgui_region_t *ptRegionIn1)
Definition vsf_tgui_controls_common.c:70
vsf_tgui_region_t * vsf_tgui_region_get_relative_region(vsf_tgui_region_t *ptOutRegion, vsf_tgui_region_t *ptReferenceRegion, vsf_tgui_region_t *ptAbsoluteRegion)
Definition vsf_tgui_controls_common.c:125
vsf_tgui_location_t * vsf_tgui_region_get_relative_location(vsf_tgui_location_t *ptOutLocation, vsf_tgui_location_t *ptReferenceLocation, vsf_tgui_location_t *ptAbsoluteLocation)
Definition vsf_tgui_controls_common.c:111