SaveTool: remove licences for third-party deps.

This should thin the exe up a bit.
This commit is contained in:
Guillaume Jacquemin 2023-08-28 13:32:06 +02:00
parent 4b3912f6ef
commit 39d71a7a09
Signed by: williamjcm
SSH Key Fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A
2 changed files with 0 additions and 84 deletions

View File

@ -115,14 +115,6 @@ SaveTool::drawAbout() {
ImGui::TextUnformatted("Licence: MIT");
static auto corrade_licence = _rs.getRaw("COPYING.Corrade");
if(ImGui::BeginChild("##CorradeLicence", {0.0f, float(windowSize().y()) * 0.3f}, true)) {
ImGui::PushFont(ImGui::GetIO().Fonts->Fonts[1]);
ImGui::TextUnformatted(corrade_licence.begin(), corrade_licence.end());
ImGui::PopFont();
}
ImGui::EndChild();
ImGui::TreePop();
}
@ -143,14 +135,6 @@ SaveTool::drawAbout() {
ImGui::TextUnformatted("Licence: MIT");
static auto magnum_licence = _rs.getRaw("COPYING.Magnum");
if(ImGui::BeginChild("##MagnumLicence", {0.0f, float(windowSize().y()) * 0.3f}, true)) {
ImGui::PushFont(ImGui::GetIO().Fonts->Fonts[1]);
ImGui::TextUnformatted(magnum_licence.begin(), magnum_licence.end());
ImGui::PopFont();
}
ImGui::EndChild();
ImGui::TreePop();
}
@ -169,14 +153,6 @@ SaveTool::drawAbout() {
ImGui::TextUnformatted("Licence: MIT");
static auto imgui_licence = _rs.getRaw("LICENSE.ImGui");
if(ImGui::BeginChild("##ImGuiLicence", {0.0f, float(windowSize().y()) * 0.3f}, true)) {
ImGui::PushFont(ImGui::GetIO().Fonts->Fonts[1]);
ImGui::TextUnformatted(imgui_licence.begin(), imgui_licence.end());
ImGui::PopFont();
}
ImGui::EndChild();
ImGui::TreePop();
}
@ -195,14 +171,6 @@ SaveTool::drawAbout() {
ImGui::TextUnformatted("Licence: zlib");
static auto sdl_licence = _rs.getRaw("LICENSE.SDL");
if(ImGui::BeginChild("##SDLLicence", {0.0f, float(windowSize().y()) * 0.3f}, true)) {
ImGui::PushFont(ImGui::GetIO().Fonts->Fonts[1]);
ImGui::TextUnformatted(sdl_licence.begin(), sdl_licence.end());
ImGui::PopFont();
}
ImGui::EndChild();
ImGui::TreePop();
}
@ -221,14 +189,6 @@ SaveTool::drawAbout() {
ImGui::TextUnformatted("Licence: 3-clause BSD");
static auto libzip_licence = _rs.getRaw("LICENSE.libzip");
if(ImGui::BeginChild("##libzipLicence", {0.0f, float(windowSize().y()) * 0.3f}, true)) {
ImGui::PushFont(ImGui::GetIO().Fonts->Fonts[1]);
ImGui::TextUnformatted(libzip_licence.begin(), libzip_licence.end());
ImGui::PopFont();
}
ImGui::EndChild();
ImGui::TreePop();
}
@ -246,14 +206,6 @@ SaveTool::drawAbout() {
ImGui::TextUnformatted("Licence: MIT");
static auto efsw_licence = _rs.getRaw("LICENSE.efsw");
if(ImGui::BeginChild("##efswLicence", {0.0f, float(windowSize().y()) * 0.3f}, true)) {
ImGui::PushFont(ImGui::GetIO().Fonts->Fonts[1]);
ImGui::TextUnformatted(efsw_licence.begin(), efsw_licence.end());
ImGui::PopFont();
}
ImGui::EndChild();
ImGui::TreePop();
}
@ -272,14 +224,6 @@ SaveTool::drawAbout() {
ImGui::TextUnformatted("Licence: MIT/X derivative");
static auto curl_licence = _rs.getRaw("LICENSE.curl");
if(ImGui::BeginChild("##libcurlLicence", {0.0f, float(windowSize().y()) * 0.3f}, true)) {
ImGui::PushFont(ImGui::GetIO().Fonts->Fonts[1]);
ImGui::TextUnformatted(curl_licence.begin(), curl_licence.end());
ImGui::PopFont();
}
ImGui::EndChild();
ImGui::TreePop();
}

View File

@ -19,31 +19,3 @@ alias=fa-brands-400.ttf
[file]
filename=../COPYING
alias=COPYING
[file]
filename=../third-party/corrade/COPYING
alias=COPYING.Corrade
[file]
filename=../third-party/magnum/COPYING
alias=COPYING.Magnum
[file]
filename=../third-party/imgui/LICENSE.txt
alias=LICENSE.ImGui
[file]
filename=../third-party/SDL/LICENSE.txt
alias=LICENSE.SDL
[file]
filename=../third-party/libzip/LICENSE
alias=LICENSE.libzip
[file]
filename=../third-party/efsw/LICENSE
alias=LICENSE.efsw
[file]
filename=../third-party/curl/COPYING
alias=LICENSE.curl