Contiki 2.6

tmenu_item Struct Reference

This structure defines the joystick operation within the menu_items[]. More...

#include <platform/avr-ravenlcd/menu.h>

Data Fields

const char *PROGMEM text
 Menu text to display.
uint8_t left
 Contains next menu position for left.
uint8_t right
 Contains next menu position for right.
uint8_t up
 Contains next menu position for up.
uint8_t down
 Contains next menu position for down.
uint8_t * state
 State variable used as argument for menu enter function.
tmenufunc enter_func
 Pointer to function to call when enter button is pressed.

Detailed Description

This structure defines the joystick operation within the menu_items[].

Definition at line 52 of file menu.h.


Field Documentation

Contains next menu position for down.

Definition at line 57 of file menu.h.

Referenced by main().

Pointer to function to call when enter button is pressed.

Definition at line 59 of file menu.h.

Referenced by main().

Contains next menu position for left.

Definition at line 54 of file menu.h.

Referenced by main().

Contains next menu position for right.

Definition at line 55 of file menu.h.

Referenced by main().

State variable used as argument for menu enter function.

Definition at line 58 of file menu.h.

Referenced by main().

Menu text to display.

Definition at line 53 of file menu.h.

Referenced by check_main_menu(), check_menu(), and main().

uint8_t tmenu_item::up

Contains next menu position for up.

Definition at line 56 of file menu.h.

Referenced by main().