finally splitted rest of LMMS, i.e. tracks, track-containers, track-content-objects, whole instrument-track/instrument-track-window and so on - still a bit unstable but I'm sure we'll manage to get this one very stable\!

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms-mv@691 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-02-16 02:04:58 +00:00
parent 40017887e9
commit 5d5ad19021
79 changed files with 8453 additions and 6656 deletions

View File

@@ -38,12 +38,15 @@
#include "project_journal.h"
#include "project_notes.h"
#include "song_editor.h"
#include "song.h"
bool engine::s_hasGUI = TRUE;
float engine::s_framesPerTact64th;
mixer * engine::s_mixer;
mainWindow * engine::s_mainWindow;
bbTrackContainer * engine::s_bbTrackContainer;
song * engine::s_song;
songEditor * engine::s_songEditor;
automationEditor * engine::s_automationEditor;
bbEditor * engine::s_bbEditor;
@@ -63,11 +66,14 @@ void engine::init( const bool _has_gui )
loadExtensions();
s_projectJournal = new projectJournal;
s_mainWindow = new mainWindow;
s_mixer = new mixer;
s_songEditor = new songEditor;
s_song = new song;
s_bbTrackContainer = new bbTrackContainer;
s_mainWindow = new mainWindow;
s_songEditor = new songEditor( s_song );
s_projectNotes = new projectNotes;
s_bbEditor = new bbEditor;
s_bbEditor = new bbEditor( s_bbTrackContainer );
s_pianoRoll = new pianoRoll;
s_automationEditor = new automationEditor;
s_ladspaManager = new ladspa2LMMS;
@@ -120,7 +126,7 @@ void engine::destroy( void )
void engine::updateFramesPerTact64th( void )
{
s_framesPerTact64th = s_mixer->sampleRate() * 60.0f * BEATS_PER_TACT
/ 64.0f / s_songEditor->getTempo();
/ 64.0f / s_song->getTempo();
}