|
6 | 6 | #include "imgui_impl_opengl3.h"
|
7 | 7 | #include <gui/icons.h>
|
8 | 8 | #include <gui/style.h>
|
| 9 | +#include <credits.h> |
9 | 10 |
|
10 | 11 | namespace LoadingScreen {
|
11 | 12 | GLFWwindow* _win;
|
@@ -41,30 +42,22 @@ namespace LoadingScreen {
|
41 | 42 |
|
42 | 43 | ImGui::Columns(3, "CreditColumns", true);
|
43 | 44 |
|
44 |
| - // Contributors |
45 | 45 | ImGui::Text("Contributors");
|
46 |
| - ImGui::BulletText("Ryzerth (Creator)"); |
47 |
| - ImGui::BulletText("Alexsey Shestacov"); |
48 |
| - ImGui::BulletText("aosync"); |
49 |
| - ImGui::BulletText("Benjamin Kyd"); |
50 |
| - ImGui::BulletText("Tobias Mädel"); |
51 |
| - ImGui::BulletText("Raov"); |
52 |
| - ImGui::BulletText("Howard0su"); |
53 |
| - |
54 |
| - // Libraries |
| 46 | + for (int i = 0; i < sdrpp_credits::contributorCount; i++) { |
| 47 | + ImGui::BulletText(sdrpp_credits::contributors[i]); |
| 48 | + } |
| 49 | + |
55 | 50 | ImGui::NextColumn();
|
56 | 51 | ImGui::Text("Libraries");
|
57 |
| - ImGui::BulletText("SoapySDR (PothosWare)"); |
58 |
| - ImGui::BulletText("Dear ImGui (ocornut)"); |
59 |
| - ImGui::BulletText("spdlog (gabime)"); |
60 |
| - ImGui::BulletText("json (nlohmann)"); |
61 |
| - ImGui::BulletText("portaudio (PA Comm.)"); |
| 52 | + for (int i = 0; i < sdrpp_credits::libraryCount; i++) { |
| 53 | + ImGui::BulletText(sdrpp_credits::libraries[i]); |
| 54 | + } |
62 | 55 |
|
63 |
| - // Patrons |
64 | 56 | ImGui::NextColumn();
|
65 | 57 | ImGui::Text("Patrons");
|
66 |
| - ImGui::BulletText("SignalsEverywhere"); |
67 |
| - ImGui::BulletText("Lee Donaghy"); |
| 58 | + for (int i = 0; i < sdrpp_credits::patronCount; i++) { |
| 59 | + ImGui::BulletText(sdrpp_credits::patrons[i]); |
| 60 | + } |
68 | 61 |
|
69 | 62 | ImGui::Columns(1, "CreditColumnsEnd", true);
|
70 | 63 |
|
|
0 commit comments