discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Arrow of NSMenu


From: Eric Wasylishen
Subject: Re: Arrow of NSMenu
Date: Thu, 28 Mar 2013 11:40:16 -0400

Hey Riccardo, check the nsmappings.strings file in Images. I think that maps nsmenuarrow to one of the common_ images.

Eric

On Mar 28, 2013 10:30 AM, "Riccardo Mottola" <riccardo.mottola@libero.it> wrote:
Hi,

I want to theme the Menu arrow of submenus.

I find in the NSMenuItemCell this code:

NSImage      *arrow = [NSImage imageNamed: @"NSMenuArrow"];

thus I suppose id displays a NSMenuArrow, bout I couldn't find any in the "Images" folder of GUI!

ls /System/Library/Images | grep Arrow
common_3DArrowDown.tiff
common_3DArrowLeft.tiff
common_3DArrowRightH.tiff
common_3DArrowRight.tiff
common_3DArrowUp.tiff
common_ArrowDownH.tiff
common_ArrowDown.tiff
common_ArrowLeftH.tiff
common_ArrowLeft.tiff
common_ArrowRightH.tiff
common_ArrowRight.tiff
common_ArrowUpH.tiff
common_ArrowUp.tiff
common_DownArrowSmall.tiff
common_UpAndDownArrowSmall.tiff
NSComboArrow.tiff


Does it get remapped somehow? where? to which one?

Or is just another image used? Still, that code confuses me.

Riccardo

_______________________________________________
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep

reply via email to

[Prev in Thread] Current Thread [Next in Thread]