mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 14:16:36 +00:00
Merge pull request #148 from Roflraging/master
Added missing implementation for ImGui::GetWindowCollapsed().
This commit is contained in:
commit
4cdcbbff8c
@ -3487,6 +3487,12 @@ void ImGui::SetWindowCollapsed(bool collapsed, ImGuiSetCond cond)
|
|||||||
SetWindowCollapsed(window, collapsed, cond);
|
SetWindowCollapsed(window, collapsed, cond);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool ImGui::GetWindowCollapsed()
|
||||||
|
{
|
||||||
|
ImGuiWindow* window = GetCurrentWindow();
|
||||||
|
return window->Collapsed;
|
||||||
|
}
|
||||||
|
|
||||||
void ImGui::SetWindowCollapsed(const char* name, bool collapsed, ImGuiSetCond cond)
|
void ImGui::SetWindowCollapsed(const char* name, bool collapsed, ImGuiSetCond cond)
|
||||||
{
|
{
|
||||||
ImGuiWindow* window = FindWindowByName(name);
|
ImGuiWindow* window = FindWindowByName(name);
|
||||||
|
Loading…
Reference in New Issue
Block a user