fmt + update subbrute submodule

This commit is contained in:
MX
2022-10-28 19:18:42 +03:00
parent 5277933980
commit 3ea6d59c2f
9 changed files with 54 additions and 23 deletions

View File

@@ -5,7 +5,11 @@
#define TEXT_BOX_HEIGHT 13
#define TEXT_BOX_MARGIN 4
void ui_control_text_box_render(Canvas* const canvas, int16_t y, const char* text, bool is_selected) {
void ui_control_text_box_render(
Canvas* const canvas,
int16_t y,
const char* text,
bool is_selected) {
if(y < -TEXT_BOX_HEIGHT) {
return;
}

View File

@@ -3,7 +3,11 @@
#include <inttypes.h>
#include <gui/gui.h>
void ui_control_text_box_render(Canvas* const canvas, int16_t y, const char* text, bool is_selected);
void ui_control_text_box_render(
Canvas* const canvas,
int16_t y,
const char* text,
bool is_selected);
void ui_control_button_render(
Canvas* const canvas,
int16_t x,