Replace various strings '#define'd in tqtinterface

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 9819dffc57)
pull/34/head
Michele Calgaro 1 year ago
parent 36bde20b9b
commit d2998fbc2b
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -39,7 +39,7 @@ CroppedTQImage::CroppedTQImage( const TQImage& im, const TQRect& rect )
{
if( im.isNull())
return;
memcpy( tqcolorTable(), im.tqcolorTable(), im.numColors() * sizeof( TQRgb ));
memcpy( colorTable(), im.colorTable(), im.numColors() * sizeof( TQRgb ));
setAlphaBuffer( im.hasAlphaBuffer());
setDotsPerMeterX( im.dotsPerMeterX());
setDotsPerMeterY( im.dotsPerMeterY());

@ -169,7 +169,7 @@ TQImage changeImage( const TQImage& image, int value )
}
else
{
TQRgb* colors = im.tqcolorTable();
TQRgb* colors = im.colorTable();
for( int i = 0;
i < im.numColors();
++i )

Loading…
Cancel
Save