Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: class_project_main
Fork of SerialLCD_Menu by
Selection.h@13:98d452550cbe, 2013-09-12 (annotated)
- Committer:
- jakowisp
- Date:
- Thu Sep 12 05:52:18 2013 +0000
- Revision:
- 13:98d452550cbe
- Parent:
- 11:af7687f1a985
still merging; ;
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 | 1:84d263c8932d | 4 | #include "Menu.h" |
| pyeh9 | 1:84d263c8932d | 5 | |
| pyeh9 | 1:84d263c8932d | 6 | class Menu; |
| pyeh9 | 1:84d263c8932d | 7 | |
| pyeh9 | 0:577f0ec71f4c | 8 | class Selection { |
| pyeh9 | 0:577f0ec71f4c | 9 | private: |
| pyeh9 | 0:577f0ec71f4c | 10 | |
| pyeh9 | 0:577f0ec71f4c | 11 | public: |
| pyeh9 | 2:2654dc659298 | 12 | void (*fun)(); // pointer to a function to execute |
| jakowisp | 11:af7687f1a985 | 13 | uint8_t value; |
| pyeh9 | 2:2654dc659298 | 14 | char* selText; // selection text |
| pyeh9 | 2:2654dc659298 | 15 | int pos; // selection position |
| pyeh9 | 1:84d263c8932d | 16 | Menu *childMenu; |
| pyeh9 | 0:577f0ec71f4c | 17 | |
| pyeh9 | 1:84d263c8932d | 18 | Selection(void (*)(), int, Menu *, char *); |
| jakowisp | 11:af7687f1a985 | 19 | Selection(uint8_t, int, Menu *, char *); |
| pyeh9 | 0:577f0ec71f4c | 20 | }; |
| pyeh9 | 0:577f0ec71f4c | 21 | |
| pyeh9 | 0:577f0ec71f4c | 22 | #endif |
