Re: Changing the color of an NSWindow’s titlebar text
Re: Changing the color of an NSWindow’s titlebar text
- Subject: Re: Changing the color of an NSWindow’s titlebar text
- From: Carl Hoefs <email@hidden>
- Date: Mon, 22 Jun 2015 16:39:50 -0700
> On Jun 22, 2015, at 4:31 PM, Quincey Morris <email@hidden> wrote:
>
> On Jun 22, 2015, at 16:17 , Carl Hoefs <email@hidden <mailto:email@hidden>> wrote:
>>
>> Thanks. It looks like that’s what I will have to do!
>
> Other possibilities that occur to me:
>
> 1. Place a child window so that sits centered over the title bar.
Heh, that thought actually occurred to me too (but the stench of it caused me to dismiss it out-of-hand ;)
>
> 2. If you’re targeting Yosemite or above, use the same API that Safari uses to place a toolbar in the title bar, and use a text field with a suitable opaque background color to “repeat” the actual title.
Where might I find info on the API that Safari uses?
-Carl
_______________________________________________
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