mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-22 05:14:46 -07:00
fmt + update subbrute submodule
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user