1234567891011121314151617181920212223242526 |
- /*
- * menu.h
- *
- * Created on: Jan 26, 2022
- * Author: radioman
- */
- #ifndef INC_MENU_H_
- #define INC_MENU_H_
- #include <stdint.h>
- typedef enum { ENTRY_DIR, ENTRY_DISPLAY, ENTRY_NUMBER, ENTRY_CHECKBOX } entry_type;
- typedef struct {
- uint8_t id;
- entry_type type;
- uint8_t selected;
- uint8_t active;
- uint8_t parent_id;
- char *title;
- } menu_entry_td;
- void MenuShow(uint8_t id);
- #endif /* INC_MENU_H_ */
|