mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 20:37:33 +00:00
2cf01036a3cb0d66393cf416f4b52a1ee36b144a
NR/NB modes, SNB/ANF flags, and drive % were stored only in the widgets themselves (Btn*.Tag, TrkDrive.Position) — the last hard blocker to a headless/daemon mode, since without those controls the state had nowhere to live and CAT/Web read them directly. - NR/NB: BtnNR.Tag/BtnNB.Tag -> FController.FNRMode/FNBMode (Integer). - SNB/ANF: BtnSNB.Tag/BtnANF.Tag (0/1) -> FController.FSNB/FANF (Boolean). - Drive %: TrkDrive.Position -> new FController.FDrivePercent; the slider is now pure input (TrkDriveChange pushes its value into the controller), while FDriveLevel stays the derived hardware byte. Buttons/sliders become pure view+input: click handlers and UpdateXButton read/write the controller field; CAT getters, the web snapshot, and GetSnapshot all source state from the controller, not the widgets. No behavioral change. Builds clean (cocoa). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…
…
…
Languages
Pascal
96.4%
Python
2.9%
Shell
0.6%