diff options
author | Tim E. Real <termtech@rogers.com> | 2010-12-23 03:52:08 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2010-12-23 03:52:08 +0000 |
commit | 3dae7373e3325e5abe8263488913faef1c63c86b (patch) | |
tree | 8bc853dd8df0ba546bd4e78e56246e1be03ef59e /muse2/muse/widgets/view.h | |
parent | e2930cc7ceb780eac3a43365535e04fd7189e4aa (diff) |
Fixed *some* gui drawing speed issues.
Diffstat (limited to 'muse2/muse/widgets/view.h')
-rw-r--r-- | muse2/muse/widgets/view.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/muse2/muse/widgets/view.h b/muse2/muse/widgets/view.h index 782a3c81..f8b0c90f 100644 --- a/muse2/muse/widgets/view.h +++ b/muse2/muse/widgets/view.h @@ -24,6 +24,8 @@ class QResizeEvent; //--------------------------------------------------------- class View : public QWidget { + QPixmap pm; // for double buffering + bool pmValid; QPixmap bgPixmap; // background Pixmap QBrush brush; bool _virt; @@ -72,6 +74,7 @@ class View : public QWidget { int mapxDev(int x) const; int rmapy(int y) const; int rmapyDev(int y) const; + //QRect devToVirt(const QRect&); void setPainter(QPainter& p); |