That new fn worked. Very good.
Next problem is here. (It does not like [oneH)
oneH = Fn GetPicture(21)
LightRect = [oneH] + _PicFrame
Error: •• Assignment requires record or pointer to record in line 254 of Icon Pallet.INCL
254: LightRect = [oneH] + _PicFrame
On Nov 14, 2010, at 1:46 PM, Robert Purves wrote:
> Rich Love wrote:
>> This function worked in the old FutureBasic, but fails in FBtoC.
>> Anyone know of a fix or alternate code that will work to copy one GWorld to another?
>> Error: •• Unknown variable type in line 191 of Icon Pallet.INCL: CGrafPort
>> 191: local fn CopyGW2GW( srcGW as ^CGrafPort, destGW as ^CGrafPort,srcR as ^Rect, destR as ^Rect, cMode,@r as ^Rect)
> local mode
> local fn CopyGW2GW( srcGW as CGrafPtr, destGW as CGrafPtr, srcR as ^Rect, destR as ^Rect )
> ForeColor( _blackColor ) // prevent...
> BackColor( _whiteColor ) //...false colouration
> CopyBits( #fn GetPortBitMapForCopyBits( srcGW ), #fn GetPortBitMapForCopyBits( destGW ), #srcR, #destR, _srcCopy, 0 )
> end fn
> Robert P.
> To unsubscribe, send ANY message to: futurebasic-unsubscribe@...
Rich Love - Carnation Software
Get 'Say it & Mail it' for iPhone
MacWise Terminal emulation for Macintosh
Twitter - http://twitter.com/CarnationSW
Email - RichLove@...