Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/Examples/!Redraw2/!Help

!AWJan95/Goodies/Event/Examples/!Redraw2/!Help

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95
Filename: !AWJan95/Goodies/Event/Examples/!Redraw2/!Help
Read OK:
File size: 085B bytes
Load address: 0000
Exec address: 0000
File contents
Help for Redraw2
------------------------------------------------------------------

This program is intended as a demonstration of what is possible
using the EvntShell library, and shows you how to draw a
complicated pattern into a sprite and how to handle the redrawing.
It also demonstrates plotting a scaled sprite.

How To Use
------------------------------------------------------------------

Simply click SELECT on the icon bar icon to open the main window.
Note how moving other windows over this one causes the Redraw2
window to be redrawn correctly.


Conditions of Use
------------------------------------------------------------------

This application is SHAREWARE and is part of the EvntShell library
system. This means that if you make use of EvntShell to write your
own programs you are expected to register your copy which costs
�5.00 or 15Dm.

I do not give any guarantee that it is free of bugs, or supply any
warranty about its suitability for use. However  if there are any
problems with it and you notify me of  them then I will do my best
to rectify them given the time  and the ability. 

You are may give this application to anyone, via any  medium, so
long as :- 

1) It is delivered with ALL the supplied files and 
   unaltered (except !Run and !Boot). 

2) It is not supplied on a disc you are charging for 
   (except for media and postage costs). 

You have permission to use any part or the whole  application in
any ShareWare/Public Domain project, ONCE YOU HAVE REGISTERED YOUR
COPY, as long as I am fully credited (a sample of the note I would
like included with all applications using EvntShell can be found
in the ShellSys directory called 'HelpText').

If you wish to use these routines in a program that is for sale
(for however much and for whatever reasons) or released as
copyright material then my express permission in writing must be
obtained. I maintain copyright on all the material supplied and
reserve the right to amend these conditions in cases where I deem
misuse.

Complaints, suggestions, registration fees etc to the author:- 

