diff --git a/ChangeLog b/ChangeLog index fd4532f14..8e30a61d6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 * src/core/main.cpp: diff --git a/plugins/audio_file_processor/logo.png b/plugins/audio_file_processor/logo.png index 375921f64..8401d9b88 100644 Binary files a/plugins/audio_file_processor/logo.png and b/plugins/audio_file_processor/logo.png differ diff --git a/src/gui/widgets/knob.cpp b/src/gui/widgets/knob.cpp index 42a82cb33..7cd5991c7 100644 --- a/src/gui/widgets/knob.cpp +++ b/src/gui/widgets/knob.cpp @@ -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 ) ); diff --git a/src/gui/widgets/volume_knob.cpp b/src/gui/widgets/volume_knob.cpp index 66d990595..cf310a67b 100644 --- a/src/gui/widgets/volume_knob.cpp +++ b/src/gui/widgets/volume_knob.cpp @@ -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() );