mirror of
https://github.com/ocornut/imgui.git
synced 2025-04-14 17:13:46 +00:00
Defined bool ImGui::GetWindowCollapsed().
This commit is contained in:
parent
f18febca11
commit
85c71170af
1 changed files with 6 additions and 0 deletions
|
@ -3487,6 +3487,12 @@ void ImGui::SetWindowCollapsed(bool collapsed, ImGuiSetCond cond)
|
|||
SetWindowCollapsed(window, collapsed, cond);
|
||||
}
|
||||
|
||||
bool ImGui::GetWindowCollapsed()
|
||||
{
|
||||
ImGuiWindow* window = GetCurrentWindow();
|
||||
return window->Collapsed;
|
||||
}
|
||||
|
||||
void ImGui::SetWindowCollapsed(const char* name, bool collapsed, ImGuiSetCond cond)
|
||||
{
|
||||
ImGuiWindow* window = FindWindowByName(name);
|
||||
|
|
Loading…
Add table
Reference in a new issue