forked from n2ic/MorseRunner
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ interface | |
Buttons, SndCustm, SndOut, Contest, Ini, MorseKey, CallLst, | ||
VolmSldr, VolumCtl, StdCtrls, Station, Menus, ExtCtrls, Log, MAth, | ||
ComCtrls, Spin, SndTypes, ToolWin, ImgList, LazFileUtils, Crc32, | ||
WavFile, IniFiles, Windows, UdpHandler; | ||
WavFile, IniFiles, Windows, UdpHandler, Types; | ||
|
||
const | ||
WM_TBDOWN = WM_USER+1; | ||
|
@@ -214,6 +214,10 @@ TMainForm = class(TForm) | |
procedure FormKeyDown(Sender: TObject; var Key: Word; | ||
Shift: TShiftState); | ||
procedure Edit1Enter(Sender: TObject); | ||
procedure FormMouseWheelDown(Sender: TObject; Shift: TShiftState; | ||
MousePos: TPoint; var Handled: Boolean); | ||
procedure FormMouseWheelUp(Sender: TObject; Shift: TShiftState; | ||
MousePos: TPoint; var Handled: Boolean); | ||
procedure N40dB1Click(Sender: TObject); | ||
procedure N50dB1Click(Sender: TObject); | ||
procedure SendClick(Sender: TObject); | ||
|
@@ -550,6 +554,20 @@ procedure TMainForm.Edit1Enter(Sender: TObject); | |
begin Edit1.SelStart := P-1; Edit1.SelLength := 1; end; | ||
end; | ||
|
||
procedure TMainForm.FormMouseWheelDown(Sender: TObject; Shift: TShiftState; | ||
MousePos: TPoint; var Handled: Boolean); | ||
begin | ||
if GetKeyState(VK_CONTROL) >= 0 then IncRit(1) | ||
else if RunMode <> rmHst then SetBw(ComboBox2.ItemIndex-1); | ||
end; | ||
|
||
procedure TMainForm.FormMouseWheelUp(Sender: TObject; Shift: TShiftState; | ||
MousePos: TPoint; var Handled: Boolean); | ||
begin | ||
if GetKeyState(VK_CONTROL) >= 0 then IncRit(-1) | ||
else if RunMode <> rmHst then SetBw(ComboBox2.ItemIndex+1); | ||
end; | ||
|
||
procedure TMainForm.N40dB1Click(Sender: TObject); | ||
begin | ||
|
||
|
@@ -707,8 +725,8 @@ procedure TMainForm.About1Click(Sender: TObject); | |
'Copyright © 2004-2006 Alex Shovkoplyas, VE3NEA'#13#13 + | ||
'[email protected]'#13; | ||
begin | ||
Application.MessageBox(Msg, 'Morse Runner 1.68.1+', MB_OK or MB_ICONINFORMATION); | ||
end; | ||
Application.MessageBox(Msg, 'Morse Runner 1.68.4+', MB_OK or MB_ICONINFORMATION); | ||
end; | ||
|
||
|
||
procedure TMainForm.Readme1Click(Sender: TObject); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters