Hi! With all due respect, I think that you might run into a potential trouble area -- or at least a gray area -- in doing that, as those standard window button images are likely copyrighted by Apple. The ethical thing to do would be to only use images to which you can secure the rights.

Best,
        Andrew

On Oct 17, 2008, at 11:13 AM, Andre Masse wrote:

To cover up myself, I will "steal" those widgets' images from the system, using the method suggested and save them in my project.

Thanks for your remarks guys,

Andre Masse

On Oct 17, 2008, at 14:04, Steve Christensen wrote:

On Oct 17, 2008, at 10:52 AM, Kyle Sluder wrote:

On Fri, Oct 17, 2008 at 1:41 PM, Steve Christensen <[EMAIL PROTECTED]> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/andrew.merenbach%40ucla.edu

This email sent to [EMAIL PROTECTED]

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to