~ubuntu-branches/debian/jessie/xball/jessie

« back to all changes in this revision

Viewing changes to .pc/10-fix-spelling.patch/fallback.h

  • Committer: Bazaar Package Importer
  • Author(s): Jari Aalto, Jari Aalto
  • Date: 2010-05-08 22:50:10 UTC
  • Revision ID: james.westby@ubuntu.com-20100508225010-t485khyxejzdj4r6
Tags: 3.0.1-1.1
[ Jari Aalto ]
* Non-maintainer upload.
  - Move to packaging format "3.0 (quilt)".
* debian/compat
  - Update to 7.
* debian/control
  - (Build-Depends): update obsolete xutils to xutils-dev
    (important; Closes: #578967).
    Update to debhelper 7.1. Add autotools-dev.
  - (Depends): add ${misc:Depends}.
  - (Standards-Version): Update to 3.8.4.
  - (xball::Section): Remove duplicate section.
* debian/patches
  - (Number 10): Fix spelling errors.
* debian/rules
  - (configure-stamp): use newest config.* files.
  - (install): Change dh_clean to dh_prep.
* debian/source/format
 - New file

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* fallback.h generated by gen_fallback from XBall.ad - do not edit! */
 
2
 
 
3
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
 
4
"! XBall.ad - xball resource file",
 
5
"!",
 
6
"! Copyright 1991, David Nedde",
 
7
"!",
 
8
"! Permission to use, copy, modify, and distribute this",
 
9
"! software and its documentation for any purpose and without fee",
 
10
"! is granted provided that the above copyright notice appears in all copies.",
 
11
"! It is provided 'as is' without express or implied warranty.",
 
12
"!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!",
 
13
"",
 
14
"XBall.title: XBall - Written by David Nedde",
 
15
"",
 
16
"XBall*form.horizontalSpacing:   2",
 
17
"XBall*form.verticalSpacing:     2",
 
18
"XBall*form.width:               400",
 
19
"XBall*form.height:              400",
 
20
"XBall.allowShellResize:        True",
 
21
"XBall*resizable:                True",
 
22
"",
 
23
"",
 
24
"!!!!!!!!!!",
 
25
"! Menu Bar",
 
26
"!!!!!!!!!!",
 
27
"",
 
28
"XBall*menuBar.rightAttachment:  ATTACH_FORM",
 
29
"XBall*menuBar.leftAttachment:   ATTACH_FORM",
 
30
"! Athena resources",
 
31
"XBall*menuBar*MenuButton.borderWidth: 0",
 
32
"XBall*menuBar.borderWidth:            1",
 
33
"XBall.formAW*translations: #override        \n\
 
34
        <Key>q: menu_action( quit)        \n\
 
35
        Ctrl<Key>q: menu_action( quit)    \n\
 
36
        Ctrl<Key>c: menu_action( quit)    \n\
 
37
        <Key>c: menu_action( clear)       \n\
 
38
        <Key>r: menu_action( randomize)   \n\
 
39
        <Key>s: menu_action( stepSim)     \n\
 
40
        <Key>p: menu_action( perpetual)   \n\
 
41
        <Key>b: menu_action( ballCollide) \n\
 
42
        <Key>h: menu_action( haltSim)     \n\
 
43
        <Key>l: menu_action( loadBitmap)  \n\
 
44
        <Key>d: menu_action( runDemo)     \n\
 
45
        <Key>a: menu_action( about)       \n\
 
46
",
 
47
"",
 
48
"",
 
49
"! File Submenu",
 
50
"XBall*file.labelString:         File",
 
51
"XBall*file.label:               File",
 
52
"XBall*file.mnemonic:            F",
 
53
"XBall*about.labelString:        About...",
 
54
"XBall*about.label:              About...        A",
 
55
"XBall*about.mnemonic:           A",
 
56
"XBall*about.accelerator:        <Key>A",
 
57
"XBall*about.acceleratorText:    A",
 
58
"XBall*runDemo.labelString:      Run Demo...",
 
59
"XBall*runDemo.label:            Run Demo...     D",
 
60
"XBall*runDemo.mnemonic:             D",
 
61
"XBall*runDemo.accelerator:      <Key>D",
 
62
"XBall*runDemo.acceleratorText:  D",
 
63
"XBall*loadBitmap.labelString:   Load Bitmap...",
 
64
"XBall*loadBitmap.label:         Load Bitmap...  L",
 
65
"XBall*loadBitmap.mnemonic:      L",
 
66
"XBall*loadBitmap.accelerator:   <Key>L",
 
67
"XBall*loadBitmap.acceleratorText: L",
 
68
"XBall*quit.labelString:         Quit",
 
69
"XBall*quit.label:               Quit            Q",
 
70
"XBall*quit.mnemonic:            Q",
 
71
"XBall*quit.accelerator:         <Key>Q",
 
72
"XBall*quit.acceleratorText:     Q",
 
73
"",
 
74
"! Action Submenu",
 
75
"XBall*actions.labelString:      Actions",
 
76
"XBall*actions.label:            Actions",
 
77
"XBall*actions.mnemonic:         A",
 
78
"XBall*clear.labelString:        Clear",
 
79
"XBall*clear.label:              Clear            C",
 
80
"XBall*clear.mnemonic:           C",
 
81
"XBall*clear.acceleratorText:    C",
 
82
"XBall*clear.accelerator:        <Key>C",
 
83
"XBall*randomize.labelString:    Randomize",
 
84
"XBall*randomize.label:          Randomize        R",
 
85
"XBall*randomize.mnemonic:       R",
 
86
"XBall*randomize.acceleratorText:R",
 
87
"XBall*randomize.accelerator:    <Key>R",
 
88
"XBall*stopDemo.labelString:     Stop Demo",
 
89
"XBall*stopDemo.label:           Stop Demo",
 
90
"XBall*stepSim.labelString:      Step Simulation",
 
91
"XBall*stepSim.label:            Step Simulation  S",
 
92
"XBall*stepSim.mnemonic:         S",
 
93
"XBall*stepSim.acceleratorText:  S",
 
94
"XBall*stepSim.accelerator:      <Key>S",
 
95
"",
 
96
"! Options Submenu",
 
97
"XBall*options.labelString:              Options",
 
98
"XBall*options.label:                    Options",
 
99
"XBall*options.mnemonic:                 O",
 
100
"XBall*perpetual.labelString:            Perpetual",
 
101
"XBall*perpetual.label:                  Perpetual        P",
 
102
"XBall*perpetual.mnemonic:               P",
 
103
"XBall*perpetual.acceleratorText:        P",
 
104
"XBall*perpetual.accelerator:            <Key>P",
 
105
"XBall*ballCollide.labelString:          Ball Collide",
 
106
"XBall*ballCollide.label:                Ball Collide     B",
 
107
"XBall*ballCollide.mnemonic:             B",
 
108
"XBall*ballCollide.acceleratorText:      B",
 
109
"XBall*ballCollide.accelerator:          <Key>B",
 
110
"XBall*haltSim.labelString:              Halt Simulation",
 
111
"XBall*haltSim.label:                    Halt Simulation  H",
 
112
"XBall*haltSim.mnemonic:                 H",
 
113
"XBall*haltSim.acceleratorText:          H",
 
114
"XBall*haltSim.accelerator:              <Key>H",
 
115
"",
 
116
"! Help Submenu",
 
117
"XBall*help.labelString:         Help",
 
118
"XBall*help.label:               Help",
 
119
"XBall*help.mnemonic:            H",
 
120
"XBall*onAuthor.labelString:     On Author...",
 
121
"XBall*onAuthor.label:           On Author...",
 
122
"XBall*onMenus.labelString:      On Menus...",
 
123
"XBall*onMenus.label:            On Menus...",
 
124
"XBall*onScroll.labelString:     On Scrollbars...",
 
125
"XBall*onScroll.label:           On Scrollbars...",
 
126
"XBall*onButtons.labelString:    On Buttons...",
 
127
"XBall*onButtons.label:          On Buttons...",
 
128
"XBall*onDemos.labelString:      On Demos...",
 
129
"XBall*onDemos.label:            On Demos...",
 
130
"XBall*onParams.labelString:     On Parameters...",
 
131
"XBall*onParams.label:           On Parameters...",
 
132
"",
 
133
"",
 
134
"XBall*elasticityBar.topAttachment:      ATTACH_WIDGET",
 
135
"XBall*elasticityBar.topWidget:          menuBar",
 
136
"XBall*elasticityBar.leftAttachment:     ATTACH_FORM",
 
137
"",
 
138
"XBall*elasticityBar.label.labelString:          Elasticity",
 
139
"XBall*elasticityBar.label.leftAttachment:       ATTACH_FORM",
 
140
"XBall*elasticityBar.label.leftOffset:           10",
 
141
"XBall*elasticityBar.label.topAttachment:        ATTACH_FORM",
 
142
"XBall*elasticityBar.label.bottomAttachment:     ATTACH_FORM",
 
143
"! Athena resources",
 
144
"XBall*elasticityBar.fromVert:                   menuBar",
 
145
"XBall*elasticityBar.label.label:                Elasticity",
 
146
"XBall*elasticityBar.label.borderWidth:          0",
 
147
"",
 
148
"XBall*elasticityBar.bar.width:          100",
 
149
"XBall*elasticityBar.bar.orientation:    HORIZONTAL",
 
150
"XBall*elasticityBar.bar.maximum:        100",
 
151
"XBall*elasticityBar.bar.minimum:        0",
 
152
"XBall*elasticityBar.bar.showValue:      True",
 
153
"! Athena resources",
 
154
"XBall*elasticityBar.bar.shown:          0.1",
 
155
"XBall*elasticityBar.borderWidth:        0",
 
156
"XBall*elasticityBar.label.borderWidth:  0",
 
157
"XBall*elasticityBar.feedback.borderWidth: 0",
 
158
"XBall*elasticityBar.defaultDistance:    0",
 
159
"",
 
160
"",
 
161
"",
 
162
"XBall*gravityBar.label.labelString:      Gravity",
 
163
"XBall*gravityBar.label.leftAttachment:   ATTACH_FORM",
 
164
"XBall*gravityBar.label.topAttachment:    ATTACH_FORM",
 
165
"XBall*gravityBar.label.bottomAttachment: ATTACH_FORM",
 
166
"! Athena resources",
 
167
"XBall*gravityBar.label.label:           Gravity",
 
168
"XBall*gravityBar.label.borderWidth:     0",
 
169
"",
 
170
"XBall*gravityBar.leftAttachment:        ATTACH_WIDGET",
 
171
"XBall*gravityBar.leftWidget:            elasticityBar",
 
172
"XBall*gravityBar.leftOffset:            20",
 
173
"XBall*gravityBar.topAttachment:         ATTACH_WIDGET",
 
174
"XBall*gravityBar.topWidget:             menuBar",
 
175
"XBall*gravityBar.bar.width:             100",
 
176
"XBall*gravityBar.bar.orientation:       HORIZONTAL",
 
177
"XBall*gravityBar.bar.maximum:           100",
 
178
"XBall*gravityBar.bar.minimum:           0",
 
179
"XBall*gravityBar.bar.showValue:         True",
 
180
"! Athena resources",
 
181
"XBall*gravityBar.fromVert:              menuBar",
 
182
"XBall*gravityBar.horizDistance:         20",
 
183
"XBall*gravityBar.fromHoriz:             elasticityBar",
 
184
"XBall*gravityBar.bar.shown:             0.1",
 
185
"XBall*gravityBar.borderWidth:           0",
 
186
"XBall*gravityBar.label.borderWidth:     0",
 
187
"XBall*gravityBar.feedback.borderWidth:  0",
 
188
"XBall*gravityBar.defaultDistance:       0",
 
189
"",
 
190
"XBall*canvas.resizable:                 True",
 
191
"XBall*canvas.borderWidth:               1",
 
192
"XBall*canvas.topAttachment:             ATTACH_WIDGET",
 
193
"XBall*canvas.topWidget:                 gravityBar",
 
194
"XBall*canvas.bottomAttachment:          ATTACH_FORM",
 
195
"XBall*canvas.rightAttachment:           ATTACH_FORM",
 
196
"XBall*canvas.leftAttachment:            ATTACH_FORM",
 
197
"! Athena resources",
 
198
"XBall*canvas.fromVert:                  gravityBar",
 
199
"XBall*canvas.width:                     400",
 
200
"XBall*canvas.height:                    330",
 
201
"",
 
202
"",
 
203
"XBall*help_dialog_popup.title:                      XBall Information",
 
204
"XBall*help_dialog_action_area.leftAttachment:       ATTACH_FORM",
 
205
"XBall*help_dialog_action_area.rightAttachment:      ATTACH_FORM",
 
206
"XBall*help_dialog_action_area.bottomAttachment:     ATTACH_FORM",
 
207
"XBall*help_dialog_action_area.close.labelString:    Close",
 
208
"XBall*help_dialog.close.label:                      Close",
 
209
"XBall*help_dialog.separator.rightAttachment:        ATTACH_FORM",
 
210
"XBall*help_dialog.separator.leftAttachment:         ATTACH_FORM",
 
211
"XBall*help_dialog.separator.topOffset:              5",
 
212
"XBall*help_dialog.separator.bottomAttachment:       ATTACH_WIDGET",
 
213
"XBall*help_dialog.separator.bottomWidget:           help_dialog_action_area",
 
214
"XBall*help_dialog*help_text.rows:                   12",
 
215
"XBall*help_dialog*help_text.columns:                60",
 
216
"! Athena Resources",
 
217
"XBall*help_dialog*help_textAW.displayCaret:         False",
 
218
"XBall*help_dialog*help_textAW.height:               150",
 
219
"XBall*help_dialog*help_textAW.width:                470",
 
220
"XBall*help_dialog*help_textAW.scrollHorizontal:     WhenNeeded",
 
221
"XBall*help_dialog*help_textAW.scrollVertical:       WhenNeeded",
 
222
"",
 
223
"XBall*help_dialog*close.accelerators: \
 
224
        <KeyPress>Escape: set() notify() unset() \n\
 
225
        <KeyPress>Return: set() notify() unset() \n\
 
226
",
 
227
"",
 
228
"",
 
229
"",
 
230
"!!!!!!!!!!!",
 
231
"! Help text",
 
232
"!!!!!!!!!!!",
 
233
"!",
 
234
"! Note that since fallback resources cannot handle \n in the text,",
 
235
"! a ~ is used to indicate a newline.",
 
236
"!",
 
237
"!!!!!!!!!!",
 
238
"",
 
239
"XBall.pointerHelp: \
 
240
                   MOUSE BUTTON USAGE ~~~\
 
241
Button 1: o Hold down to create a ball. ~\
 
242
          o Throw the ball by moving the mouse and ~\
 
243
            letting go of button 1. ~\
 
244
          o The ball will be going the speed of the ~\
 
245
            pointer at release time. ~\
 
246
Button 2: o Hold down and move the mouse to create ~\
 
247
            random velocity balls. ~\
 
248
Button 3: o Hold down and move the mouse to create ~\
 
249
            zero velocity balls. \
 
250
",
 
251
"",
 
252
"XBall.menuHelp: \
 
253
                   PULLDOWN MENU USAGE~~~\
 
254
File~\
 
255
  About...        A description of the program and author~\
 
256
  Run Demo...     Allows you to execute XBall demo files~\
 
257
                  See 'Help On Demos' for demo file format~\
 
258
  Load Bitmap...  Load an X bitmap as a set of balls~\
 
259
                  Analogous Demo command: ~\
 
260
                    bitmap filename posx,posy~\
 
261
  Quit            Exits the program~~\
 
262
Actions~\
 
263
  Clear           Clear the screen of balls~\
 
264
                  Analogous Demo command: clear~\
 
265
  Randomize       Give each ball a random velocity~\
 
266
                  Analogous Demo command: ~\
 
267
                    randomize minx,maxx,miny,maxy~\
 
268
  Stop Demo       Stops the execution of a demo in progress~\
 
269
                  Enabled by the Run Demo... menu option~\
 
270
                  Analogous Demo command: stop~\
 
271
  Step Simulation Perform one step of the Halted simulation~\
 
272
                  Enabled by the Halt Simulation menu option~~\
 
273
Options~\
 
274
  Perpetual       If toggled on, balls will live forever~\
 
275
                  Analogous Demo command: perpetual on|off~\
 
276
                  Command line option: -perpetual True|False~\
 
277
  Ball Collide    If on, balls will collide with one another~\
 
278
                  Analogous Demo command: collide on|off~\
 
279
                  Command line option: -collide True|False~~\
 
280
  Help Simulation Stop the simulation.  You can then step the~\
 
281
                  simulation using Step Simulation menu option~~\
 
282
Help~\
 
283
  On Menus      Help using the menu system~\
 
284
  On Scrollbars Help on the Elasticity and Gravity bars~\
 
285
  On Buttons    Help on using the mouse buttons to create balls~\
 
286
  On Demos      Help on the Demo language and how to run demos~\
 
287
  On Parameters Help with command-line arguments to xball \
 
288
",
 
289
"",
 
290
"",
 
291
"XBall.scrollbarHelp: \
 
292
                      SCROLLBAR USAGE~~~\
 
293
Elasticity~\
 
294
  o This scrollbar controls the balls' elasticity, or how~\
 
295
    much energy is lost each time the balls hit the ground.~\
 
296
  o Scrollbar to left:  low elasticity (eggs)~\
 
297
  o Scrollbar to right: high elasticity (superballs)~\
 
298
  o Demo command: elasticity %d~\
 
299
  o Command line options: -elasticity %d~~~\
 
300
Gravity~\
 
301
  o This scrollbar controls the gravity, or how~\
 
302
    much vertical velocity is added (subtracted)~\
 
303
    from the balls for each iteration.~\
 
304
  o Scrollbar to the left:  Zero gravity (outer space)~\
 
305
  o Scrollbar to the right: Large gravity (Jupiter)~\
 
306
  o Demo command: gravity %d~\
 
307
  o Command line options: -gravity %d \
 
308
",
 
309
"",
 
310
"",
 
311
"XBall.demoHelp: \
 
312
                     DEMO FILE COMMANDS~~\
 
313
  %s1, %s2... - Replace with a string~\
 
314
  %d1, %d2... - Replace with an integer~~\
 
315
  create %d1,%d2,%d3,%d4: Create a ball with x,y position~\
 
316
                          %d1,%d2 and an x & y velocity~\
 
317
                          of %d2,%d4~\
 
318
  randomize %d1,%d2,%d3,%d4: randomize velocities of all ~\
 
319
                balls on screen with:~\
 
320
                a max negative x velocity of %d1,~\
 
321
                a max positive x velocity of %d2,~\
 
322
                a max negative y velocity of %d3,~\
 
323
                a max positive y velocity of %d4,~\
 
324
  load_bitmap %s %d1,%d2: load a bitmap file (where %s is~\
 
325
                         the file path) to an x,y position~\
 
326
                         of %d1,%d2 on the screen~\
 
327
  set_velocity %s %d1,%d2: set ball velocities (%s is~\
 
328
                         relative or absolute) to the x ~\
 
329
                         and y velocities %d1,%d2~\
 
330
  gravity %d: set gravity to %d~\
 
331
  elasticity %d: set elasticity to %d~\
 
332
  backwards %d: Run simulation backwards %d iterations~\
 
333
  visible %s: Make ball display 'on' or 'off'~\
 
334
  iterate %d: simulate for %d iterations~\
 
335
  sleep %d: sleep for %d seconds~\
 
336
  perpetual %s: toggle perpetual (%s is 'on' or 'off')~\
 
337
  collide %s: toggle ball collision (%s is 'on' or 'off')~\
 
338
  window_width %d: Change window width to %d~\
 
339
  window_height %d: Change window height to %d~\
 
340
  backwards %d: Iterate backwards %d steps~\
 
341
  clear: delete all balls in window~\
 
342
  create_random %d1,%d2: create %d1 random balls with a ~\
 
343
                         max velocity of %d2~\
 
344
  exit or quit: quit the xball program if demo is not~\
 
345
                interactive~\
 
346
  stop: stop demo but leave program alive \
 
347
",
 
348
"",
 
349
"XBall.startupHelp: \
 
350
                PROGRAM STARTUP PARAMETERS~~~\
 
351
 Run xball -help for a list of command-line startup~\
 
352
",
 
353
" parameters",
 
354
"",
 
355
"XBall.aboutString: \
 
356
XBall Version 3.0.1~~\
 
357
  April 1993~~\
 
358
The Premire Ball Bouncing Software~~\
 
359
  Allows you to throw 3-D balls around in a 2-D space.~~\
 
360
Author (Send bugs, comments, and interesting demos to):~\
 
361
  David Nedde~\
 
362
  daven@ivy.wpi.edu~\
 
363
  Computer Science Department~\
 
364
  Worcester Polytechnic Institute~\
 
365
  Worcester, MA 01609~~\
 
366
Copyright 1990, 1993 David Nedde~\
 
367
Permission to use, copy, modify, and distribute this~\
 
368
software and its documentation for any purpose and~\
 
369
without fee is granted provided that the above~\
 
370
copyright notice appears in all copies.  It is~\
 
371
provided \"as is\" without express or implied warranty. \
 
372
",
 
373
"",
 
374
"",
 
375
"!!!!!!!!!!!!!!!!!",
 
376
"! Menu Definition",
 
377
"!!!!!!!!!!!!!!!!!",
 
378
"!",
 
379
"! Format:",
 
380
"!   pulldownName~",
 
381
"!     widgetName,widgetClass,menuCallbackName,optionalParams...~",
 
382
"!",
 
383
"! The widgetName is referenced above to set the menu's label.",
 
384
"!",
 
385
"! Note that the pulldownName of 'help' is automatically used as the help ",
 
386
"! pulldown.",
 
387
"!",
 
388
"! Avaliable WidgetClasses are:",
 
389
"!   PushButton   - push it and cause the action",
 
390
"!   ToggleButton - Push it and toggle the state",
 
391
"!   Separator    - A line in the menu",
 
392
"!",
 
393
"! Avaliable menuCallbackNames avaliable (none take optional parameters):",
 
394
"!   runDemo       - Lets user select a demo and run the demo",
 
395
"!   loadBitmap    - Lets user load a bitmap file",
 
396
"!   quit          - quits xball program",
 
397
"!   clear         - Clear all balls from the screen",
 
398
"!   randomize     - Randomize all balls from the screen",
 
399
"!   stopDemo      - Stop a demo in progress",
 
400
"!   stepSim       - Steps the simulation once (if simulation halted)",
 
401
"!   perpetual     - Toggles perpetual balls state",
 
402
"!   ballCollide   - Toggles colliding ball state",
 
403
"!   haltSim       - Toggles halting the simulation",
 
404
"!   about         - Displays help about the program",
 
405
"!   onMenus       - Displays help on the menus",
 
406
"!   onScroll      - Displays help on setting elasticity and gravity",
 
407
"!   onButtons     - Displays help on using the mouse buttons to create balls",
 
408
"!   onDemos       - Displays help on writing a demo",
 
409
"!   onParams      - Displays help on command-line arguments",
 
410
"!",
 
411
"!!!!!!!!!!!!!!!!!",
 
412
"",
 
413
"XBall.menuDef: \
 
414
\
 
415
    file~\
 
416
    about,PushButton,about~\
 
417
    runDemo,PushButton,runDemo~\
 
418
    loadBitmap,PushButton,loadBitmap~\
 
419
    separator,Separator~\
 
420
    quit,PushButton,quit~\
 
421
    actions~\
 
422
    clear,PushButton,clear~\
 
423
    randomize,PushButton,randomize~\
 
424
    stopDemo,PushButton,stopDemo~\
 
425
    stepSim,PushButton,stepSim~\
 
426
    options~\
 
427
    perpetual,ToggleButton,perpetual~\
 
428
    ballCollide,ToggleButton,ballCollide~\
 
429
    haltSim,ToggleButton,haltSim~\
 
430
    help~\
 
431
    about,PushButton,about~\
 
432
    onMenus,PushButton,onMenus~\
 
433
    onScroll,PushButton,onScroll~\
 
434
    onButtons,PushButton,onButtons~\
 
435
    onDemos,PushButton,onDemos~\
 
436
    onParams,PushButton,onParams~\
 
437
",
 
438
"",
 
439
NULL