[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
QuickDraw library "traps"
- To: info-macl@cambridge.apple.com
- Subject: QuickDraw library "traps"
- From: Ranson <ranson@lannion.cnet.fr>
- Date: 26 Nov 91 12:07:00 GMT
- Cc: ranson@lannion.cnet.fr
- X400-received: by /PRMD=inria/ADMD=atlas/C=FR/; Relayed; 26 Nov 91 12:07:30+0100
- X400-received: by /PRMD=CNET/ADMD=ATLAS/C=FR/; Relayed; 26 Nov 91 12:07:00 GMT
The QuickDraw library (the OO one, not the interface file) in MCL2.0 focuses
on the passed view for each call. Apart from the inefficiency, this causes
surprises with simple-views (e.g. dialog-items) where the normal focus is on
the superview (why?). One must either work in local coordinates, or pass the
superview as argument, and avoid mixing high-level and low-level QuickDraw
calls.
Is it still recommanded to use this library? Trap call are almost as easy, and
also type-checked...
While I'm on the subject of focusing, the docs mention it about drawing, but
not about click handling (or cursor handling). Whatever focus there is should
be documented.
Daniel.