1 /***********************************************************************/
2 /* Open Visualization Data Explorer                                    */
3 /* (C) Copyright IBM Corp. 1989,1999                                   */
4 /* ALL RIGHTS RESERVED                                                 */
5 /* This code licensed under the                                        */
6 /*    "IBM PUBLIC LICENSE - Open Visualization Data Explorer"          */
7 /***********************************************************************/
8 
9 #ifndef _VCDefaultResources_h
10 #define _VCDefaultResources_h
11 
12 #if !defined(DX_NEW_KEYLAYOUT)
13 
14 String  ViewControlDialog::DefaultResources[] =
15 {
16     ".XmForm.accelerators:		#augment\n"
17 #if 1
18 	"<Key>Return:			BulletinBoardReturn()",
19 #else
20 	"<Key>Return:			BulletinBoardReturn()\n"
21 	"<Btn2Down>,<Btn2Up>:		HELP!",
22 #endif
23     "*mainForm.width:				292",
24     "*mainForm.undoButton.labelString:		Undo  Ctrl+U",
25     "*mainForm.undoButton.width:			100",
26     "*mainForm.redoButton.labelString:		Redo  Ctrl+D",
27     "*mainForm.redoButton.width:			100",
28     "*mainForm.modeLabel.labelString:		Mode:",
29     "*mainForm.setViewLabel.labelString:	Set View:",
30     "*mainForm.projectionLabel.labelString:	Projection:",
31     "*mainForm.viewAngleLabel.labelString:	View Angle:",
32 
33     "*mainForm*modePulldownMenu.modeNone.labelString:         None",
34 #ifdef sgi
35     "*mainForm*modePulldownMenu.modeNone.width:               85",
36     "*mainForm*modePulldownMenu.modeNone.recomputeSize:       False",
37 #endif
38     "*mainForm*modePulldownMenu.modeCamera.labelString:       Camera",
39     "*mainForm*modePulldownMenu.modeCamera.accelerator:       Ctrl<Key>K",
40     "*mainForm*modePulldownMenu.modeCamera.acceleratorText:   Ctrl+K",
41     "*mainForm*modePulldownMenu.modeCursors.labelString:      Cursors",
42     "*mainForm*modePulldownMenu.modeCursors.accelerator:      Ctrl<Key>X",
43     "*mainForm*modePulldownMenu.modeCursors.acceleratorText:  Ctrl+X",
44     "*mainForm*modePulldownMenu.modePick.labelString:         Pick",
45     "*mainForm*modePulldownMenu.modePick.accelerator:         Ctrl<Key>I",
46     "*mainForm*modePulldownMenu.modePick.acceleratorText:     Ctrl+I",
47     "*mainForm*modePulldownMenu.modeNavigate.labelString:     Navigate",
48     "*mainForm*modePulldownMenu.modeNavigate.accelerator:     Ctrl<Key>N",
49     "*mainForm*modePulldownMenu.modeNavigate.acceleratorText: Ctrl+N",
50     "*mainForm*modePulldownMenu.modePanZoom.labelString:      Pan/Zoom",
51     "*mainForm*modePulldownMenu.modePanZoom.accelerator:      Ctrl<Key>G",
52     "*mainForm*modePulldownMenu.modePanZoom.acceleratorText:  Ctrl+G",
53     "*mainForm*modePulldownMenu.modeRoam.labelString:         Roam",
54     "*mainForm*modePulldownMenu.modeRoam.accelerator:         Ctrl<Key>W",
55     "*mainForm*modePulldownMenu.modeRoam.acceleratorText:     Ctrl+W",
56     "*mainForm*modePulldownMenu.modeRotate.labelString:       Rotate",
57     "*mainForm*modePulldownMenu.modeRotate.accelerator:       Ctrl<Key>R",
58     "*mainForm*modePulldownMenu.modeRotate.acceleratorText:   Ctrl+R",
59     "*mainForm*modePulldownMenu.modeZoom.labelString:         Zoom",
60     "*mainForm*modePulldownMenu.modeZoom.accelerator:         Ctrl<Key>Z",
61     "*mainForm*modePulldownMenu.modeZoom.acceleratorText:     Ctrl+Z",
62 
63     "*mainForm*setViewPulldownMenu.setViewNone.labelString:       None",
64     "*mainForm*setViewPulldownMenu.setViewNone.width:             140",
65     "*mainForm*setViewPulldownMenu.setViewNone.recomputeSize:     False",
66     "*mainForm*setViewPulldownMenu.setViewTop.labelString:        Top",
67     "*mainForm*setViewPulldownMenu.setViewBottom.labelString:     Bottom",
68     "*mainForm*setViewPulldownMenu.setViewFront.labelString:      Front",
69     "*mainForm*setViewPulldownMenu.setViewBack.labelString:       Back",
70     "*mainForm*setViewPulldownMenu.setViewLeft.labelString:       Left",
71     "*mainForm*setViewPulldownMenu.setViewRight.labelString:      Right",
72     "*mainForm*setViewPulldownMenu.setViewDiagonal.labelString:   Diagonal",
73     "*mainForm*setViewPulldownMenu.setViewOffTop.labelString:     Off Top",
74     "*mainForm*setViewPulldownMenu.setViewOffBottom.labelString:  Off Bottom",
75     "*mainForm*setViewPulldownMenu.setViewOffFront.labelString:   Off Front",
76     "*mainForm*setViewPulldownMenu.setViewOffBack.labelString:    Off Back",
77     "*mainForm*setViewPulldownMenu.setViewOffLeft.labelString:    Off Left",
78     "*mainForm*setViewPulldownMenu.setViewOffRight.labelString:   Off Right",
79     "*mainForm*setViewPulldownMenu.setViewOffDiagonal.labelString:Off Diagonal",
80     "*mainForm*projectionPulldownMenu.orthographic.labelString:   Orthographic",
81     "*mainForm*projectionPulldownMenu.orthographic.width:         140",
82     "*mainForm*projectionPulldownMenu.orthographic.recomputeSize: False",
83     "*mainForm*projectionPulldownMenu.perspective.labelString:    Perspective",
84     "*mainForm*projectionPulldownMenu.perspective.width:         140",
85     "*mainForm*projectionPulldownMenu.perspective.recomputeSize: False",
86 
87     "*cursorForm.probeLabel.labelString:                    Probe(s):",
88     "*cursorForm.probeLabel.width:                          95",
89     "*cursorForm*probePulldownMenu.noProbes.labelString:    (None)",
90     "*cursorForm*probePulldownMenu*width:                   110",
91     "*cursorForm*probePulldownMenu*recomputeSize:           False",
92     "*cursorForm.constraintLabel.labelString:               Constraints:",
93     "*cursorForm.constraintLabel.width:                     95",
94     "*cursorForm*constraintPulldownMenu.None.labelString:   None",
95     "*cursorForm*constraintPulldownMenu.None.width:         110",
96     "*cursorForm*constraintPulldownMenu.None.recomputeSize: False",
97     "*cursorForm*constraintPulldownMenu.X.labelString:      X",
98     "*cursorForm*constraintPulldownMenu.Y.labelString:      Y",
99     "*cursorForm*constraintPulldownMenu.Z.labelString:      Z",
100 
101     "*pickForm.pickLabel.labelString:                       Pick(s):",
102     "*pickForm.pickLabel.width:                             95",
103     "*pickForm*pickPulldownMenu.noPicks.labelString:        (None)",
104     "*pickForm*pickPulldownMenu*width:                      110",
105     "*pickForm*pickPulldownMenu*recomputeSize:              False",
106 
107     "*cameraForm*cameraWhichPulldownMenu.to.labelString:    To",
108     "*cameraForm*cameraWhichPulldownMenu.from.labelString:  From",
109     "*cameraForm*cameraWhichPulldownMenu.up.labelString:    Up",
110     "*cameraForm.cameraXLabel.labelString:    X",
111     "*cameraForm.cameraYLabel.labelString:    Y",
112     "*cameraForm.cameraZLabel.labelString:    Z",
113     "*cameraForm.cameraWindowWidthLabel.labelString:    Window Width:",
114     "*cameraForm.cameraWindowHeightLabel.labelString:   Window Height:",
115     "*cameraForm.cameraWidthLabel.labelString:    Camera Width:",
116 
117     "*navigateForm*navigateLookPulldownMenu.forward.labelString: Forward",
118     "*navigateForm*navigateLookPulldownMenu.forward.width: 110",
119     "*navigateForm*navigateLookPulldownMenu.forward.recomputeSize: False",
120     "*navigateForm*navigateLookPulldownMenu.left45.labelString:  45\\260\\ Left",
121     "*navigateForm*navigateLookPulldownMenu.right45.labelString: 45\\260\\ Right",
122     "*navigateForm*navigateLookPulldownMenu.up45.labelString:    45\\260\\ Up",
123     "*navigateForm*navigateLookPulldownMenu.down45.labelString:  45\\260\\ Down",
124     "*navigateForm*navigateLookPulldownMenu.left90.labelString:  90\\260\\ Left",
125     "*navigateForm*navigateLookPulldownMenu.right90.labelString: 90\\260\\ Right",
126     "*navigateForm*navigateLookPulldownMenu.up90.labelString:    90\\260\\ Up",
127     "*navigateForm*navigateLookPulldownMenu.down90.labelString:  90\\260\\ Down",
128     "*navigateForm*navigateLookPulldownMenu.backward.labelString:Backward",
129     "*navigateForm*navigateLookPulldownMenu.align.labelString:   Align",
130     "*navigateForm.navigationLabel.labelString:   Navigation",
131     "*navigateForm.lookLabel.labelString:         Look:",
132     "*navigateForm.motionLabel.labelString:       Motion:",
133     "*navigateForm.pivotLabel.labelString:        Pivot:",
134 
135     "*buttonForm.closeButton.labelString:	Close",
136     "*buttonForm.closeButton.width:		100",
137     "*buttonForm.resetButton.labelString:	Reset  Ctrl+F",
138     "*buttonForm.resetButton.width:		100",
139 
140 #if defined(aviion)
141     "*modeOptionMenu.labelString:",
142     "*setViewOptionMenu.labelString:",
143     "*projectionMenu.labelString:",
144     "*probeMenu.labelString:",
145     "*pickMenu.labelString:",
146     "*constraintMenu.labelString:",
147     "*cameraWhichMenu.labelString:",
148     "*navigateLookMenu.labelString:",
149 #endif
150     NULL
151 };
152 
153 
154 #else /* defined(DX_NEW_KEYLAYOUT) */
155 
156 String  ViewControlDialog::DefaultResources[] =
157 {
158     ".XmForm.accelerators:					#augment\n"
159 #if 1
160 	"<Key>Return:						BulletinBoardReturn()",
161 #else
162 	"<Key>Return:						BulletinBoardReturn()\n"
163 	"<Btn2Down>,<Btn2Up>:					HELP!",
164 #endif
165     "*mainForm.width:						292",
166     "*mainForm.undoButton.labelString:				Undo  Ctrl+Z",
167     "*mainForm.undoButton.width:				120",
168     "*mainForm.redoButton.labelString:				Redo  Ctrl+Y",
169     "*mainForm.redoButton.width:				120",
170     "*mainForm.modeLabel.labelString:				Mode:",
171     "*mainForm.setViewLabel.labelString:			Set View:",
172     "*mainForm.projectionLabel.labelString:			Projection:",
173     "*mainForm.viewAngleLabel.labelString:			View Angle:",
174 
175     "*mainForm*modePulldownMenu.modeNone.labelString:         	None",
176 #ifdef sgi
177     "*mainForm*modePulldownMenu.modeNone.width:               	85",
178     "*mainForm*modePulldownMenu.modeNone.recomputeSize:       	False",
179 #endif
180     "*mainForm*modePulldownMenu.modeCamera.labelString:       	Camera",
181     "*mainForm*modePulldownMenu.modeCamera.accelerator:       	Ctrl<Key>K",
182     "*mainForm*modePulldownMenu.modeCamera.acceleratorText:   	Ctrl+K",
183     "*mainForm*modePulldownMenu.modeCursors.labelString:      	Cursors",
184     "*mainForm*modePulldownMenu.modeCursors.accelerator:      	Ctrl<Key>X",
185     "*mainForm*modePulldownMenu.modeCursors.acceleratorText:  	Ctrl+X",
186     "*mainForm*modePulldownMenu.modePick.labelString:         	Pick",
187     "*mainForm*modePulldownMenu.modePick.accelerator:         	Ctrl<Key>I",
188     "*mainForm*modePulldownMenu.modePick.acceleratorText:     	Ctrl+I",
189     "*mainForm*modePulldownMenu.modeNavigate.labelString:     	Navigate",
190     "*mainForm*modePulldownMenu.modeNavigate.accelerator:     	Ctrl<Key>N",
191     "*mainForm*modePulldownMenu.modeNavigate.acceleratorText: 	Ctrl+N",
192     "*mainForm*modePulldownMenu.modePanZoom.labelString:      	Pan/Zoom",
193     "*mainForm*modePulldownMenu.modePanZoom.accelerator:      	Ctrl<Key>space",
194     "*mainForm*modePulldownMenu.modePanZoom.acceleratorText:  	Ctrl+Spc",
195     "*mainForm*modePulldownMenu.modeRoam.labelString:         	Roam",
196     "*mainForm*modePulldownMenu.modeRoam.accelerator:         	Ctrl<Key>Tab",
197     "*mainForm*modePulldownMenu.modeRoam.acceleratorText:     	Ctrl+Tab",
198     "*mainForm*modePulldownMenu.modeRotate.labelString:       	Rotate",
199     "*mainForm*modePulldownMenu.modeRotate.accelerator:       	Ctrl<Key>R",
200     "*mainForm*modePulldownMenu.modeRotate.acceleratorText:   	Ctrl+R",
201     "*mainForm*modePulldownMenu.modeZoom.labelString:         	Zoom",
202     "*mainForm*modePulldownMenu.modeZoom.accelerator:         	Ctrl Shift <Key>space",
203     "*mainForm*modePulldownMenu.modeZoom.acceleratorText:     	Ctrl+Shift+Spc",
204 
205     "*mainForm*setViewPulldownMenu.setViewNone.labelString:       None",
206     "*mainForm*setViewPulldownMenu.setViewNone.width:             140",
207     "*mainForm*setViewPulldownMenu.setViewNone.recomputeSize:     False",
208     "*mainForm*setViewPulldownMenu.setViewTop.labelString:        Top",
209     "*mainForm*setViewPulldownMenu.setViewBottom.labelString:     Bottom",
210     "*mainForm*setViewPulldownMenu.setViewFront.labelString:      Front",
211     "*mainForm*setViewPulldownMenu.setViewBack.labelString:       Back",
212     "*mainForm*setViewPulldownMenu.setViewLeft.labelString:       Left",
213     "*mainForm*setViewPulldownMenu.setViewRight.labelString:      Right",
214     "*mainForm*setViewPulldownMenu.setViewDiagonal.labelString:   Diagonal",
215     "*mainForm*setViewPulldownMenu.setViewOffTop.labelString:     Off Top",
216     "*mainForm*setViewPulldownMenu.setViewOffBottom.labelString:  Off Bottom",
217     "*mainForm*setViewPulldownMenu.setViewOffFront.labelString:   Off Front",
218     "*mainForm*setViewPulldownMenu.setViewOffBack.labelString:    Off Back",
219     "*mainForm*setViewPulldownMenu.setViewOffLeft.labelString:    Off Left",
220     "*mainForm*setViewPulldownMenu.setViewOffRight.labelString:   Off Right",
221     "*mainForm*setViewPulldownMenu.setViewOffDiagonal.labelString:Off Diagonal",
222     "*mainForm*projectionPulldownMenu.orthographic.labelString:   Orthographic",
223     "*mainForm*projectionPulldownMenu.orthographic.width:         140",
224     "*mainForm*projectionPulldownMenu.orthographic.recomputeSize: False",
225     "*mainForm*projectionPulldownMenu.perspective.labelString:    Perspective",
226     "*mainForm*projectionPulldownMenu.perspective.width:         140",
227     "*mainForm*projectionPulldownMenu.perspective.recomputeSize: False",
228 
229     "*cursorForm.probeLabel.labelString:                    	Probe(s):",
230     "*cursorForm.probeLabel.width:                          	95",
231     "*cursorForm*probePulldownMenu.noProbes.labelString:    	(None)",
232     "*cursorForm*probePulldownMenu*width:                   	110",
233     "*cursorForm*probePulldownMenu*recomputeSize:           	False",
234     "*cursorForm.constraintLabel.labelString:               	Constraints:",
235     "*cursorForm.constraintLabel.width:                     	95",
236     "*cursorForm*constraintPulldownMenu.None.labelString:   	None",
237     "*cursorForm*constraintPulldownMenu.None.width:         	110",
238     "*cursorForm*constraintPulldownMenu.None.recomputeSize: 	False",
239     "*cursorForm*constraintPulldownMenu.X.labelString:      	X",
240     "*cursorForm*constraintPulldownMenu.Y.labelString:      	Y",
241     "*cursorForm*constraintPulldownMenu.Z.labelString:      	Z",
242 
243     "*pickForm.pickLabel.labelString:                       	Pick(s):",
244     "*pickForm.pickLabel.width:                             	95",
245     "*pickForm*pickPulldownMenu.noPicks.labelString:        	(None)",
246     "*pickForm*pickPulldownMenu*width:                      	110",
247     "*pickForm*pickPulldownMenu*recomputeSize:              	False",
248 
249     "*cameraForm*cameraWhichPulldownMenu.to.labelString:    	To",
250     "*cameraForm*cameraWhichPulldownMenu.from.labelString:  	From",
251     "*cameraForm*cameraWhichPulldownMenu.up.labelString:    	Up",
252     "*cameraForm.cameraXLabel.labelString:    			X",
253     "*cameraForm.cameraYLabel.labelString:    			Y",
254     "*cameraForm.cameraZLabel.labelString:    			Z",
255     "*cameraForm.cameraWindowWidthLabel.labelString:    	Window Width:",
256     "*cameraForm.cameraWindowHeightLabel.labelString:   	Window Height:",
257     "*cameraForm.cameraWidthLabel.labelString:    		Camera Width:",
258 
259     "*navigateForm*navigateLookPulldownMenu.forward.labelString: Forward",
260     "*navigateForm*navigateLookPulldownMenu.forward.width: 	110",
261     "*navigateForm*navigateLookPulldownMenu.forward.recomputeSize: False",
262     "*navigateForm*navigateLookPulldownMenu.left45.labelString:  45\\260\\ Left",
263     "*navigateForm*navigateLookPulldownMenu.right45.labelString: 45\\260\\ Right",
264     "*navigateForm*navigateLookPulldownMenu.up45.labelString:    45\\260\\ Up",
265     "*navigateForm*navigateLookPulldownMenu.down45.labelString:  45\\260\\ Down",
266     "*navigateForm*navigateLookPulldownMenu.left90.labelString:  90\\260\\ Left",
267     "*navigateForm*navigateLookPulldownMenu.right90.labelString: 90\\260\\ Right",
268     "*navigateForm*navigateLookPulldownMenu.up90.labelString:    90\\260\\ Up",
269     "*navigateForm*navigateLookPulldownMenu.down90.labelString:  90\\260\\ Down",
270     "*navigateForm*navigateLookPulldownMenu.backward.labelString:Backward",
271     "*navigateForm*navigateLookPulldownMenu.align.labelString:   Align",
272     "*navigateForm.navigationLabel.labelString:   		Navigation",
273     "*navigateForm.lookLabel.labelString:         		Look:",
274     "*navigateForm.motionLabel.labelString:       		Motion:",
275     "*navigateForm.pivotLabel.labelString:        		Pivot:",
276 
277     "*buttonForm.closeButton.labelString:			Close",
278     "*buttonForm.closeButton.width:				100",
279     "*buttonForm.resetButton.labelString:			Reset  Ctrl+F",
280     "*buttonForm.resetButton.width:				100",
281 
282 #if defined(aviion)
283     "*modeOptionMenu.labelString:",
284     "*setViewOptionMenu.labelString:",
285     "*projectionMenu.labelString:",
286     "*probeMenu.labelString:",
287     "*pickMenu.labelString:",
288     "*constraintMenu.labelString:",
289     "*cameraWhichMenu.labelString:",
290     "*navigateLookMenu.labelString:",
291 #endif
292     NULL
293 };
294 
295 
296 #endif
297 
298 #endif // _VCDefaultResources_h
299 
300