Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

menu.h File Reference

#include <avr/pgmspace.h>
#include <inttypes.h>

Go to the source code of this file.

Compounds

class  Container
 Basic visible object which can contain other objects. More...

class  VisibleObject
 Abstract root of all visible objects. More...


Functions

void menu_set_hook (uint8_t index, PGM_VOID_P image, VisibleObject *obj)
 Install a menu hook.

void menu_remove_hook (uint8_t index)
 Remove a menu hook.

void menu_init (void)
 Initialize menu.

void menu_process (void)
 Process menu events.


Detailed Description

Definition in file menu.h.


Function Documentation

void menu_init void   ) 
 

Initialize menu.

This function loads the application image, creates the root object and feeds it with it's properties.

Definition at line 345 of file menu.cc.

void menu_process void   ) 
 

Process menu events.

Dispatches and processes keypad events.

Definition at line 372 of file menu.cc.

void menu_remove_hook uint8_t  index  ) 
 

Remove a menu hook.

A object will receive no further key events for key "index".

Definition at line 432 of file menu.cc.

void menu_set_hook uint8_t  index,
PGM_VOID_P  image,
VisibleObject obj
 

Install a menu hook.

After invoking this function object "obj" will receive keypad events for key "index".

Parameters:
index Key for which the hook should be installed. [0..5]
image Pointer to softkey-image.
obj Object which receives subsequent keypad events.

Definition at line 421 of file menu.cc.


Generated on Thu Oct 16 13:13:41 2003 for OpenHomeMainPanel by doxygen 1.3.3