Baseline for testing
Selection.h
- Committer:
- foxbrianr
- Date:
- 2019-07-25
- Revision:
- 3:8395f7ab6d3e
- Parent:
- 2:2654dc659298
File content as of revision 3:8395f7ab6d3e:
#ifndef SELECTION_H #define SELECTION_H #include "Menu.h" class Menu; typedef void (*Selection_Callback)(void* obj); class Selection { private: public: Selection_Callback callback; // pointer to a function to execute char* selText; // selection text int pos; // selection position Menu *childMenu; Selection( Selection_Callback callback, int, Menu *, char * text); virtual void select(); virtual char * getText () { return selText; } }; #endif