HackPlan / quark-shell-mac

Quark Shell for Mac helps web developers to create native-like Mac menubar app using HTML and JavaScript without writing any native code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set a custom Preferences icon

chadwhitaker opened this issue · comments

Is it currently possible to set your own Preferences icon as opposed to the three default icons?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27753276-set-a-custom-preferences-icon?utm_campaign=plugin&utm_content=tracker%2F899498&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F899498&utm_medium=issues&utm_source=github).

There are actually more than 3 system-provided icons: https://developer.apple.com/library/mac/documentation/UserExperience/Conceptual/OSXHIGuidelines/SystemProvided.html#//apple_ref/doc/uid/20000957-CH92-SW8

You can get a full list at the bottom of /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/System/Library/Frameworks/AppKit.framework/Versions/C/Headers/NSImage.h. Remember to remove the ImageName from the icon name. For example, for NSImageNameInfo, use NSInfo in Quark Shell.

I’ll update the documentation when I get some time.

And yeah, it would be better to allow arbitrary icons.

I just found this, might be useful for you.