mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
build: Updated ImGui to v1.90.8
This commit is contained in:
@@ -253,13 +253,13 @@ namespace hex::plugin::builtin {
|
||||
{
|
||||
ImGuiExt::TextSpinner(hex::format("({})", taskCount).c_str());
|
||||
ImGui::SameLine();
|
||||
ImGuiExt::SmallProgressBar(progress, (ImGui::GetCurrentWindowRead()->MenuBarHeight() - 10_scaled) / 2.0);
|
||||
ImGuiExt::SmallProgressBar(progress, (ImGui::GetCurrentWindowRead()->MenuBarHeight - 10_scaled) / 2.0);
|
||||
ImGui::SameLine();
|
||||
}
|
||||
const auto widgetEnd = ImGui::GetCursorPos();
|
||||
|
||||
ImGui::SetCursorPos(widgetStart);
|
||||
ImGui::InvisibleButton("RestTasks", ImVec2(widgetEnd.x - widgetStart.x, ImGui::GetCurrentWindowRead()->MenuBarHeight()));
|
||||
ImGui::InvisibleButton("RestTasks", ImVec2(widgetEnd.x - widgetStart.x, ImGui::GetCurrentWindowRead()->MenuBarHeight));
|
||||
ImGui::SetCursorPos(widgetEnd);
|
||||
|
||||
std::string progressString;
|
||||
|
||||
@@ -128,7 +128,7 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
void drawTitleBar() {
|
||||
auto titleBarHeight = ImGui::GetCurrentWindowRead()->MenuBarHeight();
|
||||
auto titleBarHeight = ImGui::GetCurrentWindowRead()->MenuBarHeight;
|
||||
auto buttonSize = ImVec2(titleBarHeight * 1.5F, titleBarHeight - 1);
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_ItemSpacing, ImVec2(0, 0));
|
||||
@@ -478,7 +478,7 @@ namespace hex::plugin::builtin {
|
||||
const auto drawList = ImGui::GetWindowDrawList();
|
||||
const auto shouldDrawSidebar = anySidebarItemsAvailable();
|
||||
|
||||
const auto menuBarHeight = ImGui::GetCurrentWindowRead()->MenuBarHeight();
|
||||
const auto menuBarHeight = ImGui::GetCurrentWindowRead()->MenuBarHeight;
|
||||
const auto sidebarPos = ImGui::GetCursorPos();
|
||||
const auto sidebarWidth = shouldDrawSidebar ? 20_scaled : 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user