Re: SubViews and Events
Re: SubViews and Events
- Subject: Re: SubViews and Events
- From: Uli Kusterer <email@hidden>
- Date: Wed, 16 Aug 2006 17:44:30 +0200
Am 16.08.2006 um 16:17 schrieb Jerrod Fowkes:
however each of the views' rect in their respective drawRect does
not correspond to the rect that it was initialized with. Which is a
problem, because they keep drawing over the first subView.
The rect you get to drawRect: is the area of your view that needs
updating (in your view's coordinate system). The actual rect of the
view must be obtained via the bounds and frame methods. It might help
if you had another look at the docs to make sure you didn't miss
other similar details.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden