Library of menu structure
Embed:
(wiki syntax)
Show/hide line numbers
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
Generated on Wed Jul 13 2022 18:45:29 by 1.7.2