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
Menu/Menu.h
- Committer:
- ikenna1
- Date:
- 2019-04-10
- Revision:
- 13:e114d362186d
- Parent:
- 12:47578eb9ea73
- Child:
- 30:711d722f3cef
File content as of revision 13:e114d362186d:
#ifndef MENU_H #define MENU_H #include "mbed.h" #include "N5110.h" #include "Gamepad.h" class Menu { public: Menu(); ~Menu(); // Displays title screen void init(int ycursor); void title(N5110 &lcd); void update(Direction d); int get_ycursor(); int get_xcursor(); void disp_ships(N5110 &lcd); //void Menu::scroll(N5110 &lcd, Direction d); private: int _xcursor; int _ycursor; }; #endif