Rename Baseline+BB to Bassline+BB
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1218 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -649,6 +649,15 @@ void multimediaProject::upgrade( void )
|
||||
QDomElement el = list.item( i ).toElement();
|
||||
el.setTagName( "automationpattern" );
|
||||
}
|
||||
|
||||
list = elementsByTagName( "bbtrack" );
|
||||
for( int i = 0; !list.item( i ).isNull(); ++i )
|
||||
{
|
||||
QDomElement el = list.item( i ).toElement();
|
||||
QString s = el.attribute( "name" );
|
||||
s.replace( QRegExp("^Beat/Baseline "), "Beat/Bassline " );
|
||||
el.setAttribute( "name", s );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -677,12 +677,14 @@ void automationEditor::drawLine( int _x0, float _y0, int _x1, float _y1 )
|
||||
while( i < deltax )
|
||||
{
|
||||
y = _y0 + ( ystep * yscale * i );
|
||||
m_pattern->removeValue( midiTime( x ) );
|
||||
m_pattern->putValue( midiTime( x ), y );
|
||||
|
||||
x += xstep;
|
||||
i += 1;
|
||||
m_pattern->removeValue( midiTime( x ) );
|
||||
m_pattern->putValue( midiTime( x ), y );
|
||||
}
|
||||
m_pattern->removeValue( midiTime( _x1 ) );
|
||||
m_pattern->putValue( midiTime( _x1 ), _y1 );
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ bbEditor::bbEditor( bbTrackContainer * _tc ) :
|
||||
|
||||
|
||||
setWindowIcon( embed::getIconPixmap( "bb_track" ) );
|
||||
setWindowTitle( tr( "Beat+Baseline Editor" ) );
|
||||
setWindowTitle( tr( "Beat+Bassline Editor" ) );
|
||||
// TODO: Use style sheet
|
||||
setMinimumWidth( TRACK_OP_WIDTH + DEFAULT_SETTINGS_WIDGET_WIDTH
|
||||
+ 2 * TCO_BORDER_WIDTH + 192 );
|
||||
|
||||
@@ -361,17 +361,17 @@ void mainWindow::finalize( void )
|
||||
|
||||
toolButton * bb_editor_window = new toolButton(
|
||||
embed::getIconPixmap( "bb_track" ),
|
||||
tr( "Show/hide Beat+Baseline Editor" ) +
|
||||
tr( "Show/hide Beat+Bassline Editor" ) +
|
||||
" (F6)",
|
||||
this, SLOT( toggleBBEditorWin() ),
|
||||
m_toolBar );
|
||||
bb_editor_window->setShortcut( Qt::Key_F6 );
|
||||
bb_editor_window->setWhatsThis(
|
||||
tr( "By pressing this button, you can show or hide the "
|
||||
"Beat+Baseline Editor. The Beat+Baseline Editor is "
|
||||
"Beat+Bassline Editor. The Beat+Bassline Editor is "
|
||||
"needed for creating beats, opening, adding and "
|
||||
"removing channels, cutting, copying and pasting "
|
||||
"beat- and baseline-patterns and other things like "
|
||||
"beat- and bassline-patterns and other things like "
|
||||
"that." ) );
|
||||
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ pluginBrowser::pluginBrowser( QWidget * _parent ) :
|
||||
|
||||
QLabel * hint = new QLabel( tr( "You can drag an instrument-plugin "
|
||||
"into either the Song-Editor, the "
|
||||
"Beat+Baseline Editor or just into a "
|
||||
"Beat+Bassline Editor or just into a "
|
||||
"channel-window or on the "
|
||||
"corresponding channel-button." ),
|
||||
m_view );
|
||||
|
||||
@@ -147,7 +147,7 @@ bbTCOView::~bbTCOView()
|
||||
void bbTCOView::constructContextMenu( QMenu * _cm )
|
||||
{
|
||||
QAction * a = new QAction( embed::getIconPixmap( "bb_track" ),
|
||||
tr( "Open in Beat+Baseline-Editor" ),
|
||||
tr( "Open in Beat+Bassline-Editor" ),
|
||||
_cm );
|
||||
_cm->insertAction( _cm->actions()[0], a );
|
||||
connect( a, SIGNAL( triggered( bool ) ),
|
||||
@@ -313,7 +313,7 @@ bbTrack::bbTrack( trackContainer * _tc ) :
|
||||
int bbNum = s_infoMap.size();
|
||||
s_infoMap[this] = bbNum;
|
||||
|
||||
setName( tr( "Beat/Baseline %1" ).arg( bbNum ) );
|
||||
setName( tr( "Beat/Bassline %1" ).arg( bbNum ) );
|
||||
engine::getBBTrackContainer()->setCurrentBB( bbNum );
|
||||
engine::getBBTrackContainer()->updateComboBox();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user