Displays soft-menu line above top row of keys.
More...
Displays soft-menu line above top row of keys.
◆ LCD_MENU_LINES
#define LCD_MENU_LINES 32 |
Number of graphics lines occupied by menu
◆ MENU_KEY_COUNT
◆ MENU_KEY_LABEL_LEN
#define MENU_KEY_LABEL_LEN 12 |
◆ lcd_draw_menu_bg()
void lcd_draw_menu_bg |
( |
| ) |
|
Draw empty soft-menu buttons
◆ lcd_draw_menu_key()
void lcd_draw_menu_key |
( |
int |
nr, |
|
|
const char * |
key, |
|
|
int |
highlight |
|
) |
| |
Draw single soft-menu key
- Parameters
-
nr | (0-5) Key number |
key | Key Label to display |
highlight | (0/1) 1 = Display highlight marker |
◆ lcd_draw_menu_keys()
void lcd_draw_menu_keys |
( |
const char * |
keys[] | ) |
|
Draw whole soft-menu according to supplied key labels
- Parameters
-
Example usage
const char * menu_mdy[] = {"DMY", "+1m","+1d","-1d","+1y","-1y"};
const char * menu_dmy[] = {"MDY", "+1d","-1d","+1m","+1y","-1y"};