indragiek / INAppStoreWindow

NSWindow subclass with a highly customizable title bar and traffic lights
BSD 2-Clause "Simplified" License
1.06k stars 162 forks source link

Update window chrome for Yosemite #177

Closed indragiek closed 10 years ago

indragiek commented 10 years ago

Is there a way to dynamically grab image data or colors for the window chrome? It would be nice not to hardcode this stuff.

jakepetroules commented 10 years ago

Never has been. CoreUI or hardcode. :)

Frames seem to be the same color as the content view ([NSColor windowBackgroundColor]) except one RGB value off last I checked. The nice thing is, they're mostly flat, so it's easier to fake it and look accurate.

indragiek commented 10 years ago

Oh well. Filed rdar://17559739, "NSColor API for getting default window chrome pattern color".

jakepetroules commented 10 years ago

OpenRadar link? I should file one "Stop torturing us and make CoreUI public"...

indragiek commented 10 years ago

http://www.openradar.me/radar?id=5906177703542784