Implemented client datasource

This commit is contained in:
Martino Ferrari
2026-06-25 00:45:45 +02:00
parent dca4872976
commit 0412c20edd
28 changed files with 3448 additions and 618 deletions
+12
View File
@@ -100,6 +100,18 @@ void RenderSourcePanel(App& app) {
}
ImGui::PopStyleVar();
/* ── Add / Save sources (inline at the bottom of the sidebar) ──────── */
ImGui::Spacing();
ImGui::Separator();
ImGui::Spacing();
if (ImGui::Button(ICON_FA_PLUS " Add Source", ImVec2(-1.f, 0.f))) {
app.showAddSrc() = true;
}
if (ImGui::Button(ICON_FA_FLOPPY_DISK " Save Sources", ImVec2(-1.f, 0.f))) {
app.ws().sendText(BuildSaveSources());
}
}
} /* namespace StreamHubClient */