Added GetWindowHeight() for completeness + BeginGroup() comment.

This commit is contained in:
ocornut
2015-08-25 16:55:14 +01:00
parent 822eaf1751
commit 8cf7df7ec4
2 changed files with 8 additions and 1 deletions

View File

@ -4353,6 +4353,12 @@ float ImGui::GetWindowWidth()
return window->Size.x;
}
float ImGui::GetWindowHeight()
{
ImGuiWindow* window = GImGui->CurrentWindow;
return window->Size.y;
}
ImVec2 ImGui::GetWindowPos()
{
ImGuiState& g = *GImGui;