Compile fixes for GCC
This commit is contained in:
parent
dc7b72b156
commit
a76ec6fc19
19 changed files with 47 additions and 52 deletions
|
|
@ -720,7 +720,7 @@ void SDLInterface::DrawPoweredOffWindow()
|
|||
ImVec2(APP_ICON_WIDTH, APP_ICON_HEIGHT));
|
||||
ImGui::SetCursorPosY(APP_ICON_HEIGHT + 32);
|
||||
|
||||
static const ImVec2 button_size(200.0f, 40.0f);
|
||||
static const ImVec2 button_size(static_cast<float>(BUTTON_WIDTH), static_cast<float>(BUTTON_HEIGHT));
|
||||
constexpr float button_left = static_cast<float>((WINDOW_WIDTH - BUTTON_WIDTH) / 2);
|
||||
|
||||
ImGui::PushStyleVar(ImGuiStyleVar_FrameRounding, 8.0f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue