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: N5110 PinDetect PowerControl mbed
TitleScreen.h
00001 #ifndef TITLE_SCREEN_H 00002 #define TITLE_SCREEN_H 00003 00004 #include "State.h " 00005 00006 /// @file TitleScreen.h 00007 00008 /// Used to display the splash screen which is shown when turning the device on. 00009 class TitleScreen : public State 00010 { 00011 public: 00012 TitleScreen(StateManager* fsm, N5110 *lcd, InputManager* input, Sound* sound) 00013 : State(fsm, lcd, input, sound) {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 int splashScreen[48][84]; 00022 static bool btnWasPressed; 00023 00024 }; 00025 00026 #endif
Generated on Tue Jul 12 2022 21:59:48 by
