Custom menu
Fork of Menu by
Selection.h@0:577f0ec71f4c, 2013-02-28 (annotated)
- Committer:
- pyeh9
- Date:
- Thu Feb 28 22:19:37 2013 +0000
- Revision:
- 0:577f0ec71f4c
- Child:
- 1:84d263c8932d
First commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pyeh9 | 0:577f0ec71f4c | 1 | #ifndef SELECTION_H |
pyeh9 | 0:577f0ec71f4c | 2 | #define SELECTION_H |
pyeh9 | 0:577f0ec71f4c | 3 | |
pyeh9 | 0:577f0ec71f4c | 4 | class Selection { |
pyeh9 | 0:577f0ec71f4c | 5 | private: |
pyeh9 | 0:577f0ec71f4c | 6 | |
pyeh9 | 0:577f0ec71f4c | 7 | public: |
pyeh9 | 0:577f0ec71f4c | 8 | void (*fun)(); // pointer to a function to execute |
pyeh9 | 0:577f0ec71f4c | 9 | char* selText; // selection text |
pyeh9 | 0:577f0ec71f4c | 10 | int pos; // selection position |
pyeh9 | 0:577f0ec71f4c | 11 | |
pyeh9 | 0:577f0ec71f4c | 12 | Selection(void (*)(), int, char *); |
pyeh9 | 0:577f0ec71f4c | 13 | |
pyeh9 | 0:577f0ec71f4c | 14 | //debug functions |
pyeh9 | 0:577f0ec71f4c | 15 | }; |
pyeh9 | 0:577f0ec71f4c | 16 | |
pyeh9 | 0:577f0ec71f4c | 17 | #endif |