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" <fredkie...@gmx.de> 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 > Discuss-gnustep@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnustep >
_______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnustep