2022-10-12 05:01:37 +03:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <inttypes.h>
|
|
|
|
#include <gui/gui.h>
|
|
|
|
|
2022-11-10 08:32:21 +03:00
|
|
|
void ui_control_text_box_render(
|
|
|
|
Canvas* const canvas,
|
|
|
|
int16_t y,
|
|
|
|
const char* text,
|
|
|
|
bool is_selected);
|
2022-10-13 17:00:20 +03:00
|
|
|
void ui_control_button_render(
|
|
|
|
Canvas* const canvas,
|
|
|
|
int16_t x,
|
|
|
|
int16_t y,
|
|
|
|
uint8_t width,
|
|
|
|
uint8_t height,
|
2022-11-10 08:32:21 +03:00
|
|
|
const char* text,
|
2022-10-13 17:00:20 +03:00
|
|
|
bool is_selected);
|
|
|
|
void ui_control_select_render(
|
|
|
|
Canvas* const canvas,
|
|
|
|
int16_t x,
|
|
|
|
int16_t y,
|
|
|
|
uint8_t width,
|
2022-11-10 08:32:21 +03:00
|
|
|
const char* text,
|
2022-10-13 17:00:20 +03:00
|
|
|
bool is_selected);
|