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.
Dependencies: mbed
Diff: Menu/Menu.h
- Revision:
- 42:ee13e1d103d8
- Parent:
- 30:711d722f3cef
--- a/Menu/Menu.h	Wed May 08 09:22:16 2019 +0000
+++ b/Menu/Menu.h	Wed May 08 11:18:40 2019 +0000
@@ -12,17 +12,19 @@
     ~Menu();
     
     // Displays title screen
-    void init(int ycursor);
-    void title(N5110 &lcd, int shipno);
+    void init(int ycursor,N5110 *lcd, Gamepad *pad);
+    void title(int shipno);
     void update(Direction d);
     int get_ycursor();
     int get_xcursor();
-    void disp_ships(N5110 &lcd);
+    void disp_ships();
     //void Menu::scroll(N5110 &lcd, Direction d);
     
     private:
     int _xcursor;
     int _ycursor;
+    Gamepad *_pad;
+    N5110 *_lcd;
 
     
 };