El vie, 21-08-2009 a las 13:10 +0200, Fred Kiefer escribió: > I am not sure I understand, where you are aiming. To me this looks like > a theme for NSMenu, which uses different background colours and doesn't > highlight the selected menu item. If this is all that you want, it > should be fairly easy to extract The background colour method of > NSMenuItemCell into a theme method plus similar code in GSTitleView to > support themes. > This is all fine for me, as long as it does not change the default menu > look (although I don't like that myself). > > Fred
Well, my idea is add a variable call GSMenuItemsBordered (or the name you would want) to default YES. And when is NO draw the items without border. Now, to the background color of menu's title. I would like use the same color of window frame. But, of course, this will change the default behavior. For that, my idea is add other variable (for example GSUseWindowFrameColorToMenu) to default NO. And YES to use this color on menu. This instead of adding another color to the color list. Riccardo escribió > Hi, > > perhaps this can be achieved by only making the menu separator not > drawn or set with the same color as the background. > > Riccardo Are you referring to 3D dark shadow, 3D light shadow... ? With this is posible. But, the buttons, popUpButtons.... will be draw without borders. And I don't want that. _______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
