Menu system broken
Dependencies: ANSITermMenuSystem
Fork of menuSystemMbed by
Diff: menuItem.cpp
- Revision:
- 4:1178a1905490
- Parent:
- 0:a5ece7312edc
- Child:
- 5:92389cf2106d
--- a/menuItem.cpp Fri Mar 08 17:37:11 2013 +0000 +++ b/menuItem.cpp Tue Apr 16 18:42:03 2013 +0000 @@ -46,6 +46,9 @@ void menuItem::highlight() { + // char check[] = "x"; + // check[0] = 177; + // printXY (check, position.X - 2, position.Y); printXY ("X", position.X - 2, position.Y); gotoxy( position.X - 2, position.Y); } @@ -53,7 +56,17 @@ void menuItem::removeHighLight() { printXY (" ", position.X - 2, position.Y); +} +void menuItem::showselect() +{ +printXY (">", position.X - 1, position.Y); + gotoxy( position.X, position.Y); +} + +void menuItem::removeselect() +{ + printXY (" ", position.X - 1, position.Y); } int menuItem::getMenuID()