Library to display menus on TextLCDs. Interaction with functions Up,Down and Select (Buttons or RPG) Based on menu-library from pyeh9
Fork of Menu by
Library to display menus on TextLCDs. Interaction with functions Up,Down and Select (Buttons or RPG) Based on menu-library from pyeh9
Diff: Navigator.h
- Revision:
- 10:2b6ddf53b05e
- Parent:
- 9:c9df0b33d176
- Child:
- 11:6814cbc83ae0
--- a/Navigator.h Fri Mar 13 18:44:49 2015 +0000
+++ b/Navigator.h Mon Mar 16 21:05:37 2015 +0000
@@ -78,10 +78,16 @@
void printCursor();
private:
+ /** Show Yes/No Dialog and wait fo Selection
+ */
+ void show_yes_no(bool yesorno);
+
int _display_rows; // number of rows the LCD can display
+ int _display_cols; // number of lines of LCD
int _cursorPos; // what selection the cursor points to
int _cursorLine; // what line of the lcd the cursor is on. 1 = first line, 2 = second line
-
+ bool _wait_for_select; // only accept Select Button to go Back
+ bool _wait_for_yesno; // up/don change selection ; Select accepts
};
