Knob enhancements and missing AFP logo

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1006 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-05-21 05:04:47 +00:00
parent eff18ad8dc
commit e3696c5769
4 changed files with 12 additions and 3 deletions

View File

@@ -11,6 +11,7 @@
* plugins/audio_file_processor/audio_file_processor.cpp:
* plugins/audio_file_processor/select_file.png:
* plugins/audio_file_processor/logo.png:
* plugins/audio_file_processor/loop_off.png:
* plugins/audio_file_processor/loop_on.png:
* plugins/audio_file_processor/reverse_off.png:
@@ -19,6 +20,14 @@
* data/themes/default/style.css:
Integrate new audio file processor artwork
* src/gui/widgets/volume_knob.cpp:
Fix placement of tooltop in styled knobs
* src/gui/widgets/knob.cpp:
Minor graphical enhacement for styled knobs
2008-05-21 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* src/core/main.cpp:

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@@ -293,7 +293,7 @@ void knob::drawKnob( QPainter * _p )
if( m_outerColor )
{
QRadialGradient gradient( centerPoint(), outerRadius() );
gradient.setColorAt(0.33, _p->pen().brush().color() );
gradient.setColorAt(0.4, _p->pen().brush().color() );
gradient.setColorAt(1, *m_outerColor );
_p->setPen( QPen( gradient, lineWidth(), Qt::SolidLine, Qt::RoundCap ) );

View File

@@ -95,7 +95,7 @@ void volumeKnob::mousePressEvent( QMouseEvent * _me )
s_textFloat->setText( m_hintTextBeforeValue + val );
s_textFloat->moveGlobal( this,
QPoint( m_knobPixmap->width() + 2, 0 ) );
QPoint( width() + 2, 0 ) );
s_textFloat->show();
m_buttonPressed = TRUE;
}
@@ -167,7 +167,7 @@ void volumeKnob::wheelEvent( QWheelEvent * _we )
}
s_textFloat->setText( m_hintTextBeforeValue + val );
s_textFloat->moveGlobal( this, QPoint( m_knobPixmap->width() + 2, 0 ) );
s_textFloat->moveGlobal( this, QPoint( width() + 2, 0 ) );
s_textFloat->setVisibilityTimeOut( 1000 );
emit sliderMoved( model()->value() );