Paul Hobbs
Rheinpfalzstrasse 2
85049 Ingolstadt
Germany
00000000  48 65 6c 70 20 66 6f 72  20 52 65 64 72 61 77 32  |Help for Redraw2|
00000010  0a 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |.---------------|
00000020  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000050  2d 2d 2d 0a 0a 54 68 69  73 20 70 72 6f 67 72 61  |---..This progra|
00000060  6d 20 69 73 20 69 6e 74  65 6e 64 65 64 20 61 73  |m is intended as|
00000070  20 61 20 64 65 6d 6f 6e  73 74 72 61 74 69 6f 6e  | a demonstration|
00000080  20 6f 66 20 77 68 61 74  20 69 73 20 70 6f 73 73  | of what is poss|
00000090  69 62 6c 65 0a 75 73 69  6e 67 20 74 68 65 20 45  |ible.using the E|
000000a0  76 6e 74 53 68 65 6c 6c  20 6c 69 62 72 61 72 79  |vntShell library|
000000b0  2c 20 61 6e 64 20 73 68  6f 77 73 20 79 6f 75 20  |, and shows you |
000000c0  68 6f 77 20 74 6f 20 64  72 61 77 20 61 0a 63 6f  |how to draw a.co|
000000d0  6d 70 6c 69 63 61 74 65  64 20 70 61 74 74 65 72  |mplicated patter|
000000e0  6e 20 69 6e 74 6f 20 61  20 73 70 72 69 74 65 20  |n into a sprite |
000000f0  61 6e 64 20 68 6f 77 20  74 6f 20 68 61 6e 64 6c  |and how to handl|
00000100  65 20 74 68 65 20 72 65  64 72 61 77 69 6e 67 2e  |e the redrawing.|
00000110  0a 49 74 20 61 6c 73 6f  20 64 65 6d 6f 6e 73 74  |.It also demonst|
00000120  72 61 74 65 73 20 70 6c  6f 74 74 69 6e 67 20 61  |rates plotting a|
00000130  20 73 63 61 6c 65 64 20  73 70 72 69 74 65 2e 0a  | scaled sprite..|
00000140  0a 48 6f 77 20 54 6f 20  55 73 65 0a 2d 2d 2d 2d  |.How To Use.----|
00000150  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000180  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 0a 0a  |--------------..|
00000190  53 69 6d 70 6c 79 20 63  6c 69 63 6b 20 53 45 4c  |Simply click SEL|
000001a0  45 43 54 20 6f 6e 20 74  68 65 20 69 63 6f 6e 20  |ECT on the icon |
000001b0  62 61 72 20 69 63 6f 6e  20 74 6f 20 6f 70 65 6e  |bar icon to open|
000001c0  20 74 68 65 20 6d 61 69  6e 20 77 69 6e 64 6f 77  | the main window|
000001d0  2e 0a 4e 6f 74 65 20 68  6f 77 20 6d 6f 76 69 6e  |..Note how movin|
000001e0  67 20 6f 74 68 65 72 20  77 69 6e 64 6f 77 73 20  |g other windows |
000001f0  6f 76 65 72 20 74 68 69  73 20 6f 6e 65 20 63 61  |over this one ca|
00000200  75 73 65 73 20 74 68 65  20 52 65 64 72 61 77 32  |uses the Redraw2|
00000210  0a 77 69 6e 64 6f 77 20  74 6f 20 62 65 20 72 65  |.window to be re|
00000220  64 72 61 77 6e 20 63 6f  72 72 65 63 74 6c 79 2e  |drawn correctly.|
00000230  0a 0a 0a 43 6f 6e 64 69  74 69 6f 6e 73 20 6f 66  |...Conditions of|
00000240  20 55 73 65 0a 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | Use.-----------|
00000250  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000280  2d 2d 2d 2d 2d 2d 2d 0a  0a 54 68 69 73 20 61 70  |-------..This ap|
00000290  70 6c 69 63 61 74 69 6f  6e 20 69 73 20 53 48 41  |plication is SHA|
000002a0  52 45 57 41 52 45 20 61  6e 64 20 69 73 20 70 61  |REWARE and is pa|
000002b0  72 74 20 6f 66 20 74 68  65 20 45 76 6e 74 53 68  |rt of the EvntSh|
000002c0  65 6c 6c 20 6c 69 62 72  61 72 79 0a 73 79 73 74  |ell library.syst|
000002d0  65 6d 2e 20 54 68 69 73  20 6d 65 61 6e 73 20 74  |em. This means t|
000002e0  68 61 74 20 69 66 20 79  6f 75 20 6d 61 6b 65 20  |hat if you make |
000002f0  75 73 65 20 6f 66 20 45  76 6e 74 53 68 65 6c 6c  |use of EvntShell|
00000300  20 74 6f 20 77 72 69 74  65 20 79 6f 75 72 0a 6f  | to write your.o|
00000310  77 6e 20 70 72 6f 67 72  61 6d 73 20 79 6f 75 20  |wn programs you |
00000320  61 72 65 20 65 78 70 65  63 74 65 64 20 74 6f 20  |are expected to |
00000330  72 65 67 69 73 74 65 72  20 79 6f 75 72 20 63 6f  |register your co|
00000340  70 79 20 77 68 69 63 68  20 63 6f 73 74 73 0a a3  |py which costs..|
00000350  35 2e 30 30 20 6f 72 20  31 35 44 6d 2e 0a 0a 49  |5.00 or 15Dm...I|
00000360  20 64 6f 20 6e 6f 74 20  67 69 76 65 20 61 6e 79  | do not give any|
00000370  20 67 75 61 72 61 6e 74  65 65 20 74 68 61 74 20  | guarantee that |
00000380  69 74 20 69 73 20 66 72  65 65 20 6f 66 20 62 75  |it is free of bu|
00000390  67 73 2c 20 6f 72 20 73  75 70 70 6c 79 20 61 6e  |gs, or supply an|
000003a0  79 0a 77 61 72 72 61 6e  74 79 20 61 62 6f 75 74  |y.warranty about|
000003b0  20 69 74 73 20 73 75 69  74 61 62 69 6c 69 74 79  | its suitability|
000003c0  20 66 6f 72 20 75 73 65  2e 20 48 6f 77 65 76 65  | for use. Howeve|
000003d0  72 20 20 69 66 20 74 68  65 72 65 20 61 72 65 20  |r  if there are |
000003e0  61 6e 79 0a 70 72 6f 62  6c 65 6d 73 20 77 69 74  |any.problems wit|
000003f0  68 20 69 74 20 61 6e 64  20 79 6f 75 20 6e 6f 74  |h it and you not|
00000400  69 66 79 20 6d 65 20 6f  66 20 20 74 68 65 6d 20  |ify me of  them |
00000410  74 68 65 6e 20 49 20 77  69 6c 6c 20 64 6f 20 6d  |then I will do m|
00000420  79 20 62 65 73 74 0a 74  6f 20 72 65 63 74 69 66  |y best.to rectif|
00000430  79 20 74 68 65 6d 20 67  69 76 65 6e 20 74 68 65  |y them given the|
00000440  20 74 69 6d 65 20 20 61  6e 64 20 74 68 65 20 61  | time  and the a|
00000450  62 69 6c 69 74 79 2e 20  0a 0a 59 6f 75 20 61 72  |bility. ..You ar|
00000460  65 20 6d 61 79 20 67 69  76 65 20 74 68 69 73 20  |e may give this |
00000470  61 70 70 6c 69 63 61 74  69 6f 6e 20 74 6f 20 61  |application to a|
00000480  6e 79 6f 6e 65 2c 20 76  69 61 20 61 6e 79 20 20  |nyone, via any  |
00000490  6d 65 64 69 75 6d 2c 20  73 6f 0a 6c 6f 6e 67 20  |medium, so.long |
000004a0  61 73 20 3a 2d 20 0a 0a  31 29 20 49 74 20 69 73  |as :- ..1) It is|
000004b0  20 64 65 6c 69 76 65 72  65 64 20 77 69 74 68 20  | delivered with |
000004c0  41 4c 4c 20 74 68 65 20  73 75 70 70 6c 69 65 64  |ALL the supplied|
000004d0  20 66 69 6c 65 73 20 61  6e 64 20 0a 20 20 20 75  | files and .   u|
000004e0  6e 61 6c 74 65 72 65 64  20 28 65 78 63 65 70 74  |naltered (except|
000004f0  20 21 52 75 6e 20 61 6e  64 20 21 42 6f 6f 74 29  | !Run and !Boot)|
00000500  2e 20 0a 0a 32 29 20 49  74 20 69 73 20 6e 6f 74  |. ..2) It is not|
00000510  20 73 75 70 70 6c 69 65  64 20 6f 6e 20 61 20 64  | supplied on a d|
00000520  69 73 63 20 79 6f 75 20  61 72 65 20 63 68 61 72  |isc you are char|
00000530  67 69 6e 67 20 66 6f 72  20 0a 20 20 20 28 65 78  |ging for .   (ex|
00000540  63 65 70 74 20 66 6f 72  20 6d 65 64 69 61 20 61  |cept for media a|
00000550  6e 64 20 70 6f 73 74 61  67 65 20 63 6f 73 74 73  |nd postage costs|
00000560  29 2e 20 0a 0a 59 6f 75  20 68 61 76 65 20 70 65  |). ..You have pe|
00000570  72 6d 69 73 73 69 6f 6e  20 74 6f 20 75 73 65 20  |rmission to use |
00000580  61 6e 79 20 70 61 72 74  20 6f 72 20 74 68 65 20  |any part or the |
00000590  77 68 6f 6c 65 20 20 61  70 70 6c 69 63 61 74 69  |whole  applicati|
000005a0  6f 6e 20 69 6e 0a 61 6e  79 20 53 68 61 72 65 57  |on in.any ShareW|
000005b0  61 72 65 2f 50 75 62 6c  69 63 20 44 6f 6d 61 69  |are/Public Domai|
000005c0  6e 20 70 72 6f 6a 65 63  74 2c 20 4f 4e 43 45 20  |n project, ONCE |
000005d0  59 4f 55 20 48 41 56 45  20 52 45 47 49 53 54 45  |YOU HAVE REGISTE|
000005e0  52 45 44 20 59 4f 55 52  0a 43 4f 50 59 2c 20 61  |RED YOUR.COPY, a|
000005f0  73 20 6c 6f 6e 67 20 61  73 20 49 20 61 6d 20 66  |s long as I am f|
00000600  75 6c 6c 79 20 63 72 65  64 69 74 65 64 20 28 61  |ully credited (a|
00000610  20 73 61 6d 70 6c 65 20  6f 66 20 74 68 65 20 6e  | sample of the n|
00000620  6f 74 65 20 49 20 77 6f  75 6c 64 0a 6c 69 6b 65  |ote I would.like|
00000630  20 69 6e 63 6c 75 64 65  64 20 77 69 74 68 20 61  | included with a|
00000640  6c 6c 20 61 70 70 6c 69  63 61 74 69 6f 6e 73 20  |ll applications |
00000650  75 73 69 6e 67 20 45 76  6e 74 53 68 65 6c 6c 20  |using EvntShell |
00000660  63 61 6e 20 62 65 20 66  6f 75 6e 64 0a 69 6e 20  |can be found.in |
00000670  74 68 65 20 53 68 65 6c  6c 53 79 73 20 64 69 72  |the ShellSys dir|
00000680  65 63 74 6f 72 79 20 63  61 6c 6c 65 64 20 27 48  |ectory called 'H|
00000690  65 6c 70 54 65 78 74 27  29 2e 0a 0a 49 66 20 79  |elpText')...If y|
000006a0  6f 75 20 77 69 73 68 20  74 6f 20 75 73 65 20 74  |ou wish to use t|
000006b0  68 65 73 65 20 72 6f 75  74 69 6e 65 73 20 69 6e  |hese routines in|
000006c0  20 61 20 70 72 6f 67 72  61 6d 20 74 68 61 74 20  | a program that |
000006d0  69 73 20 66 6f 72 20 73  61 6c 65 0a 28 66 6f 72  |is for sale.(for|
000006e0  20 68 6f 77 65 76 65 72  20 6d 75 63 68 20 61 6e  | however much an|
000006f0  64 20 66 6f 72 20 77 68  61 74 65 76 65 72 20 72  |d for whatever r|
00000700  65 61 73 6f 6e 73 29 20  6f 72 20 72 65 6c 65 61  |easons) or relea|
00000710  73 65 64 20 61 73 0a 63  6f 70 79 72 69 67 68 74  |sed as.copyright|
00000720  20 6d 61 74 65 72 69 61  6c 20 74 68 65 6e 20 6d  | material then m|
00000730  79 20 65 78 70 72 65 73  73 20 70 65 72 6d 69 73  |y express permis|
00000740  73 69 6f 6e 20 69 6e 20  77 72 69 74 69 6e 67 20  |sion in writing |
00000750  6d 75 73 74 20 62 65 0a  6f 62 74 61 69 6e 65 64  |must be.obtained|
00000760  2e 20 49 20 6d 61 69 6e  74 61 69 6e 20 63 6f 70  |. I maintain cop|
00000770  79 72 69 67 68 74 20 6f  6e 20 61 6c 6c 20 74 68  |yright on all th|
00000780  65 20 6d 61 74 65 72 69  61 6c 20 73 75 70 70 6c  |e material suppl|
00000790  69 65 64 20 61 6e 64 0a  72 65 73 65 72 76 65 20  |ied and.reserve |
000007a0  74 68 65 20 72 69 67 68  74 20 74 6f 20 61 6d 65  |the right to ame|
000007b0  6e 64 20 74 68 65 73 65  20 63 6f 6e 64 69 74 69  |nd these conditi|
000007c0  6f 6e 73 20 69 6e 20 63  61 73 65 73 20 77 68 65  |ons in cases whe|
000007d0  72 65 20 49 20 64 65 65  6d 0a 6d 69 73 75 73 65  |re I deem.misuse|
000007e0  2e 0a 0a 43 6f 6d 70 6c  61 69 6e 74 73 2c 20 73  |...Complaints, s|
000007f0  75 67 67 65 73 74 69 6f  6e 73 2c 20 72 65 67 69  |uggestions, regi|
00000800  73 74 72 61 74 69 6f 6e  20 66 65 65 73 20 65 74  |stration fees et|
00000810  63 20 74 6f 20 74 68 65  20 61 75 74 68 6f 72 3a  |c to the author:|
00000820  2d 20 0a 0a 50 61 75 6c  20 48 6f 62 62 73 0a 52  |- ..Paul Hobbs.R|
00000830  68 65 69 6e 70 66 61 6c  7a 73 74 72 61 73 73 65  |heinpfalzstrasse|
00000840  20 32 0a 38 35 30 34 39  20 49 6e 67 6f 6c 73 74  | 2.85049 Ingolst|
00000850  61 64 74 0a 47 65 72 6d  61 6e 79                 |adt.Germany|
0000085b