Riccardo,

I just took a look at this and it's a great start.  Please keep up the good
work.  I'm excited to see the end result. :)

Greg


On Mon, Dec 23, 2013 at 9:09 AM, Riccardo Canalicchio <
[email protected]> wrote:

> My intent is to make the window draggable by the titlebar and the
> transparent part of the toolbar, i don't want only a bigger drawing but the
> behavior of a big titlebar.
> Il 23/dic/2013 13:47 "Fred Kiefer" <[email protected]> ha scritto:
>
> 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.
>>
>>
>> _______________________________________________
>> Discuss-gnustep mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>>
>
> _______________________________________________
> Discuss-gnustep mailing list
> [email protected]
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
>
>


-- 
Gregory Casamento
Open Logic Corporation, Principal Consultant
yahoo/skype: greg_casamento, aol: gjcasa
(240)274-9630 (Cell)
http://www.gnustep.org
http://heronsperch.blogspot.com
_______________________________________________
Discuss-gnustep mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to