diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-03-04 14:53:09 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-03-04 16:00:49 (GMT) |
commit | c28a7828a28295d66d37cddca9d23a70f37f2c75 (patch) | |
tree | 66726c8a17c1f2c4dfc55ad8d021897e4426f611 /src/gui/painting/qwindowsurface_qws_p.h | |
parent | 30dba6b22f907ba36ed8f71568ab2489536f8f43 (diff) | |
download | Qt-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.h | 2 |
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(); |