SaveTool: add the libcurl version to the about screen.

This commit is contained in:
Guillaume Jacquemin 2022-11-26 11:31:14 +01:00
parent 90ff680aff
commit 9de6766750

View file

@ -24,6 +24,8 @@
#include <zipconf.h> #include <zipconf.h>
#include <curl/curlver.h>
#include "../FontAwesome/IconsFontAwesome5.h" #include "../FontAwesome/IconsFontAwesome5.h"
#include "../FontAwesome/IconsFontAwesome5Brands.h" #include "../FontAwesome/IconsFontAwesome5Brands.h"
@ -255,6 +257,7 @@ void SaveTool::drawAbout() {
} }
if(ImGui::TreeNodeEx("libcurl", ImGuiTreeNodeFlags_SpanAvailWidth)) { if(ImGui::TreeNodeEx("libcurl", ImGuiTreeNodeFlags_SpanAvailWidth)) {
ImGui::Text("Version used: %s", LIBCURL_VERSION);
auto curl_website = "https://curl.se/libcurl"; auto curl_website = "https://curl.se/libcurl";
drawAlignedText(ICON_FA_GLOBE " %s", curl_website); drawAlignedText(ICON_FA_GLOBE " %s", curl_website);
ImGui::SameLine(); ImGui::SameLine();