File: nsmapping.strings

package info (click to toggle)
gnustep-gui 0.32.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,348 kB
  • sloc: objc: 178,763; ansic: 24,089; cpp: 664; yacc: 464; sh: 90; makefile: 72
file content (59 lines) | stat: -rw-r--r-- 2,049 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* This file maps the old OPENSTEP and GNUstep names of the images to the 
   standard theme image names (declared as constants in GSTheme.h) or icon 
   names (declared as constants in their related header).

   For now, the GNUstep names also represent the actual file names in the 
   Images directory. As a result, this mapping is also used to access the 
   image files at loading time. In the long run, the images could just be 
   renamed to the standard theme image names (without breaking compatibility 
   with existing applications and themes, since NSImage checks this mapping 
   in +imageNamed:).
   
   The format is the "strings" format and content is trivial. */

/* We do not remap the application icon to GNUstep */
/* GNUstep = NSApplicationIcon; */

common_SwitchOff = GSSwitch;
NSSwitch = GSSwitch;
common_SwitchOn = GSSwitchSelected;
NSHighlightedSwitch = GSSwitchSelected;

common_RadioOff = GSRadio;
NSRadioButton = GSRadio;
common_RadioOn = GSRadioSelected;
NSHighlightedRadioButton = GSRadioSelected;

GNUstepMenuImage = GSApplicationMenuIcon;
AppleMenuImage = GSApplicationMenuIcon;
common_3DArrowRight = GSMenuArrow;
common_3DArrowRightH = NSHighlightedMenuArrow;
NSMenuArrow = GSMenuArrow;
common_2DCheckMark = GSMenuSelected;
NSMenuCheckmark = GSMenuSelected;
common_2DDash = GSMenuMixed;
NSMenuMixedState = GSMenuMixed;

common_ComboBoxEllipsis = GSComboArrow;
NSComboArrow = GSComboArrow;

/* Toolbar images */

common_ToolbarCustomizeToolbarItem = NSToolbarCustomizeToolbarItemImage;
common_Printer = NSToolbarPrint;
common_ToolbarShowColorsItem = NSToolbarShowColors;
common_ToolbarShowFontsItem = NSToolbarShowFonts;
common_RecyclerEmpty = NSImageTrashEmpty;
common_RecyclerFull = NSImageTrashFull;
common_MenuToolbarItem = NSMenuToolbarItem;

/* Misc. */

common_MultipleSelection = NSImageNameMultipleDocuments;
common_ToolbarShowColorsItem = NSColorPanel;
common_Root_PC = NSComputer;
GSStop = NSStopProgressTemplate;
common_ToolbarShowFontsItem = NSFontPanel;
common_Folder = NSFolder;
common_Info = NSInfo;