Improve graph and bitinvader
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1105 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -330,7 +330,7 @@ bitInvaderView::bitInvaderView( instrument * _instrument,
|
||||
m_sampleLengthKnob->move( 10, 120 );
|
||||
m_sampleLengthKnob->setHintText( tr( "Sample Length" ) + " ", "" );
|
||||
|
||||
m_graph = new graph( this );
|
||||
m_graph = new graph( this, graph::NearestStyle );
|
||||
m_graph->move(53,118); // 55,120 - 2px border
|
||||
m_graph->setAutoFillBackground( TRUE );
|
||||
|
||||
@@ -536,6 +536,7 @@ void bitInvaderView::smoothClicked( void )
|
||||
|
||||
void bitInvaderView::interpolationToggled( bool value )
|
||||
{
|
||||
m_graph->setGraphStyle( value ? graph::LinearStyle : graph::NearestStyle);
|
||||
engine::getSong()->setModified();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user