File: Fig.ad

package info (click to toggle)
xfig 1%3A3.2.3.a-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 8,780 kB
  • ctags: 5,921
  • sloc: ansic: 57,498; makefile: 681; sh: 120; csh: 5
file content (464 lines) | stat: -rw-r--r-- 15,924 bytes parent folder | download
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
!Don't change the following string - xfig uses it to determine
! if you have the newest app-defaults files installed

Fig.version:			3.2.3a

! some sample settings you may want to change

! If the following resource is set to false, xfig will use metric units
! by default.
Fig.inches:     false

! Image editor - can edit imported image
Fig.image_editor:		gimp

! Browser - put your favorite browser here.  
! 		This is for viewing the xfig html reference.
! For netscape, this command will open the help pages in a running netscape,
!     or start a new netscape if one isn't already running
Fig.browser:			xfig-www-browser

! pdfviewer - put your favorite pdf viewer here.  
!		This is for viewing the xfig how-to guide and man pages
Fig.pdfviewer:			xfig-pdf-viewer

! Spell check program - put your favorite spelling check program here.
!		It must write the misspelled words to standard output.

Fig.spellcheckcommand:	spell %f

! delay before spinner automatically counts when pressed (milliseconds)
Fig.spinner_delay:		1000
! rate at which spinner counts (milliseconds between counting)
Fig.spinner_rate:		150

! font for the buttons
Fig.buttonFont:			6x13

! font for the rulers and message window
Fig.normalFont:			6x13

! font for the file name and popup query widgets
Fig.boldFont:			8x13bold

! font for the ruler numbers
Fig*topruler.font:		6x13
Fig*sideruler.font:		6x13

! font for the units box in the corner where the rulers meet
Fig*unitbox.font:		6x13

! font for everything else
Fig*Font:			7x13bold

! filename mask for the file popup browser
Fig*file_panel*mask*string:	*.fig *.fig.gz *.fig.[Zz]

! default export language
Fig.exportLanguage:		eps

! filename mask for the image popup browser
Fig*browse_panel*mask*string:	*.gif* *.jpg* *.pcx* *.ppm* *.tif* *.xpm* *.xbm* *.ps* *.eps*

! printer name
! If the following resource is NOT set, xfig will use the PRINTER 
! shell environment variable for the printer name
!Fig*printer*string:		ps

! printer job parameters
! If you are running a SYSV system your print command may need -T PS.  If so,
! uncomment the following.  You may want to add any print params here anyway.
! If you want the filename to be sent to the printer for the "Job" parameter
! you may add -J %f to the job_params string.

!Fig*job_params*string:		-T PS

! Set the maximum number of colors to use for color images (EPS,GIF,XPM)
! xfig will try to install a private colormap if needed to get this
! nubmer of colors UNLESS -dontswitchcmap (resource Fig.dont_switch_cmap)
! is set.
Fig.max_image_colors:		80

! delay (milliseconds) before popping up info balloon 
Fig*balloon_delay:		500

! Spacing between buttons
Fig.internalborderwidth:	1

! If you are using the 3d Athena widget set (which looks very nice)
! and you want the scrollbars to be 3d (even though they look funny)
! then comment out the following three resources.
! NOTE:
! There are two names for top/bottom shadow colors (e.g. topShadow and 
! topShadowPixel) because the resources changed in version 1.1 of Xaw3d.
! (Version 1.1 uses xxxShadowPixel).
! I include both for compatibility.  Be sure to change both values when
! modifying them.

	Fig*horizontal.shadowWidth: 0
	Fig*horizontal.topShadowPixel: black
	Fig*horizontal.bottomShadowPixel: white
	Fig*horizontal.topShadow: black
	Fig*horizontal.bottomShadow: white

! the following is done so the widget set doesn't try to make shades of
! the scrollbar shadows (even though the width is 0 it takes more colors)
	Fig*Scrollbar.shadowWidth: 0
	Fig*Scrollbar.topShadow: black
	Fig*Scrollbar.bottomShadow: white
	Fig*Scrollbar.topShadowPixel: black
	Fig*Scrollbar.bottomShadowPixel: white

! this is for the standard color buttons in the color panel
	Fig*stdColor.shadowWidth: 2
	Fig*stdColor.topShadow: black
	Fig*stdColor.bottomShadow: white
	Fig*stdColor.topShadowPixel: black
	Fig*stdColor.bottomShadowPixel: white

! turn off any shadows for the user color cells
	Fig*colorMemory.shadowWidth: 0

