Re: how does IB draw connections outside its windows?
Re: how does IB draw connections outside its windows?
- Subject: Re: how does IB draw connections outside its windows?
- From: Ricky Sharp <email@hidden>
- Date: Tue, 27 Dec 2005 18:29:31 -0600
On Dec 27, 2005, at 6:12 PM, William Turner wrote:
When you control-drag from one object in IB to another, it displays
the line connecting them. How is this implemented - is there a
border-less, transparent, window that's created and moved/resized
with the drawing occurring therein?
This is mostly curiosity. Thanks :)
Running Accessibility Inspector shows that there's at least one
window named "lineWindow". However, it appears that each segment in
the line being drawn is in its own window. This probably yielded
better performance than having one single window that would contain
all segments.
Transparent overlay windows are definitely very useful for these
types of things.
___________________________________________________________
Ricky A. Sharp
mailto:email@hidden
Instant Interactive(tm)
http://www.instantinteractive.com
_______________________________________________
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