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.
Menu/Menu.h@9:fe86ddbf7799, 2018-05-06 (annotated)
- Committer:
- Andrew_M
- Date:
- Sun May 06 20:49:48 2018 +0000
- Revision:
- 9:fe86ddbf7799
- Parent:
- 8:9d01fd4a63ad
- Child:
- 10:279d3775d52c
Menu is functional but lacks any substance
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Andrew_M | 8:9d01fd4a63ad | 1 | #include "mbed.h" |
| Andrew_M | 8:9d01fd4a63ad | 2 | #include "N5110.h" |
| Andrew_M | 8:9d01fd4a63ad | 3 | #include "Gamepad.h" |
| Andrew_M | 8:9d01fd4a63ad | 4 | |
| Andrew_M | 9:fe86ddbf7799 | 5 | class Menu |
| Andrew_M | 8:9d01fd4a63ad | 6 | { |
| Andrew_M | 8:9d01fd4a63ad | 7 | public: |
| Andrew_M | 8:9d01fd4a63ad | 8 | |
| Andrew_M | 8:9d01fd4a63ad | 9 | Menu(); |
| Andrew_M | 8:9d01fd4a63ad | 10 | ~Menu(); |
| Andrew_M | 8:9d01fd4a63ad | 11 | void init(); |
| Andrew_M | 9:fe86ddbf7799 | 12 | void read_input(Gamepad &pad); |
| Andrew_M | 9:fe86ddbf7799 | 13 | void update(); |
| Andrew_M | 9:fe86ddbf7799 | 14 | void draw(N5110 &lcd); |
| Andrew_M | 9:fe86ddbf7799 | 15 | bool started(); |
| Andrew_M | 8:9d01fd4a63ad | 16 | |
| Andrew_M | 8:9d01fd4a63ad | 17 | |
| Andrew_M | 8:9d01fd4a63ad | 18 | private: |
| Andrew_M | 8:9d01fd4a63ad | 19 | |
| Andrew_M | 9:fe86ddbf7799 | 20 | char _d; |
| Andrew_M | 9:fe86ddbf7799 | 21 | bool _start; |
| Andrew_M | 9:fe86ddbf7799 | 22 | int _selection; |
| Andrew_M | 9:fe86ddbf7799 | 23 | |
| Andrew_M | 9:fe86ddbf7799 | 24 | |
| Andrew_M | 8:9d01fd4a63ad | 25 | }; |