|
|
|
@ -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 );
|
|
|
|
|
}
|
|
|
|
|