8 splash_widget(gluten::widget_subsystem* parentSubsystem) : widget(parentSubsystem) {}
11 void show_splash_screen();
12 void close_splash_screen();
15 virtual void tick(
double deltaTime)
override;
16 virtual void render()
override;
19 virtual void start()
override;
22 bool m_wantsToShow =
false;
23 double m_timeShowingScreen = 0.0;
24 std::string m_loadingText = std::string(
"Loading");
26 uint32_t m_splashImageID = 0;
27 int m_splashImageWidth = -1;
28 int m_splashImageHeight = -1;