Re: Blue lines (nice example app including quartz compositions)
Re: Blue lines (nice example app including quartz compositions)
- Subject: Re: Blue lines (nice example app including quartz compositions)
- From: Patrick Mau <email@hidden>
- Date: Wed, 16 Jul 2008 04:11:47 +0200
Andrew Thompson wrote:
> How do Interface Builder and Quartz Composer draw the blue line connections
> from object to object?
> I have been looking through the APIs, but I can't find anything that looks
> right.
>
> I thought of just drawing my own line on a custom view (shouldn't be that
> hard), but interface builder manages to do it between objects that aren't
> connected by ANY view, and I am not sure how to do that.
>
> I am trying to build an HTML GUI editor.
>
> Thanks in advance!
Hi Andrew
If have been looking at the code below to do something similar.
The program below draws quartz compositions on your desktop,
can control 'click-through' behaviour and also let's you
control the layering order (i.e it stays at desktop level or
above all windows)
All that is needed is a subclass of NSWindow, because IB does not let
you create complely transparent windows.
I wanted to program an activity notification for my application
similar to the transparent indicator that is displayed on
your desktop when you change the volume.
It's also a nice example for using quartz composition parameters and
getting iTunes current song information from within your program.
The code is located here:
http://borderless.vade.info/
I'd like to publicly thank the author for providing this. It contained
very useful information that I was looking for.
Regards,
Patrick
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Blue lines (From: "Andrew Thompson" <email@hidden>) |