Started work on ImGui abstraction for consistent theming across the editor

This commit is contained in:
Antoine Pilote
2023-09-17 23:51:12 -04:00
parent 4138e51c94
commit 7b78845082
4 changed files with 191 additions and 0 deletions

View File

@@ -46,6 +46,7 @@
#include "src/Rendering/SceneRenderer.h"
#include <dependencies/glfw/include/GLFW/glfw3.h>
#include <src/Rendering/Buffers/Framebuffer.h>
#include "UIDemoWindow.h"
namespace Nuake {
Ref<UI::UserInterface> userInterface;
@@ -1544,6 +1545,7 @@ namespace Nuake {
bool isLoadingProject = false;
bool isLoadingProjectQueue = false;
UIDemoWindow m_DemoWindow;
int frameCount = 2;
void EditorInterface::Draw()
@@ -1610,6 +1612,8 @@ namespace Nuake {
pInterface.m_CurrentProject = Engine::GetProject();
m_DemoWindow.Draw();
_audioWindow->Draw();
DrawMenuBar();