Replace various strings '#define'd in tqtinterface

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/11/head
Michele Calgaro 6 months ago
parent 18883292a5
commit 9819dffc57
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