diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-18 23:47:18 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-11-18 23:47:18 -0600 |
commit | c5e69959c9eeb6a1396f1a60d7cf4f9781a2d47c (patch) | |
tree | 32f9cb1d960e39a6df8e501aac2853b83b855b0c /src/kernel/qpainter_x11.cpp | |
parent | 15bb7aeb80b49c2e30ac0708a1d4b2522e9d78ce (diff) | |
download | tqt3-c5e69959c9eeb6a1396f1a60d7cf4f9781a2d47c.tar.gz tqt3-c5e69959c9eeb6a1396f1a60d7cf4f9781a2d47c.zip |
Automated update from Qt3
Diffstat (limited to 'src/kernel/qpainter_x11.cpp')
-rw-r--r-- | src/kernel/qpainter_x11.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/kernel/qpainter_x11.cpp b/src/kernel/qpainter_x11.cpp index f057e7b1f..dc3e9a4ce 100644 --- a/src/kernel/qpainter_x11.cpp +++ b/src/kernel/qpainter_x11.cpp @@ -1264,8 +1264,16 @@ bool TQPainter::end() // end painting \sa flush() CoordinateMode */ -void TQPainter::flush(const TQRegion &, CoordinateMode) +void TQPainter::flush(const TQRegion &rgn, CoordinateMode m) { + if ( testf(ExtDev) ) { + TQPDevCmdParam param[2]; + param[0].rgn = &rgn; + param[1].ival = m; + pdev->cmd( TQPaintDevice::PdcFlushRegion, this, param ); + return; + } + flush(); } @@ -1278,6 +1286,11 @@ void TQPainter::flush(const TQRegion &, CoordinateMode) void TQPainter::flush() { + if ( testf(ExtDev) ) { + pdev->cmd( TQPaintDevice::PdcFlush, this, 0 ); + return; + } + if ( isActive() && dpy ) XFlush( dpy ); } |