! You may need or want to adjust the highlight thickness for the mode
! and indicator panels depending on the results.  If it is too thick
! it will erase part of the button graphics.
	Fig*mode_panel*highlightThickness: 1
	Fig*ind_panel.ind_box.button_form.button.highlightThickness: 1
! Same for the popup panels from the indicator panel
	Fig*set_indicator_panel*Command.highlightThickness: 1

! If you use the 3D Athena widget set and the small icons for the mode panel
! (because you have a small screen; see Imakefile) you may want to reduce
! the shadow width to 1 or 0.  Uncomment the following in that case:
!	Fig*mode_panel*shadowWidth: 1

! The following is for the update marker in the upper-right corner of the
! indicator buttons.  You may not want any highlight thickness because
! the boxes are so small.
	Fig*ind_panel.ind_box.button_form.update.highlightThickness: 0

! You probably don't want the "spinners" for the settings panels to have shadows
	Fig*spinup.shadowWidth: 0
	Fig*spindown.shadowWidth: 0

! This gets rid of that funny black line that sometimes borders the canvas

	Fig*canvas.shadowWidth:  0

!if on monochrome server, or no Fig-color app-defaults file
!  This background resource shows between the buttons like a border
	Fig*mode_panel.background:	black
	Fig*mode_panel.foreground:	black

! make the F12 key paste text in the canvas
Fig*canvas.translations: #override \n\
			<Key>F12: PasteCanv()

! Specify a private Compose key database file.  If this resource contains a "/"
! then the wired-in name of the xfig global directory won't be prefixed to it.
! An initial "~/" is replaced by the value of "$HOME/".
!
!Fig*keyFile:	~/.xfig.Compose-key

! If xfig is compiled with I18N option, you may want to uncomment following line.
!
!Fig.international: true

! Note that you shouldn't remove the following "Fig*international: false".  
! It must be there to cancel any *international: true that may defined via xrdb.
! This can cause problems on xfig even if the i18n facility is used.
Fig*international: false

Fig.translations: #override \n\
         <Key>: \n\
         <KeyUp>:

! keyboard accelerators

Fig*accelerators: \
	Meta<Key>d: DeleteAll() \n\
	Alt<Key>d:  DeleteAll() \n\
	Meta<Key>n: New() \n\
	Alt<Key>n:  New() \n\
	Meta<Key>c: ChangeOrient() \n\
	Alt<Key>c:  ChangeOrient() \n\
	Meta<Key>u: Undo() \n\
	Alt<Key>u:  Undo() \n\
	Meta<Key>r: Redraw() \n\
	Alt<Key>r:  Redraw() \n\
	Ctrl<Key>l: Redraw() \n\
	Meta<Key>t: Paste() \n\
	Alt<Key>t:  Paste() \n\
	Meta<Key>a: SaveAs() \n\
	Alt<Key>a:  SaveAs() \n\
	Meta<Key>s: SaveFile() \n\
	Alt<Key>s:  SaveFile() \n\
	Meta<Key>m: MergeFile() \n\
	Alt<Key>m:  MergeFile() \n\
	Meta<Key>k: SpellCheck() \n\
	Alt<Key>k:  SpellCheck() \n\
	Meta<Key>i: Search() \n\
	Alt<Key>i:  Search() \n\
	Meta<Key>g: PopupGlobals() \n\
	Alt<Key>g:  PopupGlobals() \n\
	Meta<Key>q: Quit() \n\
	Alt<Key>q:  Quit() \n\
	Meta<Key>o: OpenFile() \n\
	Alt<Key>o:  OpenFile() \n\
	Meta<Key>p: PopupPrint() \n\
	Alt<Key>p:  PopupPrint() \n\
	Meta<Key>x: PopupExport() \n\
	Alt<Key>x:  PopupExport() \n\
	Meta<Key>y: ToggleShowBalloons() \n\
	Alt<Key>y:  ToggleShowBalloons() \n\
	Meta<Key>b: ToggleShowBorders() \n\
	Alt<Key>b:  ToggleShowBorders() \n\
	Meta<Key>l: ToggleShowLengths() \n\
	Alt<Key>l:  ToggleShowLengths()

! Translations for when File menu is popped up
Fig*commands*File*translations: #augment \n\
	<Leave>: XtMenuPopdown(filemenu) \n\
	<Motion>: highlight() \n\
	<Key>f: \n\
	Meta<Key>e: XtMenuPopdown(filemenu) PlaceMenu(editmenu) xMenuPopup(editmenu) \n\
	Meta<Key>v: XtMenuPopdown(filemenu) PlaceMenu(viewmenu) xMenuPopup(viewmenu) \n\
	Meta<Key>h: XtMenuPopdown(filemenu) PlaceMenu(helpmenu) xMenuPopup(helpmenu) \n\
	<Key>n: XtMenuPopdown(filemenu) New() \n\
	<Key>o: XtMenuPopdown(filemenu) OpenFile() \n\
	<Key>m: XtMenuPopdown(filemenu) MergeFile() \n\
	<Key>s: XtMenuPopdown(filemenu) SaveFile() \n\
	<Key>a: XtMenuPopdown(filemenu) SaveAs() \n\
	<Key>e: XtMenuPopdown(filemenu) PopupExport() \n\
	<Key>p: XtMenuPopdown(filemenu) PopupPrint() \n\
	<Key>x: XtMenuPopdown(filemenu) Quit() \n\
	<Key>1: XtMenuPopdown(filemenu) LoadRecent(1) \n\
	<Key>2: XtMenuPopdown(filemenu) LoadRecent(2) \n\
	<Key>3: XtMenuPopdown(filemenu) LoadRecent(3) \n\
	<Key>4: XtMenuPopdown(filemenu) LoadRecent(4) \n\
	<Key>5: XtMenuPopdown(filemenu) LoadRecent(5) \n\
	<Key>6: XtMenuPopdown(filemenu) LoadRecent(6) \n\
	<Key>7: XtMenuPopdown(filemenu) LoadRecent(7) \n\
	<Key>8: XtMenuPopdown(filemenu) LoadRecent(8) \n\
	<Key>9: XtMenuPopdown(filemenu) LoadRecent(9) \n\
	<Key>:XtMenuPopdown(filemenu) 

Fig*commands*File*accelerators: \
	Meta<Key>f: PlaceMenu(filemenu)xMenuPopup(filemenu) \n\
	Alt<Key>f:  PlaceMenu(filemenu)xMenuPopup(filemenu)

! Translations for when Edit menu is popped up
Fig*commands*Edit*translations: #augment \n\
	<Motion>: highlight() \n\
	<Key>e: \n\
	Meta<Key>f: XtMenuPopdown(editmenu) PlaceMenu(filemenu) xMenuPopup(filemenu) \n\
	Meta<Key>v: XtMenuPopdown(editmenu) PlaceMenu(viewmenu) xMenuPopup(viewmenu) \n\
	Meta<Key>h: XtMenuPopdown(editmenu) PlaceMenu(helpmenu) xMenuPopup(helpmenu) \n\
	<Key>u: XtMenuPopdown(editmenu) Undo() \n\
	<Key>p: XtMenuPopdown(editmenu) Paste() \n\
	<Key>t: XtMenuPopdown(editmenu) PasteCanv() \n\
	<Key>f: XtMenuPopdown(editmenu) Search() \n\
	<Key>s: XtMenuPopdown(editmenu) SpellCheck() \n\
	<Key>g: XtMenuPopdown(editmenu) PopupGlobals() \n\
	<Key>n: XtMenuPopdown(editmenu) PopupUnits() \n\
	<Key>: XtMenuPopdown(editmenu)

Fig*commands*Edit*accelerators: \
	Meta<Key>e: PlaceMenu(editmenu)xMenuPopup(editmenu) \n\
	Alt<Key>e: PlaceMenu(editmenu)xMenuPopup(editmenu)

Fig*commands*View*translations: #augment \n\
	<Motion>: highlight() \n\
	<Key>v: \n\
	Meta<Key>f: XtMenuPopdown(viewmenu) PlaceMenu(filemenu) xMenuPopup(filemenu) \n\
	Meta<Key>e: XtMenuPopdown(viewmenu) PlaceMenu(editmenu) xMenuPopup(editmenu) \n\
	Meta<Key>h: XtMenuPopdown(viewmenu) PlaceMenu(helpmenu) xMenuPopup(helpmenu) \n\
	<Key>r: XtMenuPopdown(viewmenu) Redraw() \n\
	<Key>t: XtMenuPopdown(viewmenu) ChangeOrient() \n\
	<Key>i: XtMenuPopdown(viewmenu) ZoomIn() \n\
	<Key>o: XtMenuPopdown(viewmenu) ZoomOut() \n\
	<Key>f: XtMenuPopdown(viewmenu) ZoomFit() \n\
	<Key>u: XtMenuPopdown(viewmenu) Unzoom() \n\
	<Key>p: XtMenuPopdown(viewmenu) PanOrigin() \n\
	<Key>d: XtMenuPopdown(viewmenu) ToggleShowDepths() \n\
	<Key>n: XtMenuPopdown(viewmenu) ToggleShowBalloons() \n\
	<Key>b: XtMenuPopdown(viewmenu) ToggleShowBorders() \n\
	<Key>l: XtMenuPopdown(viewmenu) ToggleShowLengths() \n\
	<Key>v,<Key>v: XtMenuPopdown(viewmenu) ToggleShowVertexnums() \n\
	<Key>: XtMenuPopdown(viewmenu)

Fig*commands*View*accelerators: \
	Meta<Key>v: PlaceMenu(viewmenu)xMenuPopup(viewmenu) \n\
	Alt<Key>v:  PlaceMenu(viewmenu)xMenuPopup(viewmenu)

Fig*commands*Help*translations: #augment \n\
	<Motion>: highlight() \n\
	Meta<Key>h: \n\
	Meta<Key>f: XtMenuPopdown(helpmenu) PlaceMenu(filemenu) xMenuPopup(filemenu) \n\
	Meta<Key>e: XtMenuPopdown(helpmenu) PlaceMenu(editmenu) xMenuPopup(editmenu) \n\
	Meta<Key>v: XtMenuPopdown(helpmenu) PlaceMenu(viewmenu) xMenuPopup(viewmenu) \n\
	<Key>x: XtMenuPopdown(helpmenu) RefMan() \n\
	<Key>m: XtMenuPopdown(helpmenu) Man() \n\
	<Key>h: XtMenuPopdown(helpmenu) HowToGuide() \n\
	<Key>a: XtMenuPopdown(helpmenu) AboutXfig() \n\
	<Key>: XtMenuPopdown(helpmenu)

Fig*commands*Help*accelerators: \
	Meta<Key>h: PlaceMenu(helpmenu)xMenuPopup(helpmenu) \n\
	Alt<Key>h:  PlaceMenu(helpmenu)xMenuPopup(helpmenu)

! file popop accelerators
Fig*file_panel*accelerators: \
	<Key>Escape: CancelFile() \n\
	Meta<Key>c: CancelFile() \n\
	Alt<Key>c: CancelFile() \n\
	Meta<Key>q: CancelFile() \n\
	Alt<Key>q: CancelFile() \n\
	Meta<Key>r: Rescan() \n\
	Alt<Key>r: Rescan()

! export popop accelerators
Fig*export_panel*accelerators: \
	<Key>Escape: CancelExport() \n\
	Meta<Key>c: CancelExport() \n\
	Alt<Key>c: CancelExport() \n\
	Meta<Key>q: CancelExport() \n\
	Alt<Key>q: CancelExport() \n\
	Meta<Key>r: Rescan() \n\
	Alt<Key>r: Rescan()

! print popup accelerators
Fig*print_panel*accelerators: \
	<Key>Escape: Dismiss() \n\
	Meta<Key>c: Dismiss() \n\
	Alt<Key>c: Dismiss() \n\
	Meta<Key>q: Dismiss() \n\
	Alt<Key>q: Dismiss() \n\
	Meta<Key>d: Dismiss() \n\
	Alt<Key>d: Dismiss() \n\
	Meta<Key>b: PrintBatch() \n\
	Alt<Key>b: PrintBatch() \n\
	Meta<Key>x: ClearBatch() \n\
	Alt<Key>x: ClearBatch() \n\
	Meta<Key>p: Print() \n\
	Alt<Key>p: Print()

! edit popop accelerators
Fig*edit_panel*accelerators: \
	<Key>Escape: CancelEdit() \n\
	Meta<Key>c: CancelEdit() \n\
	Alt<Key>c: CancelEdit() \n\
	Meta<Key>q: CancelEdit() \n\
	Alt<Key>q: CancelEdit()

! unit popup accelerators
Fig*unit_panel*accelerators: \
	<Key>Escape: QuitUnits() \n\
	Meta<Key>c: QuitUnits() \n\
	Alt<Key>c: QuitUnits() \n\
	Meta<Key>q: QuitUnits() \n\
	Alt<Key>q: QuitUnits() \n\
	Meta<Key>s: SetUnits() \n\
	Alt<Key>s: SetUnits() \n\
	<Key>Return: SetUnits()

Fig*search_panel*accelerators: \
	<Key>Escape: QuitSearchPanel() \n\
	Meta<Key>c: QuitSearchPanel() \n\
	Alt<Key>c: QuitSearchPanel() \n\
	Meta<Key>q: QuitSearchPanel() \n\
	Alt<Key>q: QuitSearchPanel() \n\
	<Key>Return: SearchText()

! found text popup accelerators
Fig*found_text_panel*accelerators: \
	<Key>Escape: QuitFoundTextPanel() \n\
	Meta<Key>c: QuitFoundTextPanel() \n\
	Alt<Key>c: QuitFoundTextPanel() \n\
	Meta<Key>q: QuitFoundTextPanel() \n\
	Alt<Key>q: QuitFoundTextPanel()

! this makes the accelerators work in the text part of the found text panel
Fig*found_text_panel*Text*translations: #override \
	<Key>Escape: QuitFoundTextPanel() \n\
	Meta<Key>c: QuitFoundTextPanel() \n\
	Alt<Key>c: QuitFoundTextPanel() \n\
	Meta<Key>q: QuitFoundTextPanel() \n\
	Alt<Key>q: QuitFoundTextPanel()

! spellcheck popup accelerators
Fig*spell_check_panel*accelerators: \
	<Key>Escape: QuitSpellPanel() \n\
	Meta<Key>c: QuitSpellPanel() \n\
	Alt<Key>c: QuitSpellPanel() \n\
	Meta<Key>q: QuitSpellPanel() \n\
	Alt<Key>q: QuitSpellPanel()

! global settings popup
Fig*global_panel*accelerators: \
	<Key>Escape: DismissGlobal() \n\
	Meta<Key>c: DismissGlobal() \n\
	Alt<Key>c: DismissGlobal() \n\
	Meta<Key>q: DismissGlobal() \n\
	Alt<Key>q: DismissGlobal()

Fig*ind_panel*accelerators: \
	Shift<Key>z: ZoomIn() \n\
	Ctrl<Key>z: ZoomFit() \n\
	<Key>z: ZoomOut()

! Acceleraters for object creation/editing

Fig*mode_panel*accelerators: \
	Ctrl<Key>a: ModeAddPoint() \n\
	None<Key>a: ModeAlign() \n\
	None<Key>r: ModeArc() \n\
	Shift<Key>b: ModeArcBox() \n\
	Shift<Key>a: ModeArrow() \n\
	None<Key>b: ModeBox() \n\
	Shift<Key>g: ModeBreakCompound() \n\
	Shift<Key>c: ModeCircleD() \n\
	None<Key>c: ModeCircleR() \n\
	Shift<Key>i: ModeClIntSpline() \n\
	Shift<Key>s: ModeClSpline() \n\
	None<Key>g: ModeCompound() \n\
	None<Key>v: ModeConvertObject() \n\
	Ctrl<Key>c: ModeCopyObject() \n\
	None<Key>d: ModeDeleteObject() \n\
	Shift<Key>d: ModeDeletePoint() \n\
	Ctrl<Key>e: ModeEditObject() \n\
	Shift<Key>e: ModeEllipseD() \n\
	None<Key>e: ModeEllipseR() \n\
	Shift<Key>f: ModeFlipObjectLR() \n\
	None<Key>f: ModeFlipObjectUD() \n\
	None<Key>i: ModeIntSpline() \n\
	None<Key>l: ModeLine() \n\
	None<Key>m: ModeMoveObject() \n\
	Shift<Key>m: ModeMovePoint() \n\
	None<Key>o: ModeOpenCompound() \n\
	None<Key>j: ModeJoinSplit() \n\
	Ctrl<Key>p: ModePIC() \n\
	Shift<Key>l: ModePopupLibrary() \n\
	None<Key>p: ModePoly() \n\
	Shift<Key>p: ModeRegPoly() \n\
	Shift<Key>r: ModeRotateObjectCCW() \n\
	Ctrl<Key>r: ModeRotateObjectCW() \n\
	Ctrl<Key>s: ModeScale() \n\
	None<Key>s: ModeSpline() \n\
	None<Key>t: ModeText() \n\
	None<Key>u: ModeUpdateObject()

! to make the color selection menu in the popup editor work
Fig*color_menu_form*Command.translations: \
	<EnterWindow>:	highlight() \n\
	<LeaveWindow>:	reset() \n\
	<BtnUp>:	set() notify() unset()

! make divider entry in menus have no 3d look so the user knows it
! is not selectable

Fig*menu_divider.font:			7x13
Fig*menu_divider.justify:		center
Fig*menu_divider.topShadowContrast:	0
Fig*menu_divider.bottomShadowContrast:	0