2022-10-12 02:01:37 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <inttypes.h>
|
|
|
|
#include <gui/gui.h>
|
|
|
|
|
2022-10-29 00:33:02 +00:00
|
|
|
void ui_control_text_box_render(Canvas* const canvas, int8_t y, 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-10-29 00:33:02 +00:00
|
|
|
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-10-29 00:33:02 +00:00
|
|
|
char* text,
|
2022-10-13 14:00:20 +00:00
|
|
|
bool is_selected);
|