• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how does IB draw connections outside its windows?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >how does IB draw connections outside its windows? (From: William Turner <email@hidden>)

  • Prev by Date: How do you set the cursor for a view when first visible?
  • Next by Date: Re: How do you set the cursor for a view when first visible?
  • Previous by thread: how does IB draw connections outside its windows?
  • Next by thread: Re: how does IB draw connections outside its windows?
  • Index(es):
    • Date
    • Thread