Add opt-in KSwitcher LAN discovery and mutual code pairing preview

This commit is contained in:
agrynco committed 2026-11-06 15:30:06 +02:00
1 parent 346af2256f
commit 9b565dd55e
17 files changed
+743 -21

No files matched your search

+3
View File
@@ -1528,6 +1528,7 @@ void showOcrOptions(HWND parent, SettingsView *v)
showRequestedWindow(w); SetForegroundWindow(w);
}
#include "ui_sync.inl"
#include "ui_lan.inl"
bool settingsChanged(HWND w, SettingsView *v)
{
try
@@ -1640,6 +1641,7 @@ LRESULT CALLBACK settingsProc(HWND w, UINT msg, WPARAM wp, LPARAM lp)
}
if (id == 257) { showOcrOptions(w, v); return 0; }
if (id == 258) { showSyncOptions(w, *v->app); return 0; }
if (id == 262) { showLan(w, *v->app); return 0; }
if (id == 259) { collectLayout(w, v); showChatLanguages(w, v); return 0; }
if (id == 230)
{
@@ -2103,6 +2105,7 @@ void showSettings(App &app, bool visible)
button(w, L"View l&og...", 256, 24, 308, 210);
label(w, L"Inspect recent operations and diagnostics.", 254, 312, 430);
checkbox(w, L"Write lo&g", 208, 24, 378, 210);
button(w, L"KSwitcher &computers...", 262, 254, 374, 260);
page();
control(w, L"STATIC", L"No unsaved changes.", 0, 261, 18, 430, 684, 24);