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.
Diff: SavedGames/SavedGames.cpp
- Revision:
- 60:55fdc6bb29b9
- Parent:
- 59:0b2e43312d6b
- Child:
- 61:7c4ec680a428
--- a/SavedGames/SavedGames.cpp Wed May 20 17:47:18 2020 +0000 +++ b/SavedGames/SavedGames.cpp Wed May 20 18:14:42 2020 +0000 @@ -126,6 +126,22 @@ lcd.refresh(); } +void SavedGames::save_game_screen(N5110 &lcd){ + lcd.clear(); + //prints saved game screen + lcd.printString("Selected save",3,0); + lcd.drawSprite(39, 18, 3, 5, (int *)arrow_up); + lcd.drawSprite(39, 34, 3, 5, (int *)arrow_down); + + //prints saved game that is displayed + char buffer[9]; + sprintf(buffer,"Save %2d",display_data_number_); + lcd.printString(buffer,21,3); + lcd.printString("B To Go Back",6,5); + + lcd.refresh(); +} + bool SavedGames::get_error(){ return error_; }