Contiki 2.5
Data Fields
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. More...
 
uint8_t left
 Contains next menu position for left. More...
 
uint8_t right
 Contains next menu position for right. More...
 
uint8_t up
 Contains next menu position for up. More...
 
uint8_t down
 Contains next menu position for down. More...
 
uint8_t * state
 State variable used as argument for menu enter function. More...
 
tmenufunc enter_func
 Pointer to function to call when enter button is pressed. More...
 

Detailed Description

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

Definition at line 52 of file menu.h.

Field Documentation

uint8_t tmenu_item::down

Contains next menu position for down.

Definition at line 57 of file menu.h.

Referenced by main().

tmenufunc tmenu_item::enter_func

Pointer to function to call when enter button is pressed.

Definition at line 59 of file menu.h.

Referenced by main().

uint8_t tmenu_item::left

Contains next menu position for left.

Definition at line 54 of file menu.h.

Referenced by main().

uint8_t tmenu_item::right

Contains next menu position for right.

Definition at line 55 of file menu.h.

Referenced by main().

uint8_t* tmenu_item::state

State variable used as argument for menu enter function.

Definition at line 58 of file menu.h.

Referenced by main().

const char* PROGMEM tmenu_item::text

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().