@@ -49,7 +49,7 @@ static void main_window(void);
4949static void push_recent_rom (std::string path);
5050static void show_status_message (void );
5151static void set_style (void );
52- static ImVec4 Lerp (const ImVec4& a, const ImVec4& b, float t);
52+ static ImVec4 lerp (const ImVec4& a, const ImVec4& b, float t);
5353
5454void gui_init (void )
5555{
@@ -357,7 +357,7 @@ static void main_window(void)
357357 {
358358 flags |= ImGuiWindowFlags_AlwaysAutoResize;
359359
360- ImGui::SetNextWindowPos (ImVec2 (625 , 31 ), ImGuiCond_FirstUseEver);
360+ ImGui::SetNextWindowPos (ImVec2 (616 , 26 ), ImGuiCond_FirstUseEver);
361361
362362 ImGui::Begin (" Output###debug_output" , &config_debug.show_screen , flags);
363363 gui_main_window_hovered = ImGui::IsWindowHovered ();
@@ -542,15 +542,15 @@ static void set_style(void)
542542 style.Colors [ImGuiCol_DockingPreview] = style.Colors [ImGuiCol_HeaderActive] * ImVec4 (1 .0f , 1 .0f , 1 .0f , 0 .7f );
543543 style.Colors [ImGuiCol_DockingEmptyBg] = ImVec4 (0 .20f , 0 .20f , 0 .20f , 1 .00f );
544544 style.Colors [ImGuiCol_TabHovered] = style.Colors [ImGuiCol_HeaderHovered];
545- // style.Colors[ImGuiCol_Tab] = Lerp (style.Colors[ImGuiCol_Header], style.Colors[ImGuiCol_TitleBgActive], 0.80f);
546- style.Colors [ImGuiCol_TabSelected] = Lerp (style.Colors [ImGuiCol_HeaderActive], style.Colors [ImGuiCol_TitleBgActive], 0 .60f );
545+ // style.Colors[ImGuiCol_Tab] = lerp (style.Colors[ImGuiCol_Header], style.Colors[ImGuiCol_TitleBgActive], 0.80f);
546+ style.Colors [ImGuiCol_TabSelected] = lerp (style.Colors [ImGuiCol_HeaderActive], style.Colors [ImGuiCol_TitleBgActive], 0 .60f );
547547 style.Colors [ImGuiCol_TabSelectedOverline] = style.Colors [ImGuiCol_HeaderActive];
548- style.Colors [ImGuiCol_TabDimmed] = Lerp (style.Colors [ImGuiCol_Tab], style.Colors [ImGuiCol_TitleBg], 0 .80f );
549- style.Colors [ImGuiCol_TabDimmedSelected] = Lerp (style.Colors [ImGuiCol_TabSelected], style.Colors [ImGuiCol_TitleBg], 0 .40f );
548+ style.Colors [ImGuiCol_TabDimmed] = lerp (style.Colors [ImGuiCol_Tab], style.Colors [ImGuiCol_TitleBg], 0 .80f );
549+ style.Colors [ImGuiCol_TabDimmedSelected] = lerp (style.Colors [ImGuiCol_TabSelected], style.Colors [ImGuiCol_TitleBg], 0 .40f );
550550 style.Colors [ImGuiCol_TabDimmedSelectedOverline] = ImVec4 (0 .50f , 0 .50f , 0 .50f , 1 .00f );
551551}
552552
553- static ImVec4 Lerp (const ImVec4& a, const ImVec4& b, float t)
553+ static ImVec4 lerp (const ImVec4& a, const ImVec4& b, float t)
554554{
555555 return ImVec4 (a.x + (b.x - a.x ) * t, a.y + (b.y - a.y ) * t, a.z + (b.z - a.z ) * t, a.w + (b.w - a.w ) * t);
556556}
0 commit comments