[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] Porting an Inside Mac QuickDraw example routine



In article <Pine.SOL.4.10.9911111238110.15022-100000@thunderbolt.eng.auburn.edu>, Matthew Langford <langfml [at] eng [dot] auburn [dot] edu> writes:
> The Toolbox routines are meant to allow as much access as possible to the
> functions that Apple provides with the operating system.  They should (and
> pretty much do, IMO) exhibit a nearly 1:1 correspondence with the actual
> function definitions, as far as the different languages and data types
> will allow.

The two differences are:

 - I don't use reference parameters, all return data is returned by value.
 - Error codes are handled in an uniform & perlish approach.

> They are not what you want, in terms of a nice object framework wrapped
> around the Toolbox.  Why?  Because in my estimation this would be as much
> work as the rest of MacPerl--a vast effort.

There *is* in fact, an application framework for the Toolbox routines
(The MacWindow/Pane system). Apart from the fact that it's not very well
documented, it should work just fine.

Matthias

-- 
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
   "I'm set free to find a new illusion" -- Velvet Underground

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org