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
Diff: CoverPage.h
- Revision:
- 19:89c3eeb3761b
diff -r 709ea375b0df -r 89c3eeb3761b CoverPage.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/CoverPage.h Thu Mar 25 03:43:10 2021 +0000
@@ -0,0 +1,26 @@
+#ifndef TITLE_SCREEN_H
+#define TITLE_SCREEN_H
+
+#include "State.h"
+
+/// @file CoverPage.h
+
+/// Used to display the splash screen which is shown when turning the device on.
+class CoverPage : public State
+{
+ public:
+ CoverPage(StateManager* fsm, N5110 *lcd, InputManager* input, Sound* sound, ShiftReg* shiftreg)
+ : State(fsm, lcd, input, sound, shiftreg) {init();}
+
+ virtual void update(float dt);
+ virtual void render();
+
+ private:
+ void init();
+ static void btnPress();
+ static const bool splashScreen[48][84];
+ static bool btnWasPressed;
+
+};
+
+#endif
\ No newline at end of file