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

More accurate noise (closer to the CoreUI rendering) #140

Closed indragiek closed 10 years ago

indragiek commented 10 years ago

Work in progress. CoreUI noise images:

112-2 112-1

jakepetroules commented 10 years ago

Just to note: these images are from OS X 10.9.1, but I don't imagine they've changed since 10.7.0. And, of course, the larger one is the @2x (retina) version.

Oh, and just for the record, it looks like the noise is drawn OVER the baseline separator and its highlight (which are both constant colors).

jakepetroules commented 10 years ago

OK, interesting update: I think we can use this to extract the noise textures we need: https://github.com/insidegui/AppearanceMaker

This looks like it actually gives you the proper separated layers (gray solid background, transparent noise, and gradient) that make up the window background. What we have up there is some sort of combined image for efficiency I'm guessing. Same images, just apply 30% opacity & kCGBlendModeOverlay