diff --git a/ChangeLog b/ChangeLog index 61c924e2e..a87bbcf1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -40,6 +40,7 @@ * src/gui/widgets/controller_view.cpp: * src/gui/widgets/effect_view.cpp: * src/gui/widgets/project_notes.cpp: + * src/core/track.cpp: * src/gui/piano_roll.cpp: * src/core/timeline.cpp: - Begin themeing widgets with the new LmmsStyle interface @@ -48,6 +49,10 @@ * src/gui/widgets/envelope_and_lfo_view.cpp: Fix backwards Color-to-gray in env and LFO graphs + * src/core/track.cpp: + * src/gui/fx_mixer_view.cpp: + Attempt to fix Skiessi's gfx bugs + 2009-01-26 Paul Giblock * src/tracks/bb_track.cpp: diff --git a/src/core/track.cpp b/src/core/track.cpp index 7178aa2f5..a48e3cb57 100644 --- a/src/core/track.cpp +++ b/src/core/track.cpp @@ -1173,10 +1173,13 @@ void trackContentWidget::updateBackground( void ) int width = ppt * tactsPerBar; m_background = QPixmap( width * 2, height() ); - QPainter pmp( &m_background ); + QPainter pmp; + pmp.begin( &m_background ); engine::getLmmsStyle()->drawTrackContentBackground( &pmp, QSize( width, height() ), ppt ); + + pmp.end(); } diff --git a/src/gui/fx_mixer_view.cpp b/src/gui/fx_mixer_view.cpp index 12c720576..58627b302 100644 --- a/src/gui/fx_mixer_view.cpp +++ b/src/gui/fx_mixer_view.cpp @@ -61,8 +61,11 @@ public: virtual void paintEvent( QPaintEvent * ) { - engine::getLmmsStyle()->drawFxLine( &QPainter(this), + QPainter painter; + painter.begin(this); + engine::getLmmsStyle()->drawFxLine( &painter, this, m_name, m_mv->currentFxLine() == this ); + painter.end(); } virtual void mousePressEvent( QMouseEvent * )