Simple menu system Copyright (c) 2011-2018 Microchip Technology Inc.
and its subsidiaries.
struct gfx_mono_bitmap | menu_bitmap_indicator |
PROGMEM_DECLARE (gfx_mono_color_t, arrow_right_data[]) | |
static void | menu_draw (struct gfx_mono_menu *menu, bool redraw) |
Draw menu strings and an icon by the current selection. More... | |
void | gfx_mono_menu_init (struct gfx_mono_menu *menu) |
uint8_t | gfx_mono_menu_process_key (struct gfx_mono_menu *menu, uint8_t keycode) |
Update menu depending on input. More... | |
|
static |
Draw menu strings and an icon by the current selection.
[in] | menu | a menu struct with menu settings |
[in] | redraw | clear screen before drawing menu |
References gfx_mono_menu::current_page, gfx_mono_menu::current_selection, gfx_mono_draw_filled_rect, gfx_mono_draw_progmem_string(), GFX_MONO_LCD_HEIGHT, GFX_MONO_LCD_WIDTH, GFX_MONO_MENU_ELEMENTS_PER_SCREEN, gfx_mono_put_bitmap, GFX_PIXEL_CLR, i, gfx_mono_menu::num_elements, PROGMEM_PTR_T, gfx_mono_menu::strings, and sysfont.
Referenced by gfx_mono_menu_init(), and gfx_mono_menu_process_key().
struct gfx_mono_bitmap menu_bitmap_indicator |