author | alwin <alwin> | 2004-04-07 20:28:21 (UTC) |
---|---|---|
committer | alwin <alwin> | 2004-04-07 20:28:21 (UTC) |
commit | 52ccc71e2859ae9d738629249baeef3e3df992a2 (patch) (unidiff) | |
tree | 7315f7b6810cb246296fea30e35c4f1205be97f3 /noncore/graphics/opie-eye/gui/imagescrollview.h | |
parent | f8e633dea182beabbb665a25136b43a9dd7d0558 (diff) | |
download | opie-52ccc71e2859ae9d738629249baeef3e3df992a2.zip opie-52ccc71e2859ae9d738629249baeef3e3df992a2.tar.gz opie-52ccc71e2859ae9d738629249baeef3e3df992a2.tar.bz2 |
speed up painting a lot - drawing QImage seems to be a real bad idea.
Painting QPixmap instead.
Diffstat (limited to 'noncore/graphics/opie-eye/gui/imagescrollview.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/opie-eye/gui/imagescrollview.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/graphics/opie-eye/gui/imagescrollview.h b/noncore/graphics/opie-eye/gui/imagescrollview.h index 17e2f5f..eb91dbd 100644 --- a/noncore/graphics/opie-eye/gui/imagescrollview.h +++ b/noncore/graphics/opie-eye/gui/imagescrollview.h | |||
@@ -3,6 +3,7 @@ | |||
3 | 3 | ||
4 | #include <qscrollview.h> | 4 | #include <qscrollview.h> |
5 | #include <qimage.h> | 5 | #include <qimage.h> |
6 | #include <qpixmap.h> | ||
6 | #include <qstring.h> | 7 | #include <qstring.h> |
7 | #include <qdialog.h> | 8 | #include <qdialog.h> |
8 | 9 | ||
@@ -40,6 +41,7 @@ protected: | |||
40 | 41 | ||
41 | QImage _image_data; | 42 | QImage _image_data; |
42 | QImage _original_data; | 43 | QImage _original_data; |
44 | QPixmap _pdata; | ||
43 | 45 | ||
44 | int _mouseStartPosX,_mouseStartPosY; | 46 | int _mouseStartPosX,_mouseStartPosY; |
45 | 47 | ||