VSF Documented
vsf_tgui_sv_draw.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_DRAW_H__
19#define __VSF_TINY_GUI_V_DRAW_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_SIMPLE_VIEW
26
27#include "../../controls/vsf_tgui_controls.h"
29
30
31/*============================ MACROS ========================================*/
32/*============================ MACROFIED FUNCTIONS ===========================*/
33/*============================ TYPES =========================================*/
34/*============================ GLOBAL VARIABLES ==============================*/
35/*============================ PROTOTYPES ====================================*/
36
37extern void vsf_tgui_control_v_draw_rect(const vsf_tgui_control_t* control_ptr,
38 const vsf_tgui_region_t* dirty_region_ptr,
39 const vsf_tgui_region_t* ptRectRegion,
41
42extern void vsf_tgui_control_v_draw_tile(const vsf_tgui_control_t* control_ptr,
43 const vsf_tgui_region_t* dirty_region_ptr,
44 const vsf_tgui_tile_t* tile_ptr,
45 const vsf_tgui_align_mode_t mode,
46 const uint8_t trans_rate,
47 vsf_tgui_region_t* ptPlacedRegion);
48
49extern void vsf_tgui_control_v_draw_text(const vsf_tgui_control_t* control_ptr,
50 const vsf_tgui_region_t* dirty_region_ptr,
51 vsf_tgui_text_info_t *ptStringInfo,
52 const uint8_t font_index,
54 const vsf_tgui_align_mode_t mode);
55
56#endif
57
58#endif
59/* EOF */
unsigned char uint8_t
Definition stdint.h:5
Definition vsf_tgui_common.h:236
Definition vsf_tgui_sv_color.h:84
Definition vsf_tgui_common.h:326
Definition vsf_tgui_common.h:395
uint32_t color
Definition vsf_sdl2_pixelformat.c:31
vsf_tgui_align_mode_t
Definition vsf_tgui_common.h:242
struct vsf_tgui_control_t vsf_tgui_control_t
Definition vsf_tgui_common.h:506
void vsf_tgui_control_v_draw_tile(const vsf_tgui_control_t *control_ptr, const vsf_tgui_region_t *dirty_region_ptr, const vsf_tgui_tile_t *tile_ptr, const vsf_tgui_align_mode_t mode, const uint8_t trans_rate, vsf_tgui_region_t *ptPlacedRegion)
Definition vsf_tgui_sv_draw.c:262
void vsf_tgui_control_v_draw_text(const vsf_tgui_control_t *control_ptr, const vsf_tgui_region_t *dirty_region_ptr, vsf_tgui_text_info_t *ptStringInfo, const uint8_t font_index, const vsf_tgui_sv_color_t color, const vsf_tgui_align_mode_t mode)
Definition vsf_tgui_sv_draw.c:443
void vsf_tgui_control_v_draw_rect(const vsf_tgui_control_t *control_ptr, const vsf_tgui_region_t *dirty_region_ptr, const vsf_tgui_region_t *ptRectRegion, const vsf_tgui_sv_color_t color)
Definition vsf_tgui_sv_draw.c:228