[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: theme work in progress
From: |
Fred Kiefer |
Subject: |
Re: theme work in progress |
Date: |
Mon, 23 Dec 2013 13:48:13 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 |
On 23.12.2013 10:57, Riccardo Canalicchio wrote:
> Fred, about a patch...
> I'm working on the NSToolbar, my intent is to integrate the toolbar into
> the window titlebar like this:
> https://dl.dropboxusercontent.com/u/3470013/theme/toolbar.png
> The best would be to draw the titlebar with the height increased by the
> [toolbarview _heightFromLayout],
>
> currently GSTheme expose only one method: titlebarHeight, and seems like
> the toolbar uses this method to find its position
>
> I have made some hacks to make it works but I would like to find a generic
> solution that could work even if the theme would like a separate nstoolbar..
> If this make sense to you, I'm open to suggestions on how could be the
> right way to do
Couldn't you get this effect by just not drawing the separator between
the window decoration and the toolbar when this is present? As far as I
see this is currently not possible, but should be an easy enough change.
- theme work in progress, Riccardo Canalicchio, 2013/12/22
- Re: theme work in progress, Fred Kiefer, 2013/12/22
- Re: theme work in progress, Riccardo Canalicchio, 2013/12/22
- Re: theme work in progress, David Chisnall, 2013/12/22
- Re: theme work in progress, Riccardo Canalicchio, 2013/12/22
- Re: theme work in progress, Riccardo Canalicchio, 2013/12/23
- Re: theme work in progress,
Fred Kiefer <=
- Re: theme work in progress, Riccardo Canalicchio, 2013/12/23
- Re: theme work in progress, Gregory Casamento, 2013/12/29