Custom menu
Fork of Menu by
Selection.cpp@4:396eff5be1a1, 2015-03-03 (annotated)
- Committer:
- LeoHsueh
- Date:
- Tue Mar 03 03:57:46 2015 +0000
- Revision:
- 4:396eff5be1a1
- Parent:
- 3:3fceb6ff921e
Fix to use FunctionPointer.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pyeh9 | 0:577f0ec71f4c | 1 | #include "mbed.h" |
pyeh9 | 0:577f0ec71f4c | 2 | #include "Selection.h" |
pyeh9 | 0:577f0ec71f4c | 3 | #include "TextLCD.h" |
pyeh9 | 0:577f0ec71f4c | 4 | |
LeoHsueh | 4:396eff5be1a1 | 5 | Selection::Selection(FunctionPointer *fun, int position, Menu *child, const char* text) : |
pyeh9 | 1:84d263c8932d | 6 | fun(fun), selText(text), pos(position), childMenu(child) {} |