mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Added shaders for UI and fixed UI renderer
This commit is contained in:
@@ -72,16 +72,6 @@ void EditorApplication::OnInit()
|
||||
Engine::GetCurrentScene()->Save();
|
||||
}
|
||||
});
|
||||
|
||||
NuakeUI::CanvasParser parser;
|
||||
Ref<NuakeUI::Canvas> canvas = parser.Parse("test.html");
|
||||
|
||||
static MyInputManager inputManager(*m_Window);
|
||||
|
||||
canvas->SetInputManager(&inputManager);
|
||||
canvas->ComputeLayout({1920, 1080});
|
||||
canvas->Tick();
|
||||
canvas->Draw();
|
||||
|
||||
PushLayer(CreateScope<EditorLayer>());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user