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