mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-27 16:17:12 +03:00
Added splash screen
This commit is contained in:
29
Editor/src/Windows/LoadingSplash.h
Normal file
29
Editor/src/Windows/LoadingSplash.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#pragma once
|
||||
#include <src/Core/Core.h>
|
||||
#include <src/Rendering/Textures/Texture.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace Nuake
|
||||
{
|
||||
class Texture;
|
||||
}
|
||||
|
||||
class LoadingSplash
|
||||
{
|
||||
private:
|
||||
const std::string NUAKE_LOGO_PATH = "resources/Images/logo_white.png";
|
||||
Ref<Nuake::Texture> _NuakeLogo;
|
||||
|
||||
public:
|
||||
static LoadingSplash& LoadingSplash::Get()
|
||||
{
|
||||
static LoadingSplash instance;
|
||||
return instance;
|
||||
}
|
||||
|
||||
LoadingSplash();
|
||||
~LoadingSplash() = default;
|
||||
|
||||
void Draw();
|
||||
};
|
||||
Reference in New Issue
Block a user