Implemented client datasource
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user