124 bool is_active_global = trans_comp.is_active_global();
126 bool has_broken_source =
false;
133 has_broken_source =
true;
137 auto col = ImGui::GetStyleColorVec4(ImGuiCol_Text);
139 col = ImLerp(col, ImVec4(0.5f, 0.85f, 1.0f, 1.0f),
float(has_source) * 0.5f);
140 col = ImLerp(col, ImVec4(1.0f, 0.0f, 0.0f, 1.0f),
float(has_broken_source) * 0.5f);
141 col = ImLerp(col, ImVec4(0.5f, 0.85f, 1.0f, 1.0f),
float(is_bone) * 0.5f);
142 col = ImLerp(col, ImVec4(0.8f, 0.4f, 0.4f, 1.0f),
float(is_submesh) * 0.5f);
143 col = ImLerp(col, ImVec4(col.x * 0.75f, col.y * 0.75f, col.z * 0.75f, col.w * 0.75f),
float(!is_active_global));