Page 1 of 1
Metal Texture and Snow Leopard
Posted: Wed Jan 12, 2011 1:19 pm
by robl
I've noticed that stacks with "metal texture" creates a metal texture similar to that used in earlier versions of OS X. On Snow Leopard (10.6.X), LiveCode's metal texture doesn't blend in with the window title bar and border -- it's a bit too dark.
Is there a way to obtain a more Snow Leopard-like metal texture besides skinning with a background image? If skinning is the only answer, does anyone have a link to a good metal texture?
Thanks!
Robert
Re: Metal Texture and Snow Leopard
Posted: Wed Jan 12, 2011 3:21 pm
by FourthWorld
The OS X HIG says that bushed-metal windows have been deprecated, so I think you're just seeing an anomaly in which Rev is attempting to call an OS appearance routine that's no longer present.
From the OS X HIG:
Important: In Mac OS X v10.5 and later, there are no brushed metal windows. Windows that were designed as brushed metal windows to run in earlier versions of Mac OS X should adopt the Leopard look in Mac OS X v10.5. For the most part this is automatic. You may need to adjust your layout so that no window-frame material is visible on the sides of the window and you should ensure that the controls you used in the toolbar are still appropriate.
http://developer.apple.com/library/mac/ ... ndows.html
Re: Metal Texture and Snow Leopard
Posted: Thu Jan 13, 2011 5:00 pm
by robl
Thanks, Richard.
I hadn't noticed that previously. It is curious though, even after deprecating that feature, it still appears in Apple's Xcode Interface Builder tool as "textured". Apple seems to be really inconsistent some times.
My goal was to create something similar to the new style unified tool bar / title bar that is common in Leopard and Snow Leopard, but I haven't been able to replicate that in LiveCode. In LiveCode, it seems that there is a line / shadow below the window title bar and you are unable to create a seamless transition to a tool bar below it. The closest I have come so far is to use the "metal" property in LiveCode with a a custom gradient texture for the a background. The "metal" style doesn't impose the line/shadow below the window's title bar.
Is there a better solution for the unified toolbar under LiveCode?
Re: Metal Texture and Snow Leopard
Posted: Fri Jan 14, 2011 2:33 pm
by shaosean

- unified toolbar in rev
- Picture 11.png (47.75 KiB) Viewed 7174 times
Re: Metal Texture and Snow Leopard
Posted: Fri Jan 14, 2011 3:13 pm
by Klaus
Hi Sean,
yep, that's how a toolbar looks like on OS X and I think we've seen this before.
Anything you want to tell us?
Best
Klaus
Re: Metal Texture and Snow Leopard
Posted: Wed Jan 26, 2011 10:37 pm
by shaosean
*shrug*
Re: Metal Texture and Snow Leopard
Posted: Thu Jan 27, 2011 12:08 am
by Klaus
Hi Sean,
what exactly is IT in your answer?