Managing client name and disconnection (e.g. end vimix)

This commit is contained in:
brunoherbelin
2020-10-25 18:56:56 +01:00
parent 8fa14bda1a
commit e60c7a4cad
8 changed files with 97 additions and 99 deletions

View File

@@ -544,5 +544,14 @@ void ImGuiVisitor::visit (NetworkSource& s)
ImGui::Text(" - %s (%dx%d)\n - Network host %s:%d", NetworkToolkit::protocol_name[ns->protocol()],
ns->resolution().x, ns->resolution().y, ns->IP().c_str(), ns->port());
if ( !ns->isPlaying()) {
if ( ImGui::Button("Interrupted - Reload", ImVec2(IMGUI_RIGHT_ALIGN, 0)) )
{
// TODO : reload ?
}
}
}