mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2025-01-27 19:16:29 -05:00
const the size
This commit is contained in:
parent
7a149a979d
commit
bc1e546ece
2
button.h
2
button.h
@ -11,7 +11,7 @@ enum ButtonStatus_e : uint8_t {
|
||||
struct Button {
|
||||
int16_t x, y, w, h;
|
||||
const char* text;//nullptr if text_override should be used
|
||||
void (*text_override)(char* text_out, uint16_t max_text_size);//nullptr if text should be used
|
||||
void (*text_override)(char* text_out, const uint16_t max_text_size);//nullptr if text should be used
|
||||
ButtonStatus_e (*status)();//Used for coloring and morse menu
|
||||
void (*on_select)();//Action to take when selected
|
||||
char morse;
|
||||
|
Loading…
Reference in New Issue
Block a user