added mute-attribute to TCOs and fixed other small things

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@134 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2006-05-22 12:33:18 +00:00
parent 8d78f224a3
commit e07a25a5c9
16 changed files with 289 additions and 63 deletions

View File

@@ -114,6 +114,12 @@ bbEditor::bbEditor( engine * _engine ) :
tr( "Stop playing of current beat/bassline (Space)" ),
this, SLOT( stop() ), m_toolBar );
toolButton * add_bb_track = new toolButton(
embed::getIconPixmap( "add_bb_track" ),
tr( "Add beat/bassline" ),
eng()->getSongEditor(), SLOT( addBBTrack() ),
m_toolBar );
#ifdef QT4
m_playButton->setWhatsThis(
@@ -144,6 +150,8 @@ bbEditor::bbEditor( engine * _engine ) :
tb_layout->addWidget( m_stopButton );
tb_layout->addSpacing( 20 );
tb_layout->addWidget( m_bbComboBox );
tb_layout->addSpacing( 10 );
tb_layout->addWidget( add_bb_track );
tb_layout->addStretch();
tb_layout->addWidget( l );
tb_layout->addSpacing( 15 );
@@ -198,7 +206,7 @@ void bbEditor::setCurrentBB( int _bb )
tact bbEditor::lengthOfBB( csize _bb )
{
midiTime max_length;
trackVector tv = tracks();
for( trackVector::iterator it = tv.begin(); it != tv.end(); ++it )
{