On Feb 28, 2006, at 7:16 PM, Thom McGrath wrote:
I am trying to create a type of HIView which requires an HIRect as
bounds. So I'm trying to accomplish this. Can't find documentation
on creating an HIRect though. Thinking I need to use a memoryblock.
Can somebody provide some push in the right direction? Charles
probably?
An HIRect is a struct with two structs named Origin and Size inside
of it each with two float members X, Y and Width, Height. If you're
using 2006 just create a structure for it and pass that to the declare.
Seth Willits
----------------------------------------------------------
Freak Software - http://www.freaksw.com/
ResExcellence - http://www.resexcellence.com/realbasic/
----------------------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
|