I’ve been wanting to improve the preferences dialogs in Deck so that instead of 3 (or more) individual dialogs with lots of options there is one dialog with a toolbar. Something similar to the Preferences in most other Mac OS X apps (such as Mail or System Prefs). However I can’t just use Cocoa since Deck is an entirely Carbon C/C++ app and integrating this much Cocoa would be a pain. And besides the Jaguar HIView classes include a fully customizable toolbar view you can use from Carbon.
It took a little bit of headscratching but I got there in the end, and I created a sample app you can download here. It’s based on the Carbon Toolbar sample Apple ships with their developer tools.
Posted under Work
This post was written by awk on March 8, 2003