Adam Baker 201166301
Dependencies: mbed Gamepad N5110
Menu/Menu.h
- Committer:
- adambakerwa
- Date:
- 2019-05-06
- Revision:
- 38:51ed5820ffe5
- Parent:
- 37:23b6312c8315
- Child:
- 40:f53c70793975
File content as of revision 38:51ed5820ffe5:
#ifndef MENU_H #define MENU_H #include "mbed.h" #include "Gamepad.h" #include "N5110.h" class Menu { public: Menu(); ~Menu(); void title_intro(N5110 &lcd, Gamepad &pad); int press_start(N5110 &lcd, Gamepad &pad); void init(); int select_input(Gamepad &pad, N5110 &lcd); private: void print_main_menu(N5110 &lcd); void B(int x, int y, N5110 &lcd); void BL(int x, int y, N5110 &lcd); void BLO(int x, int y, N5110 &lcd); void BLOC(int x, int y, N5110 &lcd); void BLOCK(int x, int y, N5110 &lcd); void BLOCK_H(int x, int y, N5110 &lcd); void BLOCK_HE(int x, int y, N5110 &lcd); void BLOCK_HEA(int x, int y, N5110 &lcd); void BLOCK_HEAD(int x, int y, N5110 &lcd); int _start; int _count; int _select; int _input; int _stop; bool _flash; }; #endif