@@ -25,6 +25,8 @@ type |
| 25 |
{ TfrmTracker } |
25 |
{ TfrmTracker } |
| 26 |
|
26 |
|
| 27 |
TfrmTracker = class(TForm) |
27 |
TfrmTracker = class(TForm) |
|
|
28 |
DecreaseOctaveAction: TAction; |
|
|
29 |
IncreaseOctaveAction: TAction; |
| 28 |
IncrementCurrentInstrumentAction: TAction; |
30 |
IncrementCurrentInstrumentAction: TAction; |
| 29 |
DecrementCurrentInstrumentAction: TAction; |
31 |
DecrementCurrentInstrumentAction: TAction; |
| 30 |
GotoGeneralAction: TAction; |
32 |
GotoGeneralAction: TAction; |
@@ -259,6 +261,7 @@ type |
| 259 |
TrackerGrid: TTrackerGrid; |
261 |
TrackerGrid: TTrackerGrid; |
| 260 |
procedure Button1Click(Sender: TObject); |
262 |
procedure Button1Click(Sender: TObject); |
| 261 |
procedure DebugButtonClick(Sender: TObject); |
263 |
procedure DebugButtonClick(Sender: TObject); |
|
|
264 |
procedure DecreaseOctaveActionExecute(Sender: TObject); |
| 262 |
procedure DecrementCurrentInstrumentActionExecute(Sender: TObject); |
265 |
procedure DecrementCurrentInstrumentActionExecute(Sender: TObject); |
| 263 |
procedure DeleteRowActionExecute(Sender: TObject); |
266 |
procedure DeleteRowActionExecute(Sender: TObject); |
| 264 |
procedure DeleteRowActionUpdate(Sender: TObject); |
267 |
procedure DeleteRowActionUpdate(Sender: TObject); |
@@ -276,6 +279,7 @@ type |
| 276 |
procedure GotoRoutinesActionExecute(Sender: TObject); |
279 |
procedure GotoRoutinesActionExecute(Sender: TObject); |
| 277 |
procedure GotoWavesActionExecute(Sender: TObject); |
280 |
procedure GotoWavesActionExecute(Sender: TObject); |
| 278 |
procedure HexWaveEditEditingDone(Sender: TObject); |
281 |
procedure HexWaveEditEditingDone(Sender: TObject); |
|
|
282 |
procedure IncreaseOctaveActionExecute(Sender: TObject); |
| 279 |
procedure IncrementCurrentInstrumentActionExecute(Sender: TObject); |
283 |
procedure IncrementCurrentInstrumentActionExecute(Sender: TObject); |
| 280 |
procedure InsertRowActionExecute(Sender: TObject); |
284 |
procedure InsertRowActionExecute(Sender: TObject); |
| 281 |
procedure InsertRowActionUpdate(Sender: TObject); |
285 |
procedure InsertRowActionUpdate(Sender: TObject); |
@@ -1751,6 +1755,12 @@ begin |
| 1751 |
end; |
1755 |
end; |
| 1752 |
end; |
1756 |
end; |
| 1753 |
|
1757 |
|
|
|
1758 |
procedure TfrmTracker.IncreaseOctaveActionExecute(Sender: TObject); |
|
|
1759 |
begin |
|
|
1760 |
OctaveSpinEdit.Value := OctaveSpinEdit.Value + 1; |
|
|
1761 |
TrackerGrid.SelectedOctave := OctaveSpinEdit.Value; |
|
|
1762 |
end; |
|
|
1763 |
|
| 1754 |
procedure TfrmTracker.IncrementCurrentInstrumentActionExecute(Sender: TObject); |
1764 |
procedure TfrmTracker.IncrementCurrentInstrumentActionExecute(Sender: TObject); |
| 1755 |
begin |
1765 |
begin |
| 1756 |
InstrumentComboBox.ItemIndex := EnsureRange(InstrumentComboBox.ItemIndex+1, 0, InstrumentComboBox.Items.Count-1); |
1766 |
InstrumentComboBox.ItemIndex := EnsureRange(InstrumentComboBox.ItemIndex+1, 0, InstrumentComboBox.Items.Count-1); |
@@ -1961,6 +1971,12 @@ begin |
| 1961 |
UpdateUIAfterLoad('Yeah!'); |
1971 |
UpdateUIAfterLoad('Yeah!'); |
| 1962 |
end; |
1972 |
end; |
| 1963 |
|
1973 |
|
|
|
1974 |
procedure TfrmTracker.DecreaseOctaveActionExecute(Sender: TObject); |
|
|
1975 |
begin |
|
|
1976 |
OctaveSpinEdit.Value := OctaveSpinEdit.Value - 1; |
|
|
1977 |
TrackerGrid.SelectedOctave := OctaveSpinEdit.Value; |
|
|
1978 |
end; |
|
|
1979 |
|
| 1964 |
procedure TfrmTracker.DecrementCurrentInstrumentActionExecute(Sender: TObject); |
1980 |
procedure TfrmTracker.DecrementCurrentInstrumentActionExecute(Sender: TObject); |
| 1965 |
begin |
1981 |
begin |
| 1966 |
InstrumentComboBox.ItemIndex := EnsureRange(InstrumentComboBox.ItemIndex-1, 0, InstrumentComboBox.Items.Count-1); |
1982 |
InstrumentComboBox.ItemIndex := EnsureRange(InstrumentComboBox.ItemIndex-1, 0, InstrumentComboBox.Items.Count-1); |