added time-roll

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@161 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Javier Serrano Polo
2006-06-26 21:19:47 +00:00
parent 569a9ddfeb
commit 4c0c60ff83
2 changed files with 12 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ class mixer;
class pianoRoll;
class projectNotes;
class songEditor;
class timeRoll;
class engine
@@ -97,6 +98,11 @@ public:
return( m_projectJournal );
}
inline timeRoll * getTimeRoll( void )
{
return( m_timeRoll );
}
private:
bool m_hasGUI;
@@ -108,6 +114,7 @@ private:
pianoRoll * m_pianoRoll;
projectNotes * m_projectNotes;
projectJournal * m_projectJournal;
timeRoll * m_timeRoll;
} ;

View File

@@ -34,6 +34,7 @@
#include "preset_preview_play_handle.h"
#include "project_notes.h"
#include "song_editor.h"
#include "time_roll.h"
engine::engine( const bool _has_gui ) :
@@ -43,7 +44,8 @@ engine::engine( const bool _has_gui ) :
m_songEditor( NULL ),
m_bbEditor( NULL ),
m_pianoRoll( NULL ),
m_projectJournal( NULL )
m_projectJournal( NULL ),
m_timeRoll( NULL )
{
m_projectJournal = new projectJournal( this );
m_mainWindow = new mainWindow( this );
@@ -52,6 +54,7 @@ engine::engine( const bool _has_gui ) :
m_projectNotes = new projectNotes( this );
m_bbEditor = new bbEditor( this );
m_pianoRoll = new pianoRoll( this );
m_timeRoll = new timeRoll( this );
m_mixer->initDevices();
@@ -71,6 +74,7 @@ engine::~engine()
delete m_songEditor;
delete m_bbEditor;
delete m_pianoRoll;
delete m_timeRoll;
presetPreviewPlayHandle::cleanUp( this );