Microchip® Advanced Software Framework

gfx_mono_menu.h File Reference

Simple menu system.

Copyright (c) 2011-2018 Microchip Technology Inc. and its subsidiaries.

#include "compiler.h"
#include "conf_menu.h"
#include "gfx_mono.h"

Data Structures

struct  gfx_mono_menu
 Menu struct. More...
 

Macros

#define GFX_MONO_MENU_ELEMENTS_PER_SCREEN
 Maximum number of menu elements on display. More...
 
Menu events definitions
#define GFX_MONO_MENU_EVENT_IDLE   0xFF
 Idle. More...
 
#define GFX_MONO_MENU_EVENT_EXIT   0xFE
 Exit. More...
 

Functions

void gfx_mono_menu_init (struct gfx_mono_menu *menu)
 
More...
 
uint8_t gfx_mono_menu_process_key (struct gfx_mono_menu *menu, uint8_t keycode)
 Update menu depending on input. More...