ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/crossedit/Crossedit.ad
Revision: 1.2
Committed: Sun Aug 13 17:16:01 2006 UTC (17 years, 9 months ago) by elmex
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Log Message:
Made server compile with C++.
Removed cfanim plugin and crossedit.
C++ here we come.

File Contents

# User Rev Content
1 root 1.1 !
2     ! Crossedit.ad - Xt-resource definition to CrossEdit
3     ! Copyright (C) 1993 Petri Heinila and Jarkko Sonninen
4     !
5     ! This program is free software; you can redistribute it and/or modify
6     ! it under the terms of the GNU General Public License as published by
7     ! the Free Software Foundation; either version 2 of the License, or
8     ! any later version.
9     !
10     ! This program is distributed in the hope that it will be useful,
11     ! but WITHOUT ANY WARRANTY; without even the implied warranty of
12     ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13     ! GNU General Public License for more details.
14     !
15     ! You should have received a copy of the GNU General Public License
16     ! along with this program; if not, write to the Free Software
17     ! Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18     !
19     ! Authors can be connected by email from hevi@lut.fi and sonninen@lut.fi
20     !
21     ! state: wait for cleaning
22     ! style: challenges to resource type, instead objects
23     !
24     ! Contents:
25     ! 1. user config resources
26     ! - best place to these user own resouces is users own ~/.Xdefault-
27     ! file.
28     ! 2. general resources
29     ! 3. object resources
30     !
31     ! Notify:
32     ! - do no run this file by "xrdb -load"
33     !
34    
35     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
36     !! user config resources
37     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
38    
39     !!! the default size in fonts to new map
40     *mapWidth: 15
41     *mapHeight: 15
42    
43     !!! the real name of map designer
44     !!! - this appears in map info
45     *creator: Gnat the Gnu
46    
47     !!! the internet address of map designer
48     !!! - this appears in map info
49     *email: gnu@foo.bar
50    
51     !!! command to run crossfire from menubar: File->CrossFire
52     !!! - via /bin/sh <cmd>
53     *cmdCrossfire: crossfire -pix
54    
55     !!! command to run map resetting function from: File->Reset
56     !!! - dm passwd have to be set same in here and in crossfire
57     !!! - via /bin/sh <cmd>
58     !!! - "'" by quoting preferable
59     *cmdReset: crossclient -cmd 'dm dm;reset %s'
60    
61     !!! command to move dm to this map in crossfire
62     !!! - not implement yet
63     !!! - dm passwd have to be set same in here and in crossfire
64     !!! - via /bin/sh <cmd>
65     !!! - "'" by quoting preferable
66     *cmdGoto: crossclient -cmd 'dm dm;goto %s'
67    
68     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
69     !! general resources
70     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
71    
72     !!! font !!!
73     Crossedit*font: -*-helvetica-bold-r-*-*-12-*-*-*-*-*-*-*
74     Crossedit*Text*font: *-lucidatypewriter-medium-r-normal-*-12-*-*-*-*-*-*-*
75    
76     !!! names !!!
77     *title: CrossEdit
78     *iconName: CrossEdit
79     *new.label: New
80     *open.label: Open
81     *crossfire.label: CrossFire
82     *quit.label: Quit
83     *refresh.label: Refresh
84     *cancel.label: Cancel
85     *apply.label: Apply
86     *ok.label: OK
87     *mapFileButton.label: File
88     *mapEditButton.label: Edit
89     *mapOptionButton.label: Options
90     *editButton.label: Edit
91     *fileButton.label: File
92     *infoButton.label: Info
93     *archButton.label: Arch
94     *pickButton.label: Pick
95     *wallButton.label: Walls
96     *save.label: Save
97     *saveAs.label: Save as
98     *load.label: Load
99     *reload.label: Reload
100     *clear.label: Clear
101     *enter.label: Enter
102     *reset.label: Reset
103     *close.label: Close
104     *readOnly.label: Read only
105     *overWrite.label: Overwrite
106     *autoChoose.label: Choose
107     *sparse.label: Stacking
108     *weakWalls.label: Weak Walls
109     *attributes.label: Attributes
110     *cut.label: Cut
111     *copy.label: Copy
112     *paste.label: Paste
113     *fill.label: Fill
114     *fillbelow.label: Fill Below
115     *wipe.label: Wipe
116     *wipebelow.label: Wipe Below
117     *box.label: Box
118     *vars.label: Variable
119     *exact.label: Dump
120    
121     !!! color !!!
122     !!! - do not set colors otherwhere
123     Crossedit*background: DarkSeaGreen
124     Crossedit*foreground: Black
125     Crossedit*SimpleMenu*background:ForestGreen
126     Crossedit*SimpleMenu*foreground:White
127     Crossedit*Command*background: ForestGreen
128     Crossedit*Command*foreground: White
129     Crossedit*Toggle*background: ForestGreen
130     Crossedit*Toggle*foreground: White
131     Crossedit*MenuButton*background:ForestGreen
132     Crossedit*MenuButton*foreground:White
133     Crossedit*Label*background: ForestGreen
134     Crossedit*Label*foreground: White
135     Crossedit*CrEdit*background: gray60
136     Crossedit*CrList*background: DarkSeaGreen
137     Crossedit*CrFace*background: DarkSeaGreen
138    
139     !!! common dimensions !!!
140     !!! - box is common tool-object
141     *box.min: 28
142     *box.max: 28
143     *SimpleMenu*HorizontalMargins: 16
144    
145     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
146     !! object resources
147     !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
148    
149     !!! Crossedit !!!
150     *view.allowVert: True
151     *view.forceBars: True
152     *view.width: 140
153     *info.width: 140
154     *view.height: 72
155     *arch.allowVert: True
156     *arch.forceBars: True
157     *arch.height: 300
158     *item.width: 140
159     *item.height: 48
160     *item.max: 84
161     *item.min: 84
162     *item.name.width: 136
163     *item.name.label: NotSelected
164     *item.face.width: 136
165     *pane.info.showGrip: false
166     *pane.box.showGrip: false
167     *pane.arch.showGrip: false
168    
169     !!! Edit:: !!!
170     *edit*allowResize: True
171     *edit*allowShellResize: False
172     *edit*view.allowHoriz: True
173     *edit*view.allowVert: True
174     *edit*vbox.orientation: vertical
175     *edit*hbox.orientation: horizontal
176     *edit*view.forceBars: True
177     *edit*view.horizontal.translations: #override \
178     <Key>Right : StartScroll(Forward) NotifyScroll(Proportional) EndScroll() \n\
179     <Key>Left: StartScroll(Backward) NotifyScroll(Proportional) EndScroll() \n
180     *edit*view.vertical.translations: #override \
181     <Key>Down: StartScroll(Forward) NotifyScroll(Proportional) EndScroll() \n\
182     <Key>Up: StartScroll(Backward) NotifyScroll(Proportional) EndScroll() \n
183    
184     !!! Attr !!!
185     *attr*name.width: 300
186     *attr*name.translations: #override \
187     <Key>Return: beginning-of-line()\n
188     *attr*Box.borderWidth: 0
189     *attr*view.width: 300
190     *attr*view.height: 100
191     *attr*view*label.width: 60
192     *attr*view*value.width: 208
193     *attr*view*value.translations: #override \
194     <Key>Return: beginning-of-line()\n
195     *attr*view*toggle.width: 90
196     *attr*view*Box.hSpace: 3
197     *attr*view*Box.vSpace: 1
198     *attr*face.width: 96
199     *attr*face.height: 48
200     *attr*msg.width: 300
201     *attr*msg.height: 76
202     *attr*msg.autoFill: True
203     *attr*msg.scrollVertical: always
204     *attr*inventory.width: 198
205     *attr*inventory.height: 72
206     *attr*inventory.allowVert: True
207     *attr*inventory.forceBars: True
208     *attr*exact.width: 96
209     *attr*vars.width: 60
210     *attr*var.width: 234
211     *attr*var.translations: #override \
212     <Key>Return: beginning-of-line()\n
213     *attr*value.width: 136
214     *attr*ok.width: 96
215     *attr*apply.width: 96
216     *attr*cancel.width: 96
217    
218     !!! Mapattr !!!
219     *mapattr*name.width: 300
220     *mapattr*name.translations: #override \
221     <Key>Return: beginning-of-line()\n
222     *mapattr*Box.borderWidth: 0
223     *mapattr*view.width: 300
224     *mapattr*view.height: 220
225     *mapattr*view*label.width: 100
226     *mapattr*view*value.width: 168
227     *mapattr*view*value.translations: #override \
228     <Key>Return: beginning-of-line()\n
229     *mapattr*view*Box.hSpace: 3
230     *mapattr*view*Box.vSpace: 1
231     *mapattr*msg.width: 300
232     *mapattr*msg.height: 76
233     *mapattr*msg.autoFill: True
234     *mapattr*msg.scrollVertical: always
235     *mapattr*ok.width: 96
236     *mapattr*apply.width: 96
237     *mapattr*cancel.width: 96
238    
239     !!! Ducumentation - infoFile !!!
240     *infoFile.title: Documentation
241     *infoFile*text.width: 600
242     *infoFile*text.height: 330
243     *infoFile*cancel.width: 100
244     *infoFile*cancel.label: Dismiss
245     *infoFile*file.width: 290
246     *infoFile*Paned.showGrip: False
247     *infoFile*text.scrollHorizontal:whenNeeded
248     *infoFile*text.scrollVertical: always
249     *infoFile*Text.width: 450
250     *infoFile*Text.height: 300
251     *infoFile*Text.scrollHorizontal:never
252     *infoFile*Text.scrollVertical: always
253    
254     !!! file select !!!
255     *fileSelect.title: File Select
256     *fileSelect*Viewport.allowVert: True
257     *fileSelect*Viewport.forceBars: True
258     *fileSelect*dirList.defaultColumns: 1
259     *fileSelect*dirList.forceColumns: True
260     *fileSelect*dirView.width: 100
261     *fileSelect*dirView.height: 250
262     *fileSelect*fileList.defaultColumns: 3
263     *fileSelect*fileList.forceColumns: False
264     *fileSelect*fileList.Longest: 100
265     *fileSelect*fileList.translations: #override \
266     <Btn1Down>: Set() Notify() \n\
267     <Btn1Up>(2): Set() Notify() PathReturn() \n
268     *fileSelect*fileView.width: 300
269     *fileSelect*fileView.height: 250
270     *fileSelect*cwd.width: 300
271     *fileSelect*cwd.resize: False
272     *fileSelect*cwd.justify: left
273     *fileSelect*cancel.width: 100
274     *fileSelect*ok.width: 300
275     *fileSelect*text.width: 100
276     *fileSelect.height: 400
277     *fileSelect*text.translations: #override \
278     <Key>Tab: Nop() \n\
279     <Key>Return: PathReturn() \n
280    
281     !!! Attr->dump !!!
282     *dump.title: Object Dump
283     *dump*text.width: 150
284     *dump*text.height: 400
285     *dump*text.scrollHorizontal: newer
286     *dump*text.scrollVertical: always
287     *dump*cancel.width: 150
288     *dump*cancel.label: Dismiss
289    
290     !!! Attr->vars !!!
291     *vars.title: Select variable
292     *vars*view.width: 300
293     *vars*view.height: 250
294     *vars*view.allowVert: True
295     *vars*view.forceBars: True
296     *vars*cancel.width: 300
297    
298     !!! end of resources !!!
299    
300