BsSplashScreen.h 847 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsPrerequisites.h"
  5. namespace bs
  6. {
  7. /** @addtogroup Platform-Engine
  8. * @{
  9. */
  10. /** Displays a splash screen with Banshee Engine logo. */
  11. class BS_EXPORT SplashScreen
  12. {
  13. public:
  14. /** Displays a splash screen with Banshee Engine logo. */
  15. static void show();
  16. /** Hides the splash screen. */
  17. static void hide();
  18. private:
  19. /** Creates the splash screen window. */
  20. static void create();
  21. /** Destroys the splash screen window. */
  22. static void destroy();
  23. struct Pimpl;
  24. static Pimpl* m;
  25. static const UINT32 SPLASH_SCREEN_DURATION_MS;
  26. };
  27. /** @} */
  28. }