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:
@@ -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 |
@@ -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 ) );
|
||||
|
||||
@@ -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() );
|
||||
|
||||
Reference in New Issue
Block a user