Library of menu structure

Dependents:   lcd_menu

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Selection.h Source File

Selection.h

00001 #ifndef SELECTION_H
00002 #define SELECTION_H
00003 
00004 #include "Menu.h"
00005 
00006 class Menu; 
00007 
00008 class Selection {
00009     private:
00010         
00011     public:
00012         void (*fun)();   // pointer to a function to execute 
00013         char* selText;   // selection text
00014         int pos;         // selection position
00015         Menu *childMenu; 
00016         
00017         Selection(void (*)(), int, Menu *, char *); 
00018          
00019 };
00020 
00021 #endif