Serial LCD Menu system with buttons instead of RPG. Based on Peihsun Yeh's work

Fork of Menu by Peihsun Yeh

Selection.h

Committer:
mshuck
Date:
2013-08-04
Revision:
5:70fec61bebaf
Parent:
2:2654dc659298

File content as of revision 5:70fec61bebaf:

#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