|
@ -319,7 +319,7 @@ namespace ssim { |
|
|
if(show_popup) { |
|
|
if(show_popup) { |
|
|
// wrong input file tip
|
|
|
// wrong input file tip
|
|
|
static float popup_time = 0.0f; |
|
|
static float popup_time = 0.0f; |
|
|
const float popup_duration = 7.0f; // 显示时间为5秒
|
|
|
const float popup_duration = 7.0f; // 显示时间
|
|
|
|
|
|
|
|
|
ImGui::SetNextWindowPos(ImVec2(600, 500)); // 窗口位置
|
|
|
ImGui::SetNextWindowPos(ImVec2(600, 500)); // 窗口位置
|
|
|
ImGui::SetNextWindowBgAlpha(0.5f); // 背景透明度
|
|
|
ImGui::SetNextWindowBgAlpha(0.5f); // 背景透明度
|
|
|