mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-13 19:29:58 +01:00
Fun vimix crow in About dialog
This commit is contained in:
@@ -1273,8 +1273,9 @@ void UserInterface::RenderAbout(bool* p_open)
|
||||
return;
|
||||
}
|
||||
|
||||
ImVec2 top = ImGui::GetCursorScreenPos();
|
||||
#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::PopFont();
|
||||
#else
|
||||
@@ -1283,7 +1284,12 @@ void UserInterface::RenderAbout(bool* p_open)
|
||||
ImGui::PopFont();
|
||||
#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("\nvimix is licensed under GNU GPL version 3 or later.\n" UNICODE_COPYRIGHT " 2019-2022 Bruno Herbelin.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user