mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 18:43:51 +00:00
Phase 5 (batch 28): move display state into the controller
Move the 14 persisted display-state fields (FShow*/FSpec*/FWf*/FTXSpec*/ FWidebandFill/FSpectrumFill) from MainForm into TRadioController so a headless device load (DoConnectDevice) can apply them without the UI. Pure field relocation: every reader/writer now addresses FController.F*, render still happens in MainForm against FSpecView/FWidebandView. Compiler-verified complete; behavior preserved. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
9fdfc67f65
commit
1fdbe27b96
@@ -175,6 +175,22 @@ type
|
||||
FDitherEnabled: Boolean;
|
||||
FRandomEnabled: Boolean;
|
||||
|
||||
// ---- Display state (persist в TGlobalSettings; рендерится FSpecView/Wideband) ----
|
||||
FShowSpectrum: Boolean;
|
||||
FShowWaterfall: Boolean;
|
||||
FShowWideband: Boolean;
|
||||
FWidebandFill: Boolean;
|
||||
FSpectrumFill: Boolean;
|
||||
FWfManualHigh: Double;
|
||||
FWfManualLow: Double;
|
||||
FWfAGCOffset: Double;
|
||||
FSpecRefLevel: Double;
|
||||
FSpecRange: Double;
|
||||
FSpecGridStep: Double;
|
||||
FTXSpecRefLevel: Double; // TX-сетка (Thetis-style): применяется при FTransmitting
|
||||
FTXSpecRange: Double;
|
||||
FTXSpecGridStep: Double;
|
||||
|
||||
// ---- FM ----
|
||||
FFMDeviation: Double;
|
||||
FFMCTCSSOn: Boolean;
|
||||
|
||||
Reference in New Issue
Block a user