UI text alignment work

This commit is contained in:
Antoine Pilote
2021-07-15 16:03:39 -04:00
parent 8ecab5c3ad
commit c3c995bc5f
19 changed files with 311 additions and 117 deletions

View File

@@ -81,6 +81,13 @@ namespace Nuake {
return m_Framebuffer;
}
Vector2 Window::GetSize()
{
int w, h = 0;
glfwGetWindowSize(m_Window, &w, &h);
return Vector2(w, h);
}
int Window::Init()
{