mikroSDK Reference Manual
vtft_drawing.h
1/****************************************************************************
2**
3** Copyright (C) 2024 MikroElektronika d.o.o.
4** Contact: https://www.mikroe.com/contact
5**
6** This file is part of the mikroSDK package
7**
8** Commercial License Usage
9**
10** Licensees holding valid commercial NECTO compilers AI licenses may use this
11** file in accordance with the commercial license agreement provided with the
12** Software or, alternatively, in accordance with the terms contained in
13** a written agreement between you and The MikroElektronika Company.
14** For licensing terms and conditions see
15** https://www.mikroe.com/legal/software-license-agreement.
16** For further information use the contact form at
17** https://www.mikroe.com/contact.
18**
19**
20** GNU Lesser General Public License Usage
21**
22** Alternatively, this file may be used for
23** non-commercial projects under the terms of the GNU Lesser
24** General Public License version 3 as published by the Free Software
25** Foundation: https://www.gnu.org/licenses/lgpl-3.0.html.
26**
27** The above copyright notice and this permission notice shall be
28** included in all copies or substantial portions of the Software.
29**
30** THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
31** OF MERCHANTABILITY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
32** TO THE WARRANTIES FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
33** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
34** DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT
35** OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
36** OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
37**
38****************************************************************************/
39
40#ifndef _VTFT_DRAWING_H_
41#define _VTFT_DRAWING_H_
42
43#include "vtft_types.h"
44
45// Global Function Declarations
46
67void _draw_none(vtft_t *instance, const vtft_component * __generic_ptr component);
68
82void _draw_box(vtft_t *instance, const vtft_component * __generic_ptr component);
83
96void _draw_rounded_box(vtft_t *instance, const vtft_component * __generic_ptr component);
97
110void _draw_circle(vtft_t *instance, const vtft_component * __generic_ptr component);
111
124void _draw_ellipse(vtft_t *instance, const vtft_component * __generic_ptr component);
125
138void _draw_line(vtft_t *instance, const vtft_component * __generic_ptr component);
139
152void _draw_label(vtft_t *instance, const vtft_component * __generic_ptr component);
153
167void _draw_button(vtft_t *instance, const vtft_component *__generic_ptr component);
168
182void _draw_rounded_button(vtft_t *instance, const vtft_component * __generic_ptr component);
183
197void _draw_circle_button(vtft_t *instance, const vtft_component * __generic_ptr component);
198
212void _draw_image(vtft_t *instance, const vtft_component * __generic_ptr component);
213
227void _draw_check_box(vtft_t *instance, const vtft_component * __generic_ptr component);
228
242void _draw_radio_button(vtft_t *instance, vtft_component * __generic_ptr component);
243
257void _draw_progress_bar(vtft_t *instance, vtft_component * __generic_ptr component);
258
273void _update_progress_bar(vtft_t *instance, vtft_progress_bar * progressBar);
274
275 // vtftgroup
276 // apigroup
277
278#endif // _VTFT_DRAWING_H_
void _draw_none(vtft_t *instance, const vtft_component *__generic_ptr component)
An empty drawing handle for components with an invalid type.
void _draw_circle_button(vtft_t *instance, const vtft_component *__generic_ptr component)
Draws the given circle button component.
void _draw_ellipse(vtft_t *instance, const vtft_component *__generic_ptr component)
Draws the given ellipse component.
void _draw_label(vtft_t *instance, const vtft_component *__generic_ptr component)
Draws the given label component.
void _draw_progress_bar(vtft_t *instance, vtft_component *__generic_ptr component)
Draws the given progress bar.
void _update_progress_bar(vtft_t *instance, vtft_progress_bar *progressBar)
Updates the position of the given progress bar.
void _draw_rounded_box(vtft_t *instance, const vtft_component *__generic_ptr component)
Draws the given rounded box component.
void _draw_image(vtft_t *instance, const vtft_component *__generic_ptr component)
Draws the given image component.
void _draw_radio_button(vtft_t *instance, vtft_component *__generic_ptr component)
Draws the given radio button.
void _draw_rounded_button(vtft_t *instance, const vtft_component *__generic_ptr component)
Draws the given rounded button component.
void _draw_line(vtft_t *instance, const vtft_component *__generic_ptr component)
Draws the given line component.
void _draw_check_box(vtft_t *instance, const vtft_component *__generic_ptr component)
Draws the given check box.
void _draw_box(vtft_t *instance, const vtft_component *__generic_ptr component)
Draws the given box component.
void _draw_button(vtft_t *instance, const vtft_component *__generic_ptr component)
Draws the given button component.
void _draw_circle(vtft_t *instance, const vtft_component *__generic_ptr component)
Draws the given circle component.
Definition vtft_types.h:181
Definition vtft_types.h:456
Definition vtft_types.h:504