mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 20:07:51 +02:00
Fixed SDRplay AGC and added hardware donators to the credits
This commit is contained in:
@ -35,6 +35,17 @@ namespace sdrpp_credits {
|
||||
"Portable File Dialogs"
|
||||
};
|
||||
|
||||
const char* hardwareDonators[] = {
|
||||
"Airspy",
|
||||
"Analog Devices",
|
||||
"Howard Su",
|
||||
"MyriadRF",
|
||||
"Nuand",
|
||||
"RFspace",
|
||||
"RTL-SDRblog",
|
||||
"SDRplay"
|
||||
};
|
||||
|
||||
const char* patrons[] = {
|
||||
"Bob Logan",
|
||||
"Christian Häusler",
|
||||
@ -58,5 +69,6 @@ namespace sdrpp_credits {
|
||||
|
||||
const int contributorCount = sizeof(contributors) / sizeof(char*);
|
||||
const int libraryCount = sizeof(libraries) / sizeof(char*);
|
||||
const int hardwareDonatorCount = sizeof(hardwareDonators) / sizeof(char*);
|
||||
const int patronCount = sizeof(patrons) / sizeof(char*);
|
||||
}
|
||||
|
@ -4,8 +4,10 @@
|
||||
namespace sdrpp_credits {
|
||||
SDRPP_EXPORT const char* contributors[];
|
||||
SDRPP_EXPORT const char* libraries[];
|
||||
SDRPP_EXPORT const char* hardwareDonators[];
|
||||
SDRPP_EXPORT const char* patrons[];
|
||||
SDRPP_EXPORT const int contributorCount;
|
||||
SDRPP_EXPORT const int libraryCount;
|
||||
SDRPP_EXPORT const int hardwareDonatorCount;
|
||||
SDRPP_EXPORT const int patronCount;
|
||||
}
|
@ -23,7 +23,7 @@ namespace credits {
|
||||
ImGui::BeginPopupModal("Credits", NULL, ImGuiWindowFlags_AlwaysAutoResize | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoMove);
|
||||
|
||||
ImGui::PushFont(style::hugeFont);
|
||||
ImGui::Text("SDR++ ");
|
||||
ImGui::Text("SDR++ ");
|
||||
ImGui::PopFont();
|
||||
ImGui::SameLine();
|
||||
ImGui::Image(icons::LOGO, ImVec2(128, 128));
|
||||
@ -33,7 +33,7 @@ namespace credits {
|
||||
|
||||
ImGui::Text("This software is brought to you by Alexandre Rouma with the help of\n\n");
|
||||
|
||||
ImGui::Columns(3, "CreditColumns", true);
|
||||
ImGui::Columns(4, "CreditColumns", true);
|
||||
|
||||
ImGui::Text("Contributors");
|
||||
for (int i = 0; i < sdrpp_credits::contributorCount; i++) {
|
||||
@ -46,6 +46,12 @@ namespace credits {
|
||||
ImGui::BulletText("%s", sdrpp_credits::libraries[i]);
|
||||
}
|
||||
|
||||
ImGui::NextColumn();
|
||||
ImGui::Text("Hardware Donators");
|
||||
for (int i = 0; i < sdrpp_credits::hardwareDonatorCount; i++) {
|
||||
ImGui::BulletText("%s", sdrpp_credits::hardwareDonators[i]);
|
||||
}
|
||||
|
||||
ImGui::NextColumn();
|
||||
ImGui::Text("Patrons");
|
||||
for (int i = 0; i < sdrpp_credits::patronCount; i++) {
|
||||
|
Reference in New Issue
Block a user