summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qwindowsurface_qws_p.h
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2010-03-04 14:53:09 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2010-03-04 16:00:49 (GMT)
commitc28a7828a28295d66d37cddca9d23a70f37f2c75 (patch)
tree66726c8a17c1f2c4dfc55ad8d021897e4426f611 /src/gui/painting/qwindowsurface_qws_p.h
parent30dba6b22f907ba36ed8f71568ab2489536f8f43 (diff)
downloadQt-c28a7828a28295d66d37cddca9d23a70f37f2c75.zip
Qt-c28a7828a28295d66d37cddca9d23a70f37f2c75.tar.gz
Qt-c28a7828a28295d66d37cddca9d23a70f37f2c75.tar.bz2
Make translucent windows work, and support WA_TranslucentBackground
QWS will make a window translucent if the background brush is not opaque. Now we also support the cross-platform way of doing it. This also includes fixes for bugs caused by behavioural changes in the internal windowsurface/backingstore implementation. Task-number: QTBUG-5739 Reviewed-by: Tom
Diffstat (limited to 'src/gui/painting/qwindowsurface_qws_p.h')
-rw-r--r--src/gui/painting/qwindowsurface_qws_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/painting/qwindowsurface_qws_p.h b/src/gui/painting/qwindowsurface_qws_p.h
index a8371c8..30900dc 100644
--- a/src/gui/painting/qwindowsurface_qws_p.h
+++ b/src/gui/painting/qwindowsurface_qws_p.h
@@ -176,6 +176,8 @@ public:
QImage image() const { return img; }
QPoint painterOffset() const;
+ void beginPaint(const QRegion &rgn);
+
bool lock(int timeout = -1);
void unlock();