From f3908840b3660638b2bef461a95d94d5d386b4f7 Mon Sep 17 00:00:00 2001 From: ericek111 Date: Tue, 1 Sep 2026 00:03:30 +0000 Subject: [PATCH] Lay the digital window out the way N1MM does The window now carries what N1MM's does. Across the top: the TX indicator, the Letters/Figs box showing the word under the pointer in the other Baudot case, and the MouseOver box showing the word itself. Down the left of the receive pane is the pause bar, green while text prints and yellow while it is held. Under the panes are the message buttons and the row of engine controls, in N1MM's order. Both of N1MM's window scroll types are here. The scrolling pane adds lines at the bottom; the non-scrolling pane keeps text where it was printed, underlines the line being printed to and walks it down the window, so a call does not move as the pointer reaches it. A callsign is checked before it is coloured: anything shaped like a call under the generic routine, only calls in the files that are ticked under the resources routine, and under the combination everything, with a call the files do not hold marked in yellow. The garbage text search finds a Master.scp call inside a run of noise. The mouse and the keys are N1MM's. Shift+click converts the case before the word is transferred, Ctrl+click puts it in the box the cursor is in, Alt+click puts a call on the stack, a double click replaces the call in the box. The receive pane and the grab list have their right click menus. Alt+T and Ctrl+K turn the transmitter on with the cursor in the transmit pane, Alt+G grabs, Esc aborts. New from the menus: hover mode, the callsign pause routines, sending a text file, a date-stamped copy of the receive pane in ExportFiles, clearing the grab list on a CQ or a QSY, the ham default and AFC off on a run to S&P change, AFC on with CQ, and raising the window with the entry window it belongs to. The grab list holds ten calls, as N1MM's does. The setup window is N1MM's dialog: a General / MMTTY Setup tab, an Engine tab for the Wine and bridge paths, and a Message Setup tab with the buttons laid out as they sit in the window, a caption and text box for the one being edited, the macro list, the count of buttons to show, and import and save of a .mc file. Right-clicking a message button opens that tab, so the free-form macro dialog is gone. The title carries the dial frequency with the mark tone added to it, or the dial frequency alone when the radio already reads out what it transmits. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01RoGtneMQaz4M9w7Kk49AVD --- src/Nonemm.App/Dialogs/DigitalDialog.axaml | 221 +++++++++++--- src/Nonemm.App/Dialogs/DigitalDialog.axaml.cs | 245 ++++++++++++++- .../Dialogs/DigitalMacrosDialog.axaml | 20 -- .../Dialogs/DigitalMacrosDialog.axaml.cs | 22 -- src/Nonemm.App/Windows/DigitalWindow.Grab.cs | 200 ++++++++++-- .../Windows/DigitalWindow.Macros.cs | 127 +++++++- src/Nonemm.App/Windows/DigitalWindow.Menu.cs | 99 +++++- src/Nonemm.App/Windows/DigitalWindow.axaml | 183 +++++++---- src/Nonemm.App/Windows/DigitalWindow.axaml.cs | 285 ++++++++++++++++-- 9 files changed, 1154 insertions(+), 248 deletions(-) delete mode 100644 src/Nonemm.App/Dialogs/DigitalMacrosDialog.axaml delete mode 100644 src/Nonemm.App/Dialogs/DigitalMacrosDialog.axaml.cs diff --git a/src/Nonemm.App/Dialogs/DigitalDialog.axaml b/src/Nonemm.App/Dialogs/DigitalDialog.axaml index 02d0c24..63032a7 100644 --- a/src/Nonemm.App/Dialogs/DigitalDialog.axaml +++ b/src/Nonemm.App/Dialogs/DigitalDialog.axaml @@ -1,7 +1,7 @@ + + + + - - - - - - -