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 N5110 ShiftReg PinDetect
CoverPage.h
00001 #ifndef TITLE_SCREEN_H 00002 #define TITLE_SCREEN_H 00003 00004 #include "State.h " 00005 00006 /// @file CoverPage.h 00007 00008 /// Used to display the splash screen which is shown when turning the device on. 00009 class CoverPage : public State 00010 { 00011 public: 00012 CoverPage(StateManager* fsm, N5110 *lcd, InputManager* input, Sound* sound, ShiftReg* shiftreg) 00013 : State(fsm, lcd, input, sound, shiftreg) {init();} 00014 00015 virtual void update(float dt); 00016 virtual void render(); 00017 00018 private: 00019 void init(); 00020 static void btnPress(); 00021 static const bool splashScreen[48][84]; 00022 static bool btnWasPressed; 00023 00024 }; 00025 00026 #endif
Generated on Tue Jul 12 2022 21:30:55 by
