diff options
author | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-09 01:08:46 +0000 |
---|---|---|
committer | Orcan Ogetbil <oget.fedora@gmail.com> | 2010-12-09 01:08:46 +0000 |
commit | 7e43faf243da067865e7d0640cde448bb55ca7d6 (patch) | |
tree | 79a263ae83a4702445f6e943f2a548941768fc5c /muse2/muse/mixer | |
parent | 45f00094ca990cacd3e3a6b5516259b280b4e182 (diff) |
Ported the final Qt3 methods. Turned off Qt3Support.
Diffstat (limited to 'muse2/muse/mixer')
-rw-r--r-- | muse2/muse/mixer/meter.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/muse2/muse/mixer/meter.cpp b/muse2/muse/mixer/meter.cpp index a25aef95..deb79d06 100644 --- a/muse2/muse/mixer/meter.cpp +++ b/muse2/muse/mixer/meter.cpp @@ -116,9 +116,14 @@ void Meter::paintEvent(QPaintEvent*) else yv = val == 0 ? h : int(((maxScale - val) * h)/range); - // ORCAN - FIXME */ - bitBlt(this, fw, fw, &bgPm, 0, 0, -1, yv, true); // CopyROP, true); ddskrjo - bitBlt(this, fw, fw+yv, &fgPm, 0, yv, -1, h-yv, true); //CopyROP, true); ddskrjo + // Orcan - check + //void bitBlt ( QImage * dst, int dx, int dy, const QImage * src, int sx = 0, int sy = 0, int sw = -1, int sh = -1, Qt::ImageConversionFlags flags = Qt::AutoColor ) + + //bitBlt(this, fw, fw, &bgPm, 0, 0, -1, yv, true); // CopyROP, true); ddskrjo + //bitBlt(this, fw, fw+yv, &fgPm, 0, yv, -1, h-yv, true); //CopyROP, true); ddskrjo + + p.drawImage(fw, fw, bgPm.toImage(), 0, 0, -1, yv ); + p.drawImage(fw, fw+yv, fgPm.toImage(), 0, yv, -1, h-yv); int ymax; if(mtype == DBMeter) |