Re: Window widgets
Re: Window widgets
- Subject: Re: Window widgets
- From: Steve Christensen <email@hidden>
- Date: Fri, 17 Oct 2008 11:04:35 -0700
On Oct 17, 2008, at 10:52 AM, Kyle Sluder wrote:
On Fri, Oct 17, 2008 at 1:41 PM, Steve Christensen
<email@hidden> wrote:
I would suggest either tracking down a
set of images you like and then include them in your app's bundle, or
rolling your own. Fewer chances for surprises that way.
If you want the widgets that are in the upper-left corner of the
screen, then this is precisely what you should not do.
+standardWindowButton:forStyleMask: is THE way to get the standard
window controls. Mimicking them yourself is wrong.
The OP's request was for a way to get ahold of the red, yellow and
green dots used (currently) as window widgets so that he could use
them as status images:
"I want to use the same widgets as the OS uses for its windows (red,
yellow and green dots) for a status bar in my application, like IB
does to indicate sync status with XCode. This is to reflect the
connection status (red == not connected, green connected etc.) in mine."
Thus I feel that my comment was correct: He shouldn't rely on the
current look of those widgets when he's using them in a context other
than for which they were intended.
steve
_______________________________________________
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