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

QuickDraw library "traps"

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
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.