Answer by Lee Ann Rucker for HUD Buttons using Template Images
[NSCell setBackgroundStyle: NSBackgroundStyleDark]NSBackgroundStyleDarkThe background is a dark color.Light contents contrast well with the dark background.
View ArticleAnswer by Dov for HUD Buttons using Template Images
I ended up writing an NSImage category class method that returns a template image at the desired size and in the desired color (basically doing it myself, as I don't think the API does provide a way to...
View ArticleHUD Buttons using Template Images
I'm building a semi-transparent floating HUD window in my application, which is intended to look like the Quick Look HUD window, specifically using the Enter/Exit full screen image. Cocoa provides the...
View Article
More Pages to Explore .....