Library of menu structure

Dependents:   lcd_menu

Selection.h

Committer:
pyeh9
Date:
2013-03-05
Revision:
2:2654dc659298
Parent:
1:84d263c8932d

File content as of revision 2:2654dc659298:

#ifndef SELECTION_H
#define SELECTION_H

#include "Menu.h"

class Menu; 

class Selection {
    private:
        
    public:
        void (*fun)();   // pointer to a function to execute 
        char* selText;   // selection text
        int pos;         // selection position
        Menu *childMenu; 
        
        Selection(void (*)(), int, Menu *, char *); 
         
};

#endif