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 > Appearance in OS X

Appearance in OS X
Thread Tools
Fresh-Faced Recruit
Join Date: Apr 2001
Status: Offline
Reply With Quote
Apr 13, 2001, 07:26 PM
 
Question about Appearance in OS X: I haven't yet sprung for the public release of OS X, still looking at the beta. I have a Carbon app that I'm bringing over from OS 9, but in the public beta of OS X the theme brushes, sounds, etc. don't show up. Is the public release full-featured -- i.e., theme compliant? The only theme brushes that appear to work in OSXPB are black and white. No sounds at all.

Thanks,

Spadge
     
Grizzled Veteran
Join Date: Sep 2000
Location: San Francisco
Status: Offline
Reply With Quote
Apr 14, 2001, 01:03 AM
 
Well, that's certainly the $129 question ($99 with discount).

Sorry I couldn't be more helpful.

------------------
Since EBCDIC
Make every post count!
Since EBCDIC
Using Macs since they were Lisas.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Apr 14, 2001, 02:40 PM
 
There are no theme sounds (I think that most people found them annoying and had them disabled, and Apple hasn't bothered to re-implement them - I have no idea if that's deliberate or if they just had more important things to do).

Could you explain what a theme brush is?

BTW, apps can tell whether the user is running in Aqua or Graphite (with the toned down UI widgets) by some calls, and they are sent a notification when the preference changes so they can adjust any custom UI widgets they might have.

Hope that helps.
     
Spadge  (op)
Fresh-Faced Recruit
Join Date: Apr 2001
Status: Offline
Reply With Quote
Apr 14, 2001, 02:58 PM
 
Thanks, Angus and EBCDIC.

In response to EBCDIC, it's really more than being the $129 question; it's whether or not one wishes to continue bothering with the new system in the first place. Spending time prepping your code for OS X Carbon and then seeing half of your UI blank out on you leads one to wonder whether the rush to get the fish to market left a few floundering on the pavement.

Angus, theme brushes are colors or patterns the Appearance Manager uses to draw UI elements. For example, setting the theme pen to kDialogBackgroundActive (from memory, but any theme brush constant will do) will draw what's next in that color/pattern. Since I had drawn certain elements in my app to resemble bevel buttons, it's kind of a drag to fire it up in OS X and see nothing but white, empty space. If the new public release of OS X doesn't show them either, then half the Appearance Manager API might just as well not exist.

Thanks again.

Spadge

     
Mac Elite
Join Date: Sep 2000
Location: Tempe, AZ
Status: Offline
Reply With Quote
Apr 15, 2001, 06:13 PM
 
There's a note in the headers saying that they _will_ be implemented, but haven't yet been. Trying to call the APIs gives an unimplemented system call error.
Geekspiff - generating spiffdiddlee software since before you began paying attention.
     
Spadge  (op)
Fresh-Faced Recruit
Join Date: Apr 2001
Status: Offline
Reply With Quote
Apr 15, 2001, 06:50 PM
 
Thanks, Smeger. No such animal in my <Appearance.h>, but I'm using the frameworks that came with the last available developer package (PB) outside of the retail OS X CD. My calls don't return any errors, but then I rather suspect the call SetThemePen() (among others) is supported but the constant passed as an argument isn't (in which case I thought it should perhaps return a bad parameter error). In any event, I'll just set the code aside until more illumination from Apple.

Thanks again.

Spadge
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Boulder, CO, USA
Status: Offline
Reply With Quote
Apr 15, 2001, 08:12 PM
 
There're there. At least, the ones I've been using are there.

Lots of stuff has been in major flux on the Carbon side of things, and still is, to an extent. But Apple is dependent on Carbon to get the big boys (Adobe, Macromedia, etc) over to OS X, so they're devoting a lot of energy to it. The Appearance manager is the main entryway to Aqua for some of those guys, so it's a pretty big deal. It's unfortunate that is still seems like too little, too late, but oh well.

I would certainly reccommend upgrading to the public 1.0 release if you're doing any Carbon development. It's barely usable as it is -- at least, if you have to use Codewarrior -- but I couldn't fathom going back to one of the earlier builds...
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Apr 16, 2001, 12:46 PM
 
Part of the problem is the various mishmash of different Universal Interfaces that are about. The current ones you should be using for Carbon development are included with the Carbon SDK, which is currently at around 1.3 pre-releases. You might need an ADC online account to access it, but they're free. See Apple's SDK page, and http://connect.apple.com/
     
Spadge  (op)
Fresh-Faced Recruit
Join Date: Apr 2001
Status: Offline
Reply With Quote
Apr 16, 2001, 01:14 PM
 
Yes, I'm an online member and I have the latest Carbon SDK. I'd like to create an updated Carbon frameworks for Project Builder, but coming from CodeWarrior I have to figure it out first...

Thanks,

Spadge
     
Dedicated MacNNer
Join Date: Jan 2001
Location: Boulder, CO, USA
Status: Offline
Reply With Quote
Apr 16, 2001, 02:10 PM
 
Originally posted by Spadge:
Yes, I'm an online member and I have the latest Carbon SDK. I'd like to create an updated Carbon frameworks for Project Builder, but coming from CodeWarrior I have to figure it out first...
Maybe I'm misunderstanding you, but the source for the Carbon.framework is private, and undoubtedly depends on CoreFoundation and other stuff which is also private. Probably the only way to get the latest implementation of Carbon on X is to get the retail X package.

     
Spadge  (op)
Fresh-Faced Recruit
Join Date: Apr 2001
Status: Offline
Reply With Quote
Apr 24, 2001, 06:04 PM
 
Just an update...

Splurged for OS X retail and tried the Appearance stuff in Project Builder. I get the theme brushes but still no theme sounds. Half a fish is better than none. I'll kind of expect theme sound implementation in a future update of OS X. In the meantime, first impressions of OS X: everything looks great (PPPoE is particularly welcome).

Thanks to all,

Spadge
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Apr 26, 2001, 01:48 AM
 
Theme sounds just aren't there, full stop. There's been a long discussion of this in OS X - General Discussion.
     
   
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 01:17 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