dep: Update imgui to v1.88

This commit is contained in:
Connor McLaughlin
2022-07-08 23:06:09 +10:00
parent b7fbde31a7
commit 0c0bd4c995
25 changed files with 10673 additions and 6813 deletions

View File

@ -294,7 +294,7 @@ void EndLayout()
bool IsCancelButtonPressed()
{
return ImGui::IsNavInputTest(ImGuiNavInput_Cancel, ImGuiInputReadMode_Pressed);
return ImGui::IsNavInputTest(ImGuiNavInput_Cancel, ImGuiNavReadMode_Pressed);
}
bool BeginFullscreenColumns(const char* title)
@ -466,7 +466,7 @@ static bool MenuButtonFrame(const char* str_id, bool enabled, float height, bool
}
else
{
if (ImGui::IsClippedEx(*bb, id, false))
if (ImGui::IsClippedEx(*bb, id))
{
*visible = false;
*hovered = false;
@ -728,7 +728,7 @@ bool FloatingButton(const char* text, float x, float y, float width, float heigh
}
else
{
if (ImGui::IsClippedEx(bb, id, false))
if (ImGui::IsClippedEx(bb, id))
return false;
}
@ -1076,7 +1076,7 @@ void NavTitle(const char* title, float height /*= LAYOUT_MENU_BUTTON_HEIGHT_NO_S
ImGui::SameLine();
ImRect bb(pos, pos + size);
if (ImGui::IsClippedEx(bb, 0, false))
if (ImGui::IsClippedEx(bb, 0))
return;
bb.Min.y += style.FramePadding.y;
@ -1127,7 +1127,7 @@ bool NavButton(const char* title, bool is_active, bool enabled /* = true */, flo
}
else
{
if (ImGui::IsClippedEx(bb, id, false))
if (ImGui::IsClippedEx(bb, id))
return false;
}