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

@@ -33,7 +33,7 @@
#include "audio_file_processor.h"
#include "automatable_model_templates.h"
#include "engine.h"
#include "song_editor.h"
#include "song.h"
#include "instrument_track.h"
#include "note_play_handle.h"
#include "interpolation.h"
@@ -447,7 +447,7 @@ void audioFileProcessorView::dragEnterEvent( QDragEnterEvent * _dee )
QString txt = _dee->mimeData()->data(
stringPairDrag::mimeType() );
if( txt.section( ':', 0, 0 ) == QString( "tco_%1" ).arg(
track::SAMPLE_TRACK ) )
track::SampleTrack ) )
{
_dee->acceptProposedAction();
}
@@ -479,7 +479,7 @@ void audioFileProcessorView::dropEvent( QDropEvent * _de )
_de->accept();
return;
}
else if( type == QString( "tco_%1" ).arg( track::SAMPLE_TRACK ) )
else if( type == QString( "tco_%1" ).arg( track::SampleTrack ) )
{
multimediaProject mmp( value, FALSE );
castModel<audioFileProcessor>()->setAudioFile( mmp.content().
@@ -572,7 +572,7 @@ void audioFileProcessorView::openAudioFile( void )
if( af != "" )
{
castModel<audioFileProcessor>()->setAudioFile( af );
engine::getSongEditor()->setModified();
engine::getSong()->setModified();
}
}

View File

@@ -34,8 +34,7 @@ ladspaControls::ladspaControls( ladspaEffect * _eff,
m_processors( _eff->getProcessorCount() ),
m_track( _track ),
m_noLink( FALSE ),
m_stereoLinkModel( TRUE, FALSE, TRUE, boolModel::defaultRelStep(),
this )
m_stereoLinkModel( TRUE, this )
{
multi_proc_t controls = m_effect->getPortControls();
m_controlCount = controls.count();

View File

@@ -1,2 +1 @@
SUBDIRS = mallets
# voices
SUBDIRS = mallets voices