From: <pst...@us...> - 2008-12-15 05:40:29
|
Revision: 646 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=646&view=rev Author: pstieber Date: 2008-12-15 05:40:25 +0000 (Mon, 15 Dec 2008) Log Message: ----------- Removed white space from the ends of lines. Modified Paths: -------------- trunk/jazz/src/Harmony.cpp Modified: trunk/jazz/src/Harmony.cpp =================================================================== --- trunk/jazz/src/Harmony.cpp 2008-12-15 05:39:14 UTC (rev 645) +++ trunk/jazz/src/Harmony.cpp 2008-12-15 05:40:25 UTC (rev 646) @@ -1975,9 +1975,9 @@ EVT_MENU(MEN_HELP, HBFrame::OnHelp) -// EVT_MENU(MEN_ANALYZE, -// EVT_MENU(MEN_TRANSPOSE, -// EVT_MENU(MEN_SETTINGS, +// EVT_MENU(MEN_ANALYZE, +// EVT_MENU(MEN_TRANSPOSE, +// EVT_MENU(MEN_SETTINGS, END_EVENT_TABLE() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pst...@us...> - 2008-12-26 22:22:58
|
Revision: 652 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=652&view=rev Author: pstieber Date: 2008-12-26 21:32:59 +0000 (Fri, 26 Dec 2008) Log Message: ----------- Changed *Pixel to *Position. Modified Paths: -------------- trunk/jazz/src/Harmony.cpp Modified: trunk/jazz/src/Harmony.cpp =================================================================== --- trunk/jazz/src/Harmony.cpp 2008-12-26 21:06:47 UTC (rev 651) +++ trunk/jazz/src/Harmony.cpp 2008-12-26 21:32:59 UTC (rev 652) @@ -2117,10 +2117,11 @@ //----------------------------------------------------------------------------- HBFrame::~HBFrame() { - int XPixel, YPixel; - GetPosition(&XPixel, &YPixel); - gpConfig->Put(C_HarmonyXpos, XPixel); - gpConfig->Put(C_HarmonyYpos, YPixel); + int XPosition, YPosition; + GetPosition(&XPosition, &YPosition); + gpConfig->Put(C_HarmonyXpos, XPosition); + gpConfig->Put(C_HarmonyYpos, YPosition); + delete mpToolBar; delete mpHbWindow; gpHarmonyBrowser = 0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pst...@us...> - 2011-08-05 20:39:59
|
Revision: 888 http://jazzplusplus.svn.sourceforge.net/jazzplusplus/?rev=888&view=rev Author: pstieber Date: 2011-08-05 20:39:53 +0000 (Fri, 05 Aug 2011) Log Message: ----------- Changed c_str() to wx_str() due to Microsoft template specializations. Modified Paths: -------------- trunk/jazz/src/Harmony.cpp Modified: trunk/jazz/src/Harmony.cpp =================================================================== --- trunk/jazz/src/Harmony.cpp 2011-08-05 20:37:32 UTC (rev 887) +++ trunk/jazz/src/Harmony.cpp 2011-08-05 20:39:53 UTC (rev 888) @@ -1449,7 +1449,7 @@ if (!FileName.empty()) { - ifstream Is(FileName.c_str()); + ifstream Is(FileName.wx_str()); Is >> *this; } } @@ -1467,7 +1467,7 @@ if (!FileName.empty()) { - ofstream os(FileName.c_str()); + ofstream os(FileName.wx_str()); os << *this; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pst...@us...> - 2013-03-17 23:01:05
|
Revision: 961 http://sourceforge.net/p/jazzplusplus/code/961 Author: pstieber Date: 2013-03-17 23:01:02 +0000 (Sun, 17 Mar 2013) Log Message: ----------- Made cosmetic changes. Modified Paths: -------------- trunk/jazz/src/Harmony.cpp Modified: trunk/jazz/src/Harmony.cpp =================================================================== --- trunk/jazz/src/Harmony.cpp 2013-03-17 13:15:25 UTC (rev 960) +++ trunk/jazz/src/Harmony.cpp 2013-03-17 23:01:02 UTC (rev 961) @@ -882,9 +882,8 @@ mMargin = 1; } + mHasChanged = false; - mHasChanged = false; - SetScrollbars(0, (int)(mChordHeight + 0.5), 0, 12 + SEQMAX / 8 + 2, 0, 0); } @@ -2390,6 +2389,8 @@ mpHbWindow->TransposeSelection(); } +//***************************************************************************** +//***************************************************************************** void CreateHarmonyBrowser() { if (!gpHarmonyBrowser) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pst...@us...> - 2013-03-18 18:54:17
|
Revision: 974 http://sourceforge.net/p/jazzplusplus/code/974 Author: pstieber Date: 2013-03-18 18:54:14 +0000 (Mon, 18 Mar 2013) Log Message: ----------- 1. Used JZEventWindow::AreEventsSelected() instead of gpTrackWindow->mpSnapSel->IsSelected(). 2. Updated some variable names and fixed line wrap. Modified Paths: -------------- trunk/jazz/src/Harmony.cpp Modified: trunk/jazz/src/Harmony.cpp =================================================================== --- trunk/jazz/src/Harmony.cpp 2013-03-18 18:51:59 UTC (rev 973) +++ trunk/jazz/src/Harmony.cpp 2013-03-18 18:54:14 UTC (rev 974) @@ -1426,11 +1426,13 @@ wxMessageBox("define a chord sequence first", "error", wxOK); return; } - if (gpTrackWindow->EventsSelected("please select destination range in track window")) + if ( + gpTrackWindow->EventsSelected( + "please select destination range in track window")) { wxBeginBusyCursor(); - JZHarmonyBrowserAnalyzer analyzer(mSequence, mSequenceCount); - analyzer.Transpose(gpTrackWindow->mpFilter, transpose_res); + JZHarmonyBrowserAnalyzer HarmonyBrowserAnalyzer(mSequence, mSequenceCount); + HarmonyBrowserAnalyzer.Transpose(gpTrackWindow->mpFilter, transpose_res); wxEndBusyCursor(); } } @@ -1494,11 +1496,16 @@ break; case MEN_ANALYZE: - if (gpTrackWindow->EventsSelected("please select source range in track window")) + if ( + gpTrackWindow->EventsSelected( + "please select source range in track window")) { wxBeginBusyCursor(); - JZHarmonyBrowserAnalyzer analyzer(mSequence, (int)SEQMAX); - mSequenceCount = analyzer.Analyze(gpTrackWindow->mpFilter, analyze_res); + JZHarmonyBrowserAnalyzer + HarmonyBrowserAnalyzer(mSequence, (int)SEQMAX); + mSequenceCount = HarmonyBrowserAnalyzer.Analyze( + gpTrackWindow->mpFilter, + analyze_res); Refresh(); wxEndBusyCursor(); } @@ -1520,13 +1527,14 @@ //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- -JZHarmonyBrowserAnalyzer * JZHarmonyBrowserCanvas::GetAnalyzer() +JZHarmonyBrowserAnalyzer* JZHarmonyBrowserCanvas::GetAnalyzer() { - if (mSequenceCount > 0 && gpTrackWindow->mpSnapSel->IsSelected()) + if (mSequenceCount > 0 && gpTrackWindow->AreEventsSelected()) { - JZHarmonyBrowserAnalyzer *analyzer = new JZHarmonyBrowserAnalyzer(mSequence, mSequenceCount); - analyzer->Init(gpTrackWindow->mpFilter, transpose_res); - return analyzer; + JZHarmonyBrowserAnalyzer* pHarmonyBrowserAnalyzer = + new JZHarmonyBrowserAnalyzer(mSequence, mSequenceCount); + pHarmonyBrowserAnalyzer->Init(gpTrackWindow->mpFilter, transpose_res); + return pHarmonyBrowserAnalyzer; } return 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |