~ruther/CTU-FEE-B0B35APO-Semestral-project

ref: 42bce0277ee778e4dbf452779f512152c630619e CTU-FEE-B0B35APO-Semestral-project/lib-gui/include/gui_component_line.h -rw-r--r-- 754 bytes
42bce027 — František Boháček docs: add code documentation 4 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#include "gui.h"

/**
 * @brief Create gui line component
 * 
 * @param color 
 * @param x base x coordinate
 * @param y base y coordinate
 * @param w width
 * @param h height
 * @return component_t 
 */
component_t gui_line_create(const display_pixel_t *color, int16_t x, int16_t y, int16_t w, int16_t h);

/**
 * @brief Render function of gui line component
 * 
 * @param container 
 * @param component 
 * @param gui 
 */
void gui_line_render(container_t *container, component_t *component,
                          gui_t *gui);

/**
 * @brief Update function of gui line component
 * 
 * @param container 
 * @param component 
 * @param gui 
 */
void gui_line_update(container_t *container, component_t *component,
                     gui_t *gui);