HUD Controls in Leopard

 

So I have finally found about 30 minutes of free time to just have fun with XCode 3, Objective-C 2, Interface Builder 3 and the like all bundled in Leopard. I’m extremely impressed with all the improvements made to the development suite, minus one major shortcoming: HUD Controls.

HUD (Heads Up Display) are those gorgeous black windows that have started popping up all over Mac applications. Especially in iPhoto and Aperture, as well as Pages and more, these beautiful windows serve a specific purpose. Apple went so far as to finally include a HUD window in Interface Builder, so that developers don’t have to use a hacked together version (Interface Designers like uniformity, so it is better when everyone is using the same thing vs 15 different versions of the same window, which is the case now). So, I naturally assumed that Apple also provided HUD versions of buttons, lists, and more, to match this window.

I was wrong.

picture-2.pngpicture-3.png

I can create this nice window with no effort now, but as soon as I place something on it, it looks stupid. The simple screenshots above illustrates the effect. (Also notice the differences in the window itself. See how big of a difference there is just on the lines at the bottom right of the window where you resize? Now imagine that every time I had to write an application, I had to make this from scratch. With all the Mac developers out there, you can imagine that there are lots of variations). I sure hope that Apple fixes this soon and doesn’t wait until 10.6 and a new window style to add this for developers.

Comments (6) Leave a Comment
  1. Daniel Domenet February 19th, 2008 at 06:41 | #1

    See HUD Project
    http://lipidity.com/wordpress/wp-content/uploads/2006/11/hud-project.zip

    the controls of iLifeControls.framework works with the IB HUD panel.

  2. Patrick Geiller March 31st, 2008 at 19:24 | #2

    Hi there ! Any news on the HUD front ? The HUD download is still up, but the dev site looks like it’s been reset. I take it there’s still no official solution ?

  3. Matt March 31st, 2008 at 22:50 | #3

    Apple hasn’t released anything as far as I know.

    You can of course use the Shiira BLKAppKit and integrate that into your project, but I would much rather have Apple release a standardized set of controls to use with HUD windows.

    It puzzles me why the release of the window itself was not accompanied by anything else. Like that really helped developers at all.

  4. Patrick Geiller April 1st, 2008 at 05:58 | #4

    Releasing only the HUD window sure is half assed work from Apple. I’ve checked Keynote’s “Adjust Image” with F-Script and it shows classes like HUDSlider and HUDButton. Knowing the code is there but unavailable to us is pretty annoying.

    Anyway, thanks for the Shiira link !

  5. Kyle May 19th, 2009 at 19:02 | #5

    If you look in the iPhoto ‘09 resource bundle there are a bunch of images starting with ‘HUD_’ that iPhoto uses for buttons and such. You have to assign them to your NSButtons in your code, but still, better than nothing.

  6. DOSMonkey May 23rd, 2009 at 15:34 | #6

    The thing that I hate is that when you create a HUD window on Leopard, it doesn’t work on Tiger. If anyone has a workaround for that, that’d be cool :)

Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">
  1. June 17th, 2008 at 13:14 | #1

    [...] My previous post on HUD controls in Leopard [...]

  2. November 2nd, 2009 at 07:08 | #2

    [...] are not using it for its intended purpose—quick adjustments, for example—they complain about the dearth of HUD-compatible controls, or go so far as to develop 3rd-party frameworks such as [...]