Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Getting rid of Brushed Metal

Getting rid of Brushed Metal
Thread Tools
Mac Enthusiast
Join Date: Oct 1999
Location: Bensalem, PA
Status: Offline
Reply With Quote
Aug 6, 2002, 12:59 PM
 
Is there a way to modify the NIB files of an existing coca app to get rid of the Brushed Metal look and return it to the Aqua look? I'd like to try and modify iPhoto and perhaps the Address Book in the Jaguar.
Andy Pastuszak
amp68(spammenot)-at-verizon.net
     
Senior User
Join Date: Aug 2002
Location: Oxford, England
Status: Offline
Reply With Quote
Aug 6, 2002, 01:57 PM
 
A while ago someone succesfully modified iPhoto to get rid of its brushed metal look. Try searching for brushed metal or archivedocument.nib on the macnn forums.

In Jaguar it should be as easy as opening the nib of the brushed metal window in Interface Builder and unchecking 'Brushed Metal' in the inspector.
Luke
     
Mac Enthusiast
Join Date: Oct 1999
Location: Bensalem, PA
Status: Offline
Reply With Quote
Aug 6, 2002, 02:10 PM
 
I have been searching the forums this exact topic and I can't find a single thing about it!

If anyone has this fix, please send it my way!
Andy Pastuszak
amp68(spammenot)-at-verizon.net
     
Junior Member
Join Date: Feb 2002
Status: Offline
Reply With Quote
Aug 6, 2002, 02:49 PM
 
There's a Sosumi theme for iTunes... It's not the Aqua look, but it does change the look. You may want to take a look at what it does. It probably won't work in Jag[wire|uar], though.

http://sinewave.wirefire.com/sosumi/
self = [[JeffBinder alloc] init];
     
Mac Enthusiast
Join Date: Oct 1999
Location: Bensalem, PA
Status: Offline
Reply With Quote
Aug 6, 2002, 02:54 PM
 
Is to turn iPhoto into Aqua. Someone said that there is a forums posting on how to do that. But I can't find anything when I do a search...
Andy Pastuszak
amp68(spammenot)-at-verizon.net
     
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
Aug 6, 2002, 05:02 PM
 
iTunes, iPhoto and then the new apps. Here's a small overview...

iTunes is a carbon app and uses no nibs, it calls upon images in the PICT resource to draw the window. The lighting and some other things are all done programmatically. This is why it's impossible to change certain things.

iPhoto is a Cocoa app and uses it's own sub-classes to draw things brushed metal style. You essentially just change the class of the objects to their original ones to fix it.

The new apps use no hacking or sub-classing. You simply check "Textured window" (not "Brushed metal" ) and then the window is textured, or uses brushed metal. Like Aqua, it also calls its resources from the Extras.rsrc file which contains the user interface for Mac OS X. You can modify it to modify brushed metal, including the lighting which is in there.

Hope this clears a few things up.
     
Senior User
Join Date: Aug 2002
Location: Oxford, England
Status: Offline
Reply With Quote
Aug 6, 2002, 07:45 PM
 
You simply check "Textured window" (not "Brushed metal" )
Sorry I don't have access to illegal/legal beta copies of the Jaguar developer tools to confirm the names of checkboxes. But thanks for the info anyway - i'll try and make sure I don't misdirect people to to the wrong checkbox next time...sorry everyone!

-

I think "Textured window" checkbox should be replaced with "Brushed metal" under the window properties...that would make sence!
Luke
     
Mac Enthusiast
Join Date: Oct 1999
Location: Bensalem, PA
Status: Offline
Reply With Quote
Aug 6, 2002, 09:20 PM
 
Ok, so help me out here. How would I change the subclass to get the Aqua look in OS X?

From what I understand, someone has already done this, BUT I can't find the thread anywhere on the forums when I do a search.

It looks like with iPhoto, the only thing that really needs to be changed is the ArchiveDocument.nib, as everything else is Aqua, but I loaded the file up in Interface Builder and don't even know where to begin from there.

Originally posted by Synotic:
iTunes, iPhoto and then the new apps. Here's a small overview...

iTunes is a carbon app and uses no nibs, it calls upon images in the PICT resource to draw the window. The lighting and some other things are all done programmatically. This is why it's impossible to change certain things.

iPhoto is a Cocoa app and uses it's own sub-classes to draw things brushed metal style. You essentially just change the class of the objects to their original ones to fix it.

The new apps use no hacking or sub-classing. You simply check "Textured window" (not "Brushed metal" ) and then the window is textured, or uses brushed metal. Like Aqua, it also calls its resources from the Extras.rsrc file which contains the user interface for Mac OS X. You can modify it to modify brushed metal, including the lighting which is in there.

Hope this clears a few things up.
Andy Pastuszak
amp68(spammenot)-at-verizon.net
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
Aug 7, 2002, 01:33 AM
 
Originally posted by pastusza:
Ok, so help me out here. How would I change the subclass to get the Aqua look in OS X?

From what I understand, someone has already done this, BUT I can't find the thread anywhere on the forums when I do a search.

It looks like with iPhoto, the only thing that really needs to be changed is the ArchiveDocument.nib, as everything else is Aqua, but I loaded the file up in Interface Builder and don't even know where to begin from there.

Et....hop!: http://forums.macnn.com/showthread.p...hreadid=112837
     
Mac Enthusiast
Join Date: Nov 2001
Status: Offline
Reply With Quote
Aug 7, 2002, 01:39 AM
 
And the reason that brushed metal is referred to as "Textured Windows" is..well....that's just what Apple wants. If you read the Aqua Human Interface Guidelines (June 2002 edition), brushed metal windows are described under the heading of "Textured Windows", even with a screenshot of iTunes 1.0. When creating a window programatically (using -[NSWindow initWithContentRect:styleMask:backing:defer:]), developers create a brushed-metal window by applying NSTexturedBackgroundWindowMask to a titled window. So, all-in-all, it looks like the term "textured window" is going to stay.
     
Mac Elite
Join Date: Oct 2000
Status: Offline
Reply With Quote
Aug 7, 2002, 11:07 AM
 
Originally posted by pastusza:
Ok, so help me out here. How would I change the subclass to get the Aqua look in OS X?

From what I understand, someone has already done this, BUT I can't find the thread anywhere on the forums when I do a search.

It looks like with iPhoto, the only thing that really needs to be changed is the ArchiveDocument.nib, as everything else is Aqua, but I loaded the file up in Interface Builder and don't even know where to begin from there.

Presumably, the code they use to draw the brushed metal is left.. well.. in the code.. Which we (not surprisingly) don't have access to. We can see and know that they have code for it, we just can't use it... Not until 10.2 anyways.
     
Mac Elite
Join Date: Feb 2001
Location: Vancouver, WA
Status: Offline
Reply With Quote
Aug 7, 2002, 01:53 PM
 
I think "Textured window" checkbox should be replaced with "Brushed metal" under the window properties...that would make sense!
Apple has a history of keeping developer terminology and APIs separated from the visual appearance of stuff -- that way it's more likely that existing apps will remain happy when Apple changes the look of things.
Rick Roe
icons.cx | weblog
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:08 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2