From 5e4c0e1f1f45dcf7022a51c0044bb0de54c9f0e7 Mon Sep 17 00:00:00 2001 From: Teo Fonrouge Date: Wed, 23 Apr 2008 07:32:34 +0000 Subject: [PATCH] 2008-04-23 02:32 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) * contrib/hbgd/gdimage.prg ! Fixed at gdimage.prg(271): "Warning W0019 Duplicate declaration of Method 'GETTRUECOLOR'" the method was having a INLINE to the gdImageTrueColorPixel() function and the fix simply renamed the method name from 'GetTrueColor' to 'GetTrueColorPixel'. Please, someone used to the hbgd lib check if the new method name is correct. --- harbour/ChangeLog | 9 +++++++++ harbour/contrib/hbgd/gdimage.prg | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 374ea2c0cf..658abe227e 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -8,6 +8,15 @@ 2008-12-31 13:59 UTC+0100 Foo Bar */ +2008-04-23 02:32 UTC-0500 Teo Fonrouge (teo/at/windtelsoft/dot/com) + * contrib/hbgd/gdimage.prg + ! Fixed at gdimage.prg(271): + "Warning W0019 Duplicate declaration of Method 'GETTRUECOLOR'" + the method was having a INLINE to the gdImageTrueColorPixel() function + and the fix simply renamed the method name from 'GetTrueColor' to + 'GetTrueColorPixel'. Please, someone used to the hbgd lib check if the + new method name is correct. + 2008-04-23 02:14 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/source/debug/dbgbrwsr.prg * respect oCol:colorBlock() used by debugger code in few places diff --git a/harbour/contrib/hbgd/gdimage.prg b/harbour/contrib/hbgd/gdimage.prg index f14dbee8e8..14ba85f8df 100644 --- a/harbour/contrib/hbgd/gdimage.prg +++ b/harbour/contrib/hbgd/gdimage.prg @@ -214,7 +214,7 @@ CLASS GDImage METHOD CreatePaletteFromTrueColor( lDither, nColorsWanted ) ; INLINE gdImageCreatePaletteFromTrueColor( ::pImage, lDither, nColorsWanted ) METHOD GetPalette( x, y ) INLINE gdImagePalettePixel( ::pImage, x, y ) - METHOD GetTrueColor( x, y ) INLINE gdImageTrueColorPixel( ::pImage, x, y ) + METHOD GetTrueColorPixel( x, y ) INLINE gdImageTrueColorPixel( ::pImage, x, y ) METHOD GetThickness() INLINE gdImageGetThickness( ::pImage ) /* FONTS AND TEXT-HANDLING FUNCTIONS */