improved appearence of position line
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1702 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
* CMakeLists.txt:
|
||||
made 0.4.0-rc2 release
|
||||
|
||||
* src/gui/song_editor.cpp:
|
||||
* data/themes/default/playpos_marker.png:
|
||||
improved appearence of position line
|
||||
|
||||
* src/gui/file_browser.cpp:
|
||||
if adding play handle failed for some reason, set internal pointer to
|
||||
it to NULL
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 208 B After Width: | Height: | Size: 208 B |
@@ -57,7 +57,7 @@
|
||||
positionLine::positionLine( QWidget * _parent ) :
|
||||
QWidget( _parent )
|
||||
{
|
||||
setFixedWidth( 3 );
|
||||
setFixedWidth( 1 );
|
||||
setAttribute( Qt::WA_NoSystemBackground, true );
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ positionLine::positionLine( QWidget * _parent ) :
|
||||
void positionLine::paintEvent( QPaintEvent * _pe )
|
||||
{
|
||||
QPainter p( this );
|
||||
p.fillRect( rect(), QColor( 0, 0, 0, 153 ) );
|
||||
p.fillRect( rect(), QColor( 255, 255, 255, 153 ) );
|
||||
}
|
||||
|
||||
|
||||
@@ -667,7 +667,7 @@ void songEditor::updatePosition( const midiTime & _t )
|
||||
}
|
||||
|
||||
const int x = m_s->m_playPos[song::Mode_PlaySong].m_timeLine->
|
||||
markerX( _t ) + 7;
|
||||
markerX( _t ) + 8;
|
||||
if( x >= TRACK_OP_WIDTH + DEFAULT_SETTINGS_WIDGET_WIDTH-1 )
|
||||
{
|
||||
m_positionLine->show();
|
||||
|
||||
Reference in New Issue
Block a user