mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Added new project wizard window
This commit is contained in:
28
Editor/src/Windows/NewProjectWindow.h
Normal file
28
Editor/src/Windows/NewProjectWindow.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
|
||||
namespace Nuake
|
||||
{
|
||||
class EditorInterface;
|
||||
|
||||
class NewProjectWindow
|
||||
{
|
||||
private:
|
||||
uint32_t m_SelectedTemplate = 0;
|
||||
bool m_HasCreatedProject = false;
|
||||
EditorInterface* m_Editor;
|
||||
|
||||
public:
|
||||
NewProjectWindow(EditorInterface* editor);
|
||||
~NewProjectWindow() = default;
|
||||
|
||||
void Draw();
|
||||
|
||||
void DrawProjectTemplate(uint32_t i, const std::string& title, const std::string& description);
|
||||
|
||||
bool HasCreatedProject() const
|
||||
{
|
||||
return m_HasCreatedProject;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user