mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-14 11:49:59 +01:00
Fun vimix crow in About dialog
This commit is contained in:
@@ -484,6 +484,7 @@ set(VMIX_RSC_FILES
|
|||||||
./rsc/images/mask_linear_left.png
|
./rsc/images/mask_linear_left.png
|
||||||
./rsc/images/mask_linear_right.png
|
./rsc/images/mask_linear_right.png
|
||||||
./rsc/images/vimix_256x256.png
|
./rsc/images/vimix_256x256.png
|
||||||
|
./rsc/images/vimix_crow_white.png
|
||||||
./rsc/images/icons.dds
|
./rsc/images/icons.dds
|
||||||
./rsc/images/gradient_0_cross_linear.png
|
./rsc/images/gradient_0_cross_linear.png
|
||||||
./rsc/images/gradient_1_black_linear.png
|
./rsc/images/gradient_1_black_linear.png
|
||||||
|
|||||||
@@ -1273,8 +1273,9 @@ void UserInterface::RenderAbout(bool* p_open)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ImVec2 top = ImGui::GetCursorScreenPos();
|
||||||
#ifdef VIMIX_VERSION_MAJOR
|
#ifdef VIMIX_VERSION_MAJOR
|
||||||
ImGuiToolkit::PushFont(ImGuiToolkit::FONT_BOLD);
|
ImGuiToolkit::PushFont(ImGuiToolkit::FONT_LARGE);
|
||||||
ImGui::Text("%s %d.%d.%d", APP_NAME, VIMIX_VERSION_MAJOR, VIMIX_VERSION_MINOR, VIMIX_VERSION_PATCH);
|
ImGui::Text("%s %d.%d.%d", APP_NAME, VIMIX_VERSION_MAJOR, VIMIX_VERSION_MINOR, VIMIX_VERSION_PATCH);
|
||||||
ImGui::PopFont();
|
ImGui::PopFont();
|
||||||
#else
|
#else
|
||||||
@@ -1283,7 +1284,12 @@ void UserInterface::RenderAbout(bool* p_open)
|
|||||||
ImGui::PopFont();
|
ImGui::PopFont();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ImGui::Separator();
|
static unsigned int img_crow = 0;
|
||||||
|
if (img_crow == 0)
|
||||||
|
img_crow = Resource::getTextureImage("images/vimix_crow_white.png");
|
||||||
|
ImGui::SetCursorScreenPos(top);
|
||||||
|
ImGui::Image((void*)(intptr_t)img_crow, ImVec2(512, 340));
|
||||||
|
|
||||||
ImGui::Text("vimix performs graphical mixing and blending of\nseveral movie clips and computer generated graphics,\nwith image processing effects in real-time.");
|
ImGui::Text("vimix performs graphical mixing and blending of\nseveral movie clips and computer generated graphics,\nwith image processing effects in real-time.");
|
||||||
ImGui::Text("\nvimix is licensed under GNU GPL version 3 or later.\n" UNICODE_COPYRIGHT " 2019-2022 Bruno Herbelin.");
|
ImGui::Text("\nvimix is licensed under GNU GPL version 3 or later.\n" UNICODE_COPYRIGHT " 2019-2022 Bruno Herbelin.");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user