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: Menus/Menus.h
- Revision:
- 17:cb39d9fa08dc
- Parent:
- 16:a2c945279b79
- Child:
- 21:44e87d88afe2
--- a/Menus/Menus.h Wed Apr 24 13:44:12 2019 +0000
+++ b/Menus/Menus.h Sat Apr 27 17:43:46 2019 +0000
@@ -12,28 +12,29 @@
public:
- Menus();
- ~Menus();
-
- void start_up_screen(Graphics &graphics, N5110 &lcd, Gamepad &pad);
- void main_menu(Graphics &graphics, N5110 &lcd, Gamepad &pad, Scores &scores);
- bool get_mute();
- int get_health();
+ Menus();
+ ~Menus();
+
+ void start_up_screen(Graphics &graphics, N5110 &lcd, Gamepad &pad);
+ void main_menu(Graphics &graphics, N5110 &lcd, Gamepad &pad, Scores &scores);
+ bool get_mute();
+ int get_health();
private:
- void _start_up_visuals(Graphics &graphics, N5110 &lcd, Gamepad &pad);
- void _read_inputs(Gamepad &pad);
- void _controls(N5110 &lcd, Gamepad &pad);
- void _settings(N5110 &lcd, Gamepad &pad);
- void _mute_brightness_lives(N5110 &lcd, Gamepad &pad);
- void _scores(N5110 &lcd, Gamepad &pad, Scores &scores);
+ void _start_up_visuals(Graphics &graphics, N5110 &lcd, Gamepad &pad);
+ void _main_menu_controls(N5110 &lcd, Gamepad &pad, Scores &scores);
+ void _read_inputs(Gamepad &pad);
+ void _controls_screen(N5110 &lcd, Gamepad &pad);
+ void _settings_screen(N5110 &lcd, Gamepad &pad);
+ void _mute_brightness_lives(N5110 &lcd, Gamepad &pad);
+ void _scores_screen(N5110 &lcd, Gamepad &pad, Scores &scores);
- int _counter;
- int _health;
- bool _mute;
- float _brightness;
- float _contrast;
+ int _counter;
+ int _health;
+ bool _mute;
+ float _brightness;
+ float _contrast;
};
#endif // MENUS_H
\ No newline at end of file