• 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: Drawing customized window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drawing customized window


  • Subject: Re: Drawing customized window
  • From: iain <email@hidden>
  • Date: Thu, 01 Nov 2012 00:57:36 +0000

Hi Corbin, sorry for semi-hijacking the thread

On Wed, Oct 31, 2012 at 8:17 PM, Corbin Dunn <email@hidden> wrote:

>
> > I am wondering if anyone created customized windows like this or reverse
> > engineered this NSThemeFrame? Maybe there are any articles on the
> internet
> > that I have missed (actually the link I gave in the beginning is the only
> > one I have found on this topic). Somehow Apple's iCalendar works pretty
> > fast on 10.7, while my app doesn't..
>
> Calendar uses the public API of setBackgroundColor: on the window, and
> sets it to a pattern color. That is it.
>
>
When you use setBackgroundColor: on the window, is there a way to get the
titlebar text to draw in a different colour? When you set the background to
a dark colour, the titlebar text is still drawn dark with a light highlight
so it looks quite bad.

thanks,
iain
_______________________________________________

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: Drawing customized window
      • From: Nick <email@hidden>
References: 
 >Drawing customized window (From: Nick <email@hidden>)
 >Re: Drawing customized window (From: Corbin Dunn <email@hidden>)

  • Prev by Date: Re: ARC question
  • Previous by thread: Re: Drawing customized window
  • Next by thread: Re: Drawing customized window
  • Index(es):
    • Date
    • Thread