|
From: <pst...@us...> - 2013-04-07 16:14:31
|
Revision: 1009
http://sourceforge.net/p/jazzplusplus/code/1009
Author: pstieber
Date: 2013-04-07 16:14:28 +0000 (Sun, 07 Apr 2013)
Log Message:
-----------
Recorded the position of the rhythm generator frame in the configuration file.
Modified Paths:
--------------
trunk/jazz/src/Rhythm.cpp
Modified: trunk/jazz/src/Rhythm.cpp
===================================================================
--- trunk/jazz/src/Rhythm.cpp 2013-04-07 16:08:51 UTC (rev 1008)
+++ trunk/jazz/src/Rhythm.cpp 2013-04-07 16:14:28 UTC (rev 1009)
@@ -1894,6 +1894,11 @@
//-----------------------------------------------------------------------------
JZRhythmGeneratorFrame::~JZRhythmGeneratorFrame()
{
+ int XPixel, YPixel;
+ GetPosition(&XPixel, &YPixel);
+ gpConfig->Put(C_RhythmXpos, XPixel);
+ gpConfig->Put(C_RhythmYpos, YPixel);
+
delete mpRhythmGeneratorWindow;
gpRhythmGeneratorFrame = 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|