Splash screen fits to the new logo on startup, before reverting

This commit is contained in:
2015-08-23 05:52:27 +10:00
parent 57a4fc8380
commit c36c5210ab
4 changed files with 24 additions and 8 deletions
+5 -1
View File
@@ -29,7 +29,7 @@
class SplashScreen : public BaseScene {
public:
//Public access members
SplashScreen();
SplashScreen(SDL_Window*);
~SplashScreen();
void RenderFrame(SDL_Renderer* renderer) override;
@@ -41,4 +41,8 @@ private:
//members
std::chrono::steady_clock::time_point startTick;
Image logo;
//screws with the window
SDL_Window* window = nullptr;
int windowWidth, windowHeight;
};