Skip to content

Commit

Permalink
1.0.07.000
Browse files Browse the repository at this point in the history
The MIDI target lists were refactored to use a standard grid control.
The MIDI target lists now show the current controller values for
assigned targets.
A MIDI learn target can now be selected by clicking its dialog control
if it has one.
MIDI learn now supports learning a part's input port and channel,
simplifying setup.
Setting a bass approach target crashed the app if the song was empty;
fixed.
Double-clicking a patch file in Explorer started the app but didn't load
the patch; fixed.
Renaming a measure repeat or a multi-chord selection behaved
unexpectedly; fixed.
Duplicate chords were being merged even if they were in different
sections; fixed.
List control tool tips were incorrectly positioned; fixed.
  • Loading branch information
victimofleisure committed Jun 16, 2014
1 parent 73a2b9a commit ac65799
Show file tree
Hide file tree
Showing 71 changed files with 1,880 additions and 2,878 deletions.
1 change: 1 addition & 0 deletions ChartUndoCodeData.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ UCODE_DEF(SECTION_CREATE)
UCODE_DEF(SECTION_DELETE)
UCODE_DEF(SECTION_PROPS)
UCODE_DEF(SONG_PROPS)
UCODE_DEF(MULTI_CHORD_EDIT)

#undef UCODE_DEF
Binary file modified ChordEase.chm
Binary file not shown.
25 changes: 25 additions & 0 deletions ChordEase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,31 @@ CString CChordEaseApp::GetFileTitle(const CString& Path)
return(sTitle);
}

void CChordEaseApp::InitNoteCombo(CComboBox& Combo, CIntRange Range, int SelIdx)
{
CString s;
int iSel = -1;
for (CNote iNote = Range.Start; iNote <= Range.End; iNote++) {
Combo.AddString(iNote.MidiName());
if (iNote == SelIdx)
iSel = iNote - Range.Start;
}
Combo.SetCurSel(iSel);
}

void CChordEaseApp::InitNumericCombo(CComboBox& Combo, CIntRange Range, int SelIdx)
{
CString s;
int iSel = -1;
for (int iItem = Range.Start; iItem <= Range.End; iItem++) {
s.Format(_T("%d"), iItem);
Combo.AddString(s);
if (iItem == SelIdx)
iSel = iItem - Range.Start;
}
Combo.SetCurSel(iSel);
}

/////////////////////////////////////////////////////////////////////////////
// CChordEaseApp message map

Expand Down
68 changes: 4 additions & 64 deletions ChordEase.dsp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions ChordEase.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ class CChordEaseApp : public CWinAppCK
void MakeAbsolutePath(CString& Path);
static void ValidateFolder(CDataExchange* pDX, int CtrlID, const CString& Path);
BOOL OnToolTipNeedText(UINT id, NMHDR* pNMHDR, LRESULT* pResult);
static void InitNoteCombo(CComboBox& Combo, CIntRange Range, int SelIdx);
static void InitNumericCombo(CComboBox& Combo, CIntRange Range, int SelIdx);

// Overrides
// ClassWizard generated virtual function overrides
Expand Down
Loading

0 comments on commit ac65799

Please sign in to comment.