• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Utility/Floating window with titlebar on left side
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Utility/Floating window with titlebar on left side


  • Subject: Re: Utility/Floating window with titlebar on left side
  • From: Nick Beadman <email@hidden>
  • Date: Mon, 22 Sep 2008 15:55:19 -0700

Eric,

On Sep 22, 2008, at 2:08 pm, Eric Schlegel wrote:

On Sep 22, 2008, at 12:03 PM, Nick Beadman wrote:

At this point I think the only thing to do is to create a borderless window and create my own left side title bar (using + [NSWindow standardWindowButton:] to get small standard window buttons). If I manage to implement such a thing I will try to get permission to open source it.

You may also want to look into the HITheme API, part of the HIToolbox framework, which allows you to draw the window frame using the same code that Carbon and Cocoa use to draw their windows. You'd pass kThemeUtilitySideWindow as the window type in HIThemeWindowDrawInfo.windowType field to specify a left-side window frame. You would also need to draw the window widgets yourself using HIThemeDrawTitleBarWidget.

According to <http://www.carbondev.com/site/?page=64-bit+Carbon>:
HITheme is currently undecided. We did hear from multiple developers at the conference today who use HITheme and would like to see it in 64-bit.

-eric schlegel


Has the fate of HITheme has been decided, and it is going to be the theme drawing API for OS X [1] going forward? The only documentation I have found is the header HITheme.h and nowhere in there is mentioned it being a 32-bit only API. Given that it uses Quartz parameters this makes sense but I want to be sure before I spend time working on an under-documented API, especially as it is in Carbon framework. Looking at HIView.h it appears to be a safe because those API are documented as:


* Availability:
* Mac OS X: in version 10.2 and later in Carbon.framework [32-bit only]


Thanks,
Nick

[1] Note I said OS X, not Cocoa, not Carbon and not Mac OS X, although I will take an answer for any and all of those technologies :-).

--
Nick Beadman
email@hidden
(sent from my mailing list account, email@hidden)

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Utility/Floating window with titlebar on left side
      • From: Eric Schlegel <email@hidden>
References: 
 >Re: Utility/Floating window with titlebar on left side (From: Dave Jewell <email@hidden>)
 >Re: Utility/Floating window with titlebar on left side (From: Nick Beadman <email@hidden>)
 >Re: Utility/Floating window with titlebar on left side (From: Eric Schlegel <email@hidden>)

  • Prev by Date: Always allowing drags from WebView inside a global NSPanel
  • Next by Date: [Q] Custom NSFormatter and IB's Cocoa Simulator
  • Previous by thread: Re: Utility/Floating window with titlebar on left side
  • Next by thread: Re: Utility/Floating window with titlebar on left side
  • Index(es):
    • Date
    • Thread