[futurebasic] Re: [FB] Carbon Differences ( updating some Derek code)

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2003 : Group Archive : Group : All Groups

From: michael evans <michael.evans@...>
Date: Sat, 10 May 2003 10:43:36 -0400
on 5/10/03 12:31 AM, Robert Purves at robert.purves@...
wrote:

> The demo below should get you started. There are many more RezLib
> functions defined in the RezLib shared library and discussed in the
> RezLib documentation, but I haven't included their FB conversions here.
> 
<snip>

Are these additional RezLib toolbox declarations correct?

 #define ScreenRef as long
toolbox fn disposeScreenRef(ScreenRef)

 #define pointerToRects as long
 #define ListCount as long
toolbox fn getDisplayList(UInt32 *ListCount) = pointerToRects
toolbox fn disposeDisplayList(pointerToRects)

Every four bytes @pointerToRects is the rect of a device, up to ListCount?

Cheers,

----------------------------------------------------------------------------
Michael Evans
----------------------------------------------------------------------------