mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-23 02:04:22 +00:00
Added GetWindowHeight() for completeness + BeginGroup() comment.
This commit is contained in:
parent
822eaf1751
commit
8cf7df7ec4
2 changed files with 8 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue