1 | ! |
---|
2 | ! Some generally used resources... |
---|
3 | ! |
---|
4 | *borderWidth: 1 |
---|
5 | *Button.borderWidth: 0 |
---|
6 | |
---|
7 | *timer.padding: 10 |
---|
8 | *timer.Center: True |
---|
9 | *timer.font: -adobe-new century schoolbook-*-*-*-*-*-350-*-*-*-*-*-* |
---|
10 | *timer.format: %02m:%02s |
---|
11 | *timerForm*form: timer: 0 0 100 100 |
---|
12 | *timerWindow.defGeometry: 150x50+0-0 |
---|
13 | !*timerWindow.title: xclock |
---|
14 | *timerWindow.deleteProc: deleteParent() |
---|
15 | |
---|
16 | *snooper.eventProc: event() |
---|
17 | |
---|
18 | ! Turn off overrideRedirect at your peril. |
---|
19 | *timerWindow.overrideRedirect: true |
---|
20 | |
---|
21 | ! |
---|
22 | ! Global bugging configuration |
---|
23 | ! |
---|
24 | *tree: \ |
---|
25 | { \ |
---|
26 | Window bugWindow; \ |
---|
27 | { \ |
---|
28 | Form bugForm; \ |
---|
29 | { \ |
---|
30 | Label question; \ |
---|
31 | Window bugOK; { Button bugOK; { Label yes; } } \ |
---|
32 | } \ |
---|
33 | } \ |
---|
34 | } |
---|
35 | |
---|
36 | *bugForm*form: bugOK: 45 - 55 95 \ |
---|
37 | question: 0 20 100 - |
---|
38 | *bugForm.padding: 2 |
---|
39 | |
---|
40 | *bugWindow.geometry: 450x150+415+326 |
---|
41 | *bugWindow.title: QuickStation |
---|
42 | *bugWindow*window.rootTransient: True |
---|
43 | *bugWindow*question.font: *-times-medium-i-*--24-* |
---|
44 | *bugWindow*question.Center: True |
---|
45 | *bugWindow*Label.font: *-times-medium-r-*--18-* |
---|
46 | *bugOK*yes.label: OK |
---|
47 | *bugOK.activateProc: deleteAncestor(3) |
---|
48 | |
---|
49 | ! |
---|
50 | ! Specific bugging instances |
---|
51 | ! |
---|
52 | *bugnames: first second third nth |
---|
53 | |
---|
54 | *first*question.label: You have two more minutes. |
---|
55 | *first*timeout: 480 |
---|
56 | |
---|
57 | *second*question.label: You have one minute left. |
---|
58 | *second*timeout: 540 |
---|
59 | |
---|
60 | *third*question.label: Please logout now. |
---|
61 | *third*timeout: 600 |
---|
62 | |
---|
63 | *nth*question.label: You should logout immediately. |
---|
64 | *nth*timeout: 660 30 |
---|
65 | |
---|
66 | ! ***************************** WARNING ************************************* |
---|
67 | ! The Console program and Dash contain a color converter which is NON-STANDARD. |
---|
68 | ! The syntax for the following resources should not be used when specifying |
---|
69 | ! resources for other programs, as it will generate a warning from that |
---|
70 | ! program. |
---|
71 | ! |
---|
72 | ! Also, the color converter does not deal with the "reverseVideo" resource, |
---|
73 | ! for reasons too complicated to explain here. |
---|
74 | ! |
---|
75 | ! Having said all that... when writing a color spec, you can use up to three |
---|
76 | ! comma-separated colors, which are applied as follows: |
---|
77 | ! - if three colors are given, they specify the color to use on mono, |
---|
78 | ! grayscale and color monitors, respectively. |
---|
79 | ! - if only two colors are given, the first is used for both mono and |
---|
80 | ! grayscale, and the second is for color. |
---|
81 | ! - if only one color is given, it is used for all three visual classes. |
---|
82 | ! |
---|
83 | |
---|
84 | *foreground: black |
---|
85 | *background: white |
---|