Home » Archimedes archive » Acorn Computing » 1994 08 subscription disc.adf » 9408s » Shareware/Event/Documents/Examples/!Redraw/!Redraw

Shareware/Event/Documents/Examples/!Redraw/!Redraw

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 » Acorn Computing » 1994 08 subscription disc.adf » 9408s
Filename: Shareware/Event/Documents/Examples/!Redraw/!Redraw
Read OK:
File size: 1260 bytes
Load address: 0000
Exec address: 0000
File contents
    1REM > <Redraw$Dir>.!Redraw
    2:
    3debugging%=FALSE
    4REM Copyright Paul Hobbs 1993
    5REM Rheinpfalzstrasse 2
    6REM    85049 Ingolstadt
    7REM             Germany
    8:
    9REM This program and parts thereof may be freely distributed
   10:
   11ON ERROR MODE12:SYS"Hourglass_Smash":REPORT:PRINT" at line: ";ERL:END
   12:
   13LIBRARY "<EvntShellSystem$Path>ShellLibRT"
   14:
   15SYS "Hourglass_On"
   16:
   17SYS "Wimp_SlotSize",-1,-1 TO progsize%
   18pagesize%=1<<10
   19freespace%=&8000+progsize%
   20END=freespace%+pagesize%
   21HIMEM=freespace%
   22:
   23PROCshell_HeapManagerInit("<EvntShellSystem$Path>",freespace%)
   24PROCshell_Init
   25task%=FNshell_WimpInit_I(200,"Redraw Demo")
   26PROCshell_TraceInit("")
   27REM PROCshell_TraceOn
   28PROCshell_ResourcesInit
   29PROCapp_init
   30:
   31REM -------------------- Initialise Variables ----------------------------
   32:
   33_closedown%     =FALSE :REM Set this to TRUE when you want the program to
   34                       :REM end
   35changed%        =FALSE :REM Used to keep track of whether the data has
   36                       :REM been changed. Call PROCfile_changed() when it
   37                       :REM has. But if the program does not use data
   38                       :REM files just ignore this variable but do not
   39                       :REM delete it as the program checks it before
   40                       :REM exiting!
   41:
   42REM -------------------- Miscelleanous Initialisation --------------------
   43:
   44:
   45error_flag%     =3
   46ON ERROR PROCshell_Error
   47:
   48SYS "Hourglass_Off"
   49REPEAT
   50  PROCshell_Action(FNshell_Poll_I(0,task%))
   51UNTIL _closedown%
   52:
   53PROCshell_Exit:END
   54:
   55REM ======================================================================
   56:
   57DEF PROCapp_init
   58my_font$="Trinity.Medium"
   59PROCSetUp_Menus
   60sicon=FNshell_Iconbar(-1,"!"+FNshell_GetAppName,"",120,MenuHandle_IconBar%,0,0,0)
   61PROCshell_AttachHelpTag(-1,sicon,"iconbar")
   62PROCshell_AttachClickSelect(-1,sicon,"_ClickSelect_IconBar")
   63
   64PROCshell_CreateWindowStatic("mainw",mainw%)
   65PROCshell_AttachUserRedraw(mainw%,"_redraw")
   66PROCshell_AttachFontMenu(mainw%,-1,"_MenuSelect_Fonts","_MenuMaker_Fonts")
   67
   68PROCshell_FindFont(my_font$,24,24,font_handle%)
   69SYS "Font_SetFont",font_handle%
   70_shell_FontMenuSelFN$=""
   71ENDPROC
   72:
   73
   74REM ===== Menu_Setup routines ======================================
   75
   76DEF PROCSetUp_Menus
   77LOCAL void%
   78
   79MenuHandle_IconBar%=FNshell_MenuNew("Redraw")
   80MenuItem_Info%     =FNshell_MenuAdd(0,"Info","")
   81MenuItem_Fonts%    =FNshell_MenuAdd(0,"Fonts","")
   82void%              =FNshell_MenuAdd(0,"Quit","_MenuSelect_Quit")
   83PROCshell_AttachMenuDBox(MenuItem_Info%,"progInfo","_PreOpenInfo","")
   84PROCshell_AttachFontSubMenu(MenuItem_Fonts%,"_warn_FontMenu","_MenuSelect_Fonts")
   85
   86ENDPROC
   87:
   88
   89REM ===== Click_Select routines ====================================
   90
   91DEF FN_ClickSelect_IconBar(wh%,icon%)
   92PROCshell_OpenWindowStatic(mainw%)
   93=0
   94:
   95
   96REM ===== Menu_Select routines =====================================
   97
   98DEF FN_MenuSelect_Fonts(fontname$)
   99IF fontname$<>"" THEN PROCselect_new_font(fontname$)  
  100=0
  101:
  102DEF FN_MenuSelect_Quit(blk%)
  103_closedown%=TRUE
  104SYS "Font_LoseFont",font_handle%
  105=0
  106:
  107
  108REM ===== Menu_Maker routines ======================================
  109
  110DEF FN_MenuMaker_Fonts(wh%,ih%)
  111REM Tick the current font in the FontMenu..
  112PROCshell_FontMenuSelectFont(my_font$,1)
  113=0
  114:
  115
  116REM ===== Menu_Warn routines =======================================
  117
  118DEF FN_warn_FontMenu(wh%,ih%)
  119REM Tick the current font in the FontMenu..
  120PROCshell_FontMenuSelectFont(my_font$,1)
  121=0
  122:
  123DEF PROCselect_new_font(font$)
  124REM A font has been selected in the FontMenu..
  125my_font$=font$
  126SYS "Font_LoseFont",font_handle%
  127PROCshell_FindFont(my_font$,24,24,font_handle%)
  128SYS "Font_SetFont",font_handle%
  129SYS "Wimp_ForceRedraw",mainw%,0,-2000,2000,0
  130ENDPROC
  131:
  132DEF FN_redraw(blk%,x0%,y0%)
  133SYS "Wimp_SetColour",11
  134CIRCLE FILL x0%+200,y0%-200,120
  135SYS "Wimp_SetColour",8
  136MOVE x0%+80,y0%-340:PRINT "This is an example of"
  137MOVE x0%+40,y0%-380:PRINT "user drawn text and graphics"
  138MOVE x0%+95,y0%-420:PRINT "in a desktop window"
  139SYS "ColourTrans_SetFontColours",font_handle%,&FFFFFF00,&00000000,14
  140SYS "Font_Paint",0,"And Outline Fonts..",1<<4,x0%+10,y0%-70
  141=0
  142:
  143DEF FN_ClickSelect_IconBar(wh%,icon%)
  144PROCshell_OpenWindowStatic(mainw%)
  145=0
  146:
  147
  148REM ===== Dialog_PreOpen routines ==================================
  149
  150DEF FN_PreOpenInfo(wh%)
  151PROCshell_IconPutData(wh%,0,FNshell_MessageNoArgs("progInfo0"),0)
  152PROCshell_IconPutData(wh%,1,FNshell_MessageNoArgs("progInfo1"),0)
  153PROCshell_IconPutData(wh%,2,FNshell_MessageNoArgs("progInfo2"),0)
  154PROCshell_IconPutData(wh%,3,FNshell_MessageNoArgs("progInfo3"),0)
  155=0
  156:
  157
  158REM =================== Routines to go in the library ==================
  159:
  160
� > <Redraw$Dir>.!Redraw
:
debugging%=�
� Copyright Paul Hobbs 1993
� Rheinpfalzstrasse 2
�    85049 Ingolstadt
�             Germany
:
	>� This program and parts thereof may be freely distributed

:
3� � �12:ș"Hourglass_Smash":�:�" at line: ";�:�
:

)ț "<EvntShellSystem$Path>ShellLibRT"
:
ș "Hourglass_On"
:
(ș "Wimp_SlotSize",-1,-1 � progsize%
pagesize%=1<<10
freespace%=&8000+progsize%
�=freespace%+pagesize%
�=freespace%
:
?�shell_HeapManagerInit("<EvntShellSystem$Path>",freespace%)
�shell_Init
.task%=�shell_WimpInit_I(200,"Redraw Demo")
�shell_TraceInit("")
� PROCshell_TraceOn
�shell_ResourcesInit

�app_init
:
L� -------------------- Initialise Variables ----------------------------
 :
!G_closedown%     =� :� Set this to TRUE when you want the program to
"!                       :� end
#Dchanged%        =� :� Used to keep track of whether the data has
$K                       :� been changed. Call PROCfile_changed() when it
%G                       :� has. But if the program does not use data
&H                       :� files just ignore this variable but do not
'G                       :� delete it as the program checks it before
(&                       :� exiting!
):
*L� -------------------- Miscelleanous Initialisation --------------------
+:
,:
-error_flag%     =3
.� � �shell_Error
/:
0ș "Hourglass_Off"
1�
2+  �shell_Action(�shell_Poll_I(0,task%))
3� _closedown%
4:
5�shell_Exit:�
6:
7L� ======================================================================
8:
9� �app_init
:my_font$="Trinity.Medium"
;�SetUp_Menus
<Ssicon=�shell_Iconbar(-1,"!"+�shell_GetAppName,"",120,MenuHandle_IconBar%,0,0,0)
=,�shell_AttachHelpTag(-1,sicon,"iconbar")
>=�shell_AttachClickSelect(-1,sicon,"_ClickSelect_IconBar")
?
@-�shell_CreateWindowStatic("mainw",mainw%)
A-�shell_AttachUserRedraw(mainw%,"_redraw")
BK�shell_AttachFontMenu(mainw%,-1,"_MenuSelect_Fonts","_MenuMaker_Fonts")
C
D0�shell_FindFont(my_font$,24,24,font_handle%)
E"ș "Font_SetFont",font_handle%
F_shell_FontMenuSelFN$=""
G�
H:
I
JF� ===== Menu_Setup routines ======================================
K
L� �SetUp_Menus
M� void%
N
O0MenuHandle_IconBar%=�shell_MenuNew("Redraw")
P3MenuItem_Info%     =�shell_MenuAdd(0,"Info","")
Q4MenuItem_Fonts%    =�shell_MenuAdd(0,"Fonts","")
RCvoid%              =�shell_MenuAdd(0,"Quit","_MenuSelect_Quit")
SF�shell_AttachMenuDBox(MenuItem_Info%,"progInfo","_PreOpenInfo","")
TR�shell_AttachFontSubMenu(MenuItem_Fonts%,"_warn_FontMenu","_MenuSelect_Fonts")
U
V�
W:
X
YF� ===== Click_Select routines ====================================
Z
[&� �_ClickSelect_IconBar(wh%,icon%)
\#�shell_OpenWindowStatic(mainw%)
]=0
^:
_
`F� ===== Menu_Select routines =====================================
a
b#� �_MenuSelect_Fonts(fontname$)
c3� fontname$<>"" � �select_new_font(fontname$)  
d=0
e:
f� �_MenuSelect_Quit(blk%)
g_closedown%=�
h#ș "Font_LoseFont",font_handle%
i=0
j:
k
lF� ===== Menu_Maker routines ======================================
m
n � �_MenuMaker_Fonts(wh%,ih%)
o-� Tick the current font in the FontMenu..
p)�shell_FontMenuSelectFont(my_font$,1)
q=0
r:
s
tF� ===== Menu_Warn routines =======================================
u
v� �_warn_FontMenu(wh%,ih%)
w-� Tick the current font in the FontMenu..
x)�shell_FontMenuSelectFont(my_font$,1)
y=0
z:
{� �select_new_font(font$)
|0� A font has been selected in the FontMenu..
}my_font$=font$
~#ș "Font_LoseFont",font_handle%
0�shell_FindFont(my_font$,24,24,font_handle%)
�"ș "Font_SetFont",font_handle%
�/ș "Wimp_ForceRedraw",mainw%,0,-2000,2000,0
��
�:
�� �_redraw(blk%,x0%,y0%)
�ș "Wimp_SetColour",11
�ȏ Ȑ x0%+200,y0%-200,120
�ș "Wimp_SetColour",8
�.� x0%+80,y0%-340:� "This is an example of"
�5� x0%+40,y0%-380:� "user drawn text and graphics"
�,� x0%+95,y0%-420:� "in a desktop window"
�Gș "ColourTrans_SetFontColours",font_handle%,&FFFFFF00,&00000000,14
�>ș "Font_Paint",0,"And Outline Fonts..",1<<4,x0%+10,y0%-70
�=0
�:
�&� �_ClickSelect_IconBar(wh%,icon%)
�#�shell_OpenWindowStatic(mainw%)
�=0
�:
�
�F� ===== Dialog_PreOpen routines ==================================
�
�� �_PreOpenInfo(wh%)
�A�shell_IconPutData(wh%,0,�shell_MessageNoArgs("progInfo0"),0)
�A�shell_IconPutData(wh%,1,�shell_MessageNoArgs("progInfo1"),0)
�A�shell_IconPutData(wh%,2,�shell_MessageNoArgs("progInfo2"),0)
�A�shell_IconPutData(wh%,3,�shell_MessageNoArgs("progInfo3"),0)
�=0
�:
�
�J� =================== Routines to go in the library ==================
�:
�
�
00000000  0d 00 01 1c f4 20 3e 20  3c 52 65 64 72 61 77 24  |..... > <Redraw$|
00000010  44 69 72 3e 2e 21 52 65  64 72 61 77 0d 00 02 05  |Dir>.!Redraw....|
00000020  3a 0d 00 03 10 64 65 62  75 67 67 69 6e 67 25 3d  |:....debugging%=|
00000030  a3 0d 00 04 1f f4 20 43  6f 70 79 72 69 67 68 74  |...... Copyright|
00000040  20 50 61 75 6c 20 48 6f  62 62 73 20 31 39 39 33  | Paul Hobbs 1993|
00000050  0d 00 05 19 f4 20 52 68  65 69 6e 70 66 61 6c 7a  |..... Rheinpfalz|
00000060  73 74 72 61 73 73 65 20  32 0d 00 06 19 f4 20 20  |strasse 2.....  |
00000070  20 20 38 35 30 34 39 20  49 6e 67 6f 6c 73 74 61  |  85049 Ingolsta|
00000080  64 74 0d 00 07 19 f4 20  20 20 20 20 20 20 20 20  |dt.....         |
00000090  20 20 20 20 47 65 72 6d  61 6e 79 0d 00 08 05 3a  |    Germany....:|
000000a0  0d 00 09 3e f4 20 54 68  69 73 20 70 72 6f 67 72  |...>. This progr|
000000b0  61 6d 20 61 6e 64 20 70  61 72 74 73 20 74 68 65  |am and parts the|
000000c0  72 65 6f 66 20 6d 61 79  20 62 65 20 66 72 65 65  |reof may be free|
000000d0  6c 79 20 64 69 73 74 72  69 62 75 74 65 64 0d 00  |ly distributed..|
000000e0  0a 05 3a 0d 00 0b 33 ee  20 85 20 eb 31 32 3a c8  |..:...3. . .12:.|
000000f0  99 22 48 6f 75 72 67 6c  61 73 73 5f 53 6d 61 73  |."Hourglass_Smas|
00000100  68 22 3a f6 3a f1 22 20  61 74 20 6c 69 6e 65 3a  |h":.:." at line:|
00000110  20 22 3b 9e 3a e0 0d 00  0c 05 3a 0d 00 0d 29 c8  | ";.:.....:...).|
00000120  9b 20 22 3c 45 76 6e 74  53 68 65 6c 6c 53 79 73  |. "<EvntShellSys|
00000130  74 65 6d 24 50 61 74 68  3e 53 68 65 6c 6c 4c 69  |tem$Path>ShellLi|
00000140  62 52 54 22 0d 00 0e 05  3a 0d 00 0f 15 c8 99 20  |bRT"....:...... |
00000150  22 48 6f 75 72 67 6c 61  73 73 5f 4f 6e 22 0d 00  |"Hourglass_On"..|
00000160  10 05 3a 0d 00 11 28 c8  99 20 22 57 69 6d 70 5f  |..:...(.. "Wimp_|
00000170  53 6c 6f 74 53 69 7a 65  22 2c 2d 31 2c 2d 31 20  |SlotSize",-1,-1 |
00000180  b8 20 70 72 6f 67 73 69  7a 65 25 0d 00 12 13 70  |. progsize%....p|
00000190  61 67 65 73 69 7a 65 25  3d 31 3c 3c 31 30 0d 00  |agesize%=1<<10..|
000001a0  13 1e 66 72 65 65 73 70  61 63 65 25 3d 26 38 30  |..freespace%=&80|
000001b0  30 30 2b 70 72 6f 67 73  69 7a 65 25 0d 00 14 1a  |00+progsize%....|
000001c0  e0 3d 66 72 65 65 73 70  61 63 65 25 2b 70 61 67  |.=freespace%+pag|
000001d0  65 73 69 7a 65 25 0d 00  15 10 d3 3d 66 72 65 65  |esize%.....=free|
000001e0  73 70 61 63 65 25 0d 00  16 05 3a 0d 00 17 3f f2  |space%....:...?.|
000001f0  73 68 65 6c 6c 5f 48 65  61 70 4d 61 6e 61 67 65  |shell_HeapManage|
00000200  72 49 6e 69 74 28 22 3c  45 76 6e 74 53 68 65 6c  |rInit("<EvntShel|
00000210  6c 53 79 73 74 65 6d 24  50 61 74 68 3e 22 2c 66  |lSystem$Path>",f|
00000220  72 65 65 73 70 61 63 65  25 29 0d 00 18 0f f2 73  |reespace%).....s|
00000230  68 65 6c 6c 5f 49 6e 69  74 0d 00 19 2e 74 61 73  |hell_Init....tas|
00000240  6b 25 3d a4 73 68 65 6c  6c 5f 57 69 6d 70 49 6e  |k%=.shell_WimpIn|
00000250  69 74 5f 49 28 32 30 30  2c 22 52 65 64 72 61 77  |it_I(200,"Redraw|
00000260  20 44 65 6d 6f 22 29 0d  00 1a 18 f2 73 68 65 6c  | Demo").....shel|
00000270  6c 5f 54 72 61 63 65 49  6e 69 74 28 22 22 29 0d  |l_TraceInit("").|
00000280  00 1b 17 f4 20 50 52 4f  43 73 68 65 6c 6c 5f 54  |.... PROCshell_T|
00000290  72 61 63 65 4f 6e 0d 00  1c 18 f2 73 68 65 6c 6c  |raceOn.....shell|
000002a0  5f 52 65 73 6f 75 72 63  65 73 49 6e 69 74 0d 00  |_ResourcesInit..|
000002b0  1d 0d f2 61 70 70 5f 69  6e 69 74 0d 00 1e 05 3a  |...app_init....:|
000002c0  0d 00 1f 4c f4 20 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |...L. ----------|
000002d0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 20 49 6e 69 74 69  |---------- Initi|
000002e0  61 6c 69 73 65 20 56 61  72 69 61 62 6c 65 73 20  |alise Variables |
000002f0  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000300  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 0d 00 20 05  |------------.. .|
00000310  3a 0d 00 21 47 5f 63 6c  6f 73 65 64 6f 77 6e 25  |:..!G_closedown%|
00000320  20 20 20 20 20 3d a3 20  3a f4 20 53 65 74 20 74  |     =. :. Set t|
00000330  68 69 73 20 74 6f 20 54  52 55 45 20 77 68 65 6e  |his to TRUE when|
00000340  20 79 6f 75 20 77 61 6e  74 20 74 68 65 20 70 72  | you want the pr|
00000350  6f 67 72 61 6d 20 74 6f  0d 00 22 21 20 20 20 20  |ogram to.."!    |
00000360  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000370  20 20 20 3a f4 20 65 6e  64 0d 00 23 44 63 68 61  |   :. end..#Dcha|
00000380  6e 67 65 64 25 20 20 20  20 20 20 20 20 3d a3 20  |nged%        =. |
00000390  3a f4 20 55 73 65 64 20  74 6f 20 6b 65 65 70 20  |:. Used to keep |
000003a0  74 72 61 63 6b 20 6f 66  20 77 68 65 74 68 65 72  |track of whether|
000003b0  20 74 68 65 20 64 61 74  61 20 68 61 73 0d 00 24  | the data has..$|
000003c0  4b 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |K               |
000003d0  20 20 20 20 20 20 20 20  3a f4 20 62 65 65 6e 20  |        :. been |
000003e0  63 68 61 6e 67 65 64 2e  20 43 61 6c 6c 20 50 52  |changed. Call PR|
000003f0  4f 43 66 69 6c 65 5f 63  68 61 6e 67 65 64 28 29  |OCfile_changed()|
00000400  20 77 68 65 6e 20 69 74  0d 00 25 47 20 20 20 20  | when it..%G    |
00000410  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000420  20 20 20 3a f4 20 68 61  73 2e 20 42 75 74 20 69  |   :. has. But i|
00000430  66 20 74 68 65 20 70 72  6f 67 72 61 6d 20 64 6f  |f the program do|
00000440  65 73 20 6e 6f 74 20 75  73 65 20 64 61 74 61 0d  |es not use data.|
00000450  00 26 48 20 20 20 20 20  20 20 20 20 20 20 20 20  |.&H             |
00000460  20 20 20 20 20 20 20 20  20 20 3a f4 20 66 69 6c  |          :. fil|
00000470  65 73 20 6a 75 73 74 20  69 67 6e 6f 72 65 20 74  |es just ignore t|
00000480  68 69 73 20 76 61 72 69  61 62 6c 65 20 62 75 74  |his variable but|
00000490  20 64 6f 20 6e 6f 74 0d  00 27 47 20 20 20 20 20  | do not..'G     |
000004a0  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
000004b0  20 20 3a f4 20 64 65 6c  65 74 65 20 69 74 20 61  |  :. delete it a|
000004c0  73 20 74 68 65 20 70 72  6f 67 72 61 6d 20 63 68  |s the program ch|
000004d0  65 63 6b 73 20 69 74 20  62 65 66 6f 72 65 0d 00  |ecks it before..|
000004e0  28 26 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |(&              |
000004f0  20 20 20 20 20 20 20 20  20 3a f4 20 65 78 69 74  |         :. exit|
00000500  69 6e 67 21 0d 00 29 05  3a 0d 00 2a 4c f4 20 2d  |ing!..).:..*L. -|
00000510  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000520  2d 2d 2d 20 4d 69 73 63  65 6c 6c 65 61 6e 6f 75  |--- Miscelleanou|
00000530  73 20 49 6e 69 74 69 61  6c 69 73 61 74 69 6f 6e  |s Initialisation|
00000540  20 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  | ---------------|
00000550  2d 2d 2d 2d 2d 0d 00 2b  05 3a 0d 00 2c 05 3a 0d  |-----..+.:..,.:.|
00000560  00 2d 16 65 72 72 6f 72  5f 66 6c 61 67 25 20 20  |.-.error_flag%  |
00000570  20 20 20 3d 33 0d 00 2e  14 ee 20 85 20 f2 73 68  |   =3..... . .sh|
00000580  65 6c 6c 5f 45 72 72 6f  72 0d 00 2f 05 3a 0d 00  |ell_Error../.:..|
00000590  30 16 c8 99 20 22 48 6f  75 72 67 6c 61 73 73 5f  |0... "Hourglass_|
000005a0  4f 66 66 22 0d 00 31 05  f5 0d 00 32 2b 20 20 f2  |Off"..1....2+  .|
000005b0  73 68 65 6c 6c 5f 41 63  74 69 6f 6e 28 a4 73 68  |shell_Action(.sh|
000005c0  65 6c 6c 5f 50 6f 6c 6c  5f 49 28 30 2c 74 61 73  |ell_Poll_I(0,tas|
000005d0  6b 25 29 29 0d 00 33 11  fd 20 5f 63 6c 6f 73 65  |k%))..3.. _close|
000005e0  64 6f 77 6e 25 0d 00 34  05 3a 0d 00 35 11 f2 73  |down%..4.:..5..s|
000005f0  68 65 6c 6c 5f 45 78 69  74 3a e0 0d 00 36 05 3a  |hell_Exit:...6.:|
00000600  0d 00 37 4c f4 20 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |..7L. ==========|
00000610  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000640  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 0d 00 38 05  |============..8.|
00000650  3a 0d 00 39 0f dd 20 f2  61 70 70 5f 69 6e 69 74  |:..9.. .app_init|
00000660  0d 00 3a 1d 6d 79 5f 66  6f 6e 74 24 3d 22 54 72  |..:.my_font$="Tr|
00000670  69 6e 69 74 79 2e 4d 65  64 69 75 6d 22 0d 00 3b  |inity.Medium"..;|
00000680  10 f2 53 65 74 55 70 5f  4d 65 6e 75 73 0d 00 3c  |..SetUp_Menus..<|
00000690  53 73 69 63 6f 6e 3d a4  73 68 65 6c 6c 5f 49 63  |Ssicon=.shell_Ic|
000006a0  6f 6e 62 61 72 28 2d 31  2c 22 21 22 2b a4 73 68  |onbar(-1,"!"+.sh|
000006b0  65 6c 6c 5f 47 65 74 41  70 70 4e 61 6d 65 2c 22  |ell_GetAppName,"|
000006c0  22 2c 31 32 30 2c 4d 65  6e 75 48 61 6e 64 6c 65  |",120,MenuHandle|
000006d0  5f 49 63 6f 6e 42 61 72  25 2c 30 2c 30 2c 30 29  |_IconBar%,0,0,0)|
000006e0  0d 00 3d 2c f2 73 68 65  6c 6c 5f 41 74 74 61 63  |..=,.shell_Attac|
000006f0  68 48 65 6c 70 54 61 67  28 2d 31 2c 73 69 63 6f  |hHelpTag(-1,sico|
00000700  6e 2c 22 69 63 6f 6e 62  61 72 22 29 0d 00 3e 3d  |n,"iconbar")..>=|
00000710  f2 73 68 65 6c 6c 5f 41  74 74 61 63 68 43 6c 69  |.shell_AttachCli|
00000720  63 6b 53 65 6c 65 63 74  28 2d 31 2c 73 69 63 6f  |ckSelect(-1,sico|
00000730  6e 2c 22 5f 43 6c 69 63  6b 53 65 6c 65 63 74 5f  |n,"_ClickSelect_|
00000740  49 63 6f 6e 42 61 72 22  29 0d 00 3f 04 0d 00 40  |IconBar")..?...@|
00000750  2d f2 73 68 65 6c 6c 5f  43 72 65 61 74 65 57 69  |-.shell_CreateWi|
00000760  6e 64 6f 77 53 74 61 74  69 63 28 22 6d 61 69 6e  |ndowStatic("main|
00000770  77 22 2c 6d 61 69 6e 77  25 29 0d 00 41 2d f2 73  |w",mainw%)..A-.s|
00000780  68 65 6c 6c 5f 41 74 74  61 63 68 55 73 65 72 52  |hell_AttachUserR|
00000790  65 64 72 61 77 28 6d 61  69 6e 77 25 2c 22 5f 72  |edraw(mainw%,"_r|
000007a0  65 64 72 61 77 22 29 0d  00 42 4b f2 73 68 65 6c  |edraw")..BK.shel|
000007b0  6c 5f 41 74 74 61 63 68  46 6f 6e 74 4d 65 6e 75  |l_AttachFontMenu|
000007c0  28 6d 61 69 6e 77 25 2c  2d 31 2c 22 5f 4d 65 6e  |(mainw%,-1,"_Men|
000007d0  75 53 65 6c 65 63 74 5f  46 6f 6e 74 73 22 2c 22  |uSelect_Fonts","|
000007e0  5f 4d 65 6e 75 4d 61 6b  65 72 5f 46 6f 6e 74 73  |_MenuMaker_Fonts|
000007f0  22 29 0d 00 43 04 0d 00  44 30 f2 73 68 65 6c 6c  |")..C...D0.shell|
00000800  5f 46 69 6e 64 46 6f 6e  74 28 6d 79 5f 66 6f 6e  |_FindFont(my_fon|
00000810  74 24 2c 32 34 2c 32 34  2c 66 6f 6e 74 5f 68 61  |t$,24,24,font_ha|
00000820  6e 64 6c 65 25 29 0d 00  45 22 c8 99 20 22 46 6f  |ndle%)..E".. "Fo|
00000830  6e 74 5f 53 65 74 46 6f  6e 74 22 2c 66 6f 6e 74  |nt_SetFont",font|
00000840  5f 68 61 6e 64 6c 65 25  0d 00 46 1c 5f 73 68 65  |_handle%..F._she|
00000850  6c 6c 5f 46 6f 6e 74 4d  65 6e 75 53 65 6c 46 4e  |ll_FontMenuSelFN|
00000860  24 3d 22 22 0d 00 47 05  e1 0d 00 48 05 3a 0d 00  |$=""..G....H.:..|
00000870  49 04 0d 00 4a 46 f4 20  3d 3d 3d 3d 3d 20 4d 65  |I...JF. ===== Me|
00000880  6e 75 5f 53 65 74 75 70  20 72 6f 75 74 69 6e 65  |nu_Setup routine|
00000890  73 20 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |s ==============|
000008a0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
000008b0  3d 3d 3d 3d 3d 3d 3d 3d  0d 00 4b 04 0d 00 4c 12  |========..K...L.|
000008c0  dd 20 f2 53 65 74 55 70  5f 4d 65 6e 75 73 0d 00  |. .SetUp_Menus..|
000008d0  4d 0b ea 20 76 6f 69 64  25 0d 00 4e 04 0d 00 4f  |M.. void%..N...O|
000008e0  30 4d 65 6e 75 48 61 6e  64 6c 65 5f 49 63 6f 6e  |0MenuHandle_Icon|
000008f0  42 61 72 25 3d a4 73 68  65 6c 6c 5f 4d 65 6e 75  |Bar%=.shell_Menu|
00000900  4e 65 77 28 22 52 65 64  72 61 77 22 29 0d 00 50  |New("Redraw")..P|
00000910  33 4d 65 6e 75 49 74 65  6d 5f 49 6e 66 6f 25 20  |3MenuItem_Info% |
00000920  20 20 20 20 3d a4 73 68  65 6c 6c 5f 4d 65 6e 75  |    =.shell_Menu|
00000930  41 64 64 28 30 2c 22 49  6e 66 6f 22 2c 22 22 29  |Add(0,"Info","")|
00000940  0d 00 51 34 4d 65 6e 75  49 74 65 6d 5f 46 6f 6e  |..Q4MenuItem_Fon|
00000950  74 73 25 20 20 20 20 3d  a4 73 68 65 6c 6c 5f 4d  |ts%    =.shell_M|
00000960  65 6e 75 41 64 64 28 30  2c 22 46 6f 6e 74 73 22  |enuAdd(0,"Fonts"|
00000970  2c 22 22 29 0d 00 52 43  76 6f 69 64 25 20 20 20  |,"")..RCvoid%   |
00000980  20 20 20 20 20 20 20 20  20 20 20 3d a4 73 68 65  |           =.she|
00000990  6c 6c 5f 4d 65 6e 75 41  64 64 28 30 2c 22 51 75  |ll_MenuAdd(0,"Qu|
000009a0  69 74 22 2c 22 5f 4d 65  6e 75 53 65 6c 65 63 74  |it","_MenuSelect|
000009b0  5f 51 75 69 74 22 29 0d  00 53 46 f2 73 68 65 6c  |_Quit")..SF.shel|
000009c0  6c 5f 41 74 74 61 63 68  4d 65 6e 75 44 42 6f 78  |l_AttachMenuDBox|
000009d0  28 4d 65 6e 75 49 74 65  6d 5f 49 6e 66 6f 25 2c  |(MenuItem_Info%,|
000009e0  22 70 72 6f 67 49 6e 66  6f 22 2c 22 5f 50 72 65  |"progInfo","_Pre|
000009f0  4f 70 65 6e 49 6e 66 6f  22 2c 22 22 29 0d 00 54  |OpenInfo","")..T|
00000a00  52 f2 73 68 65 6c 6c 5f  41 74 74 61 63 68 46 6f  |R.shell_AttachFo|
00000a10  6e 74 53 75 62 4d 65 6e  75 28 4d 65 6e 75 49 74  |ntSubMenu(MenuIt|
00000a20  65 6d 5f 46 6f 6e 74 73  25 2c 22 5f 77 61 72 6e  |em_Fonts%,"_warn|
00000a30  5f 46 6f 6e 74 4d 65 6e  75 22 2c 22 5f 4d 65 6e  |_FontMenu","_Men|
00000a40  75 53 65 6c 65 63 74 5f  46 6f 6e 74 73 22 29 0d  |uSelect_Fonts").|
00000a50  00 55 04 0d 00 56 05 e1  0d 00 57 05 3a 0d 00 58  |.U...V....W.:..X|
00000a60  04 0d 00 59 46 f4 20 3d  3d 3d 3d 3d 20 43 6c 69  |...YF. ===== Cli|
00000a70  63 6b 5f 53 65 6c 65 63  74 20 72 6f 75 74 69 6e  |ck_Select routin|
00000a80  65 73 20 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |es =============|
00000a90  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000aa0  3d 3d 3d 3d 3d 3d 3d 0d  00 5a 04 0d 00 5b 26 dd  |=======..Z...[&.|
00000ab0  20 a4 5f 43 6c 69 63 6b  53 65 6c 65 63 74 5f 49  | ._ClickSelect_I|
00000ac0  63 6f 6e 42 61 72 28 77  68 25 2c 69 63 6f 6e 25  |conBar(wh%,icon%|
00000ad0  29 0d 00 5c 23 f2 73 68  65 6c 6c 5f 4f 70 65 6e  |)..\#.shell_Open|
00000ae0  57 69 6e 64 6f 77 53 74  61 74 69 63 28 6d 61 69  |WindowStatic(mai|
00000af0  6e 77 25 29 0d 00 5d 06  3d 30 0d 00 5e 05 3a 0d  |nw%)..].=0..^.:.|
00000b00  00 5f 04 0d 00 60 46 f4  20 3d 3d 3d 3d 3d 20 4d  |._...`F. ===== M|
00000b10  65 6e 75 5f 53 65 6c 65  63 74 20 72 6f 75 74 69  |enu_Select routi|
00000b20  6e 65 73 20 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |nes ============|
00000b30  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
00000b40  3d 3d 3d 3d 3d 3d 3d 3d  3d 0d 00 61 04 0d 00 62  |=========..a...b|
00000b50  23 dd 20 a4 5f 4d 65 6e  75 53 65 6c 65 63 74 5f  |#. ._MenuSelect_|
00000b60  46 6f 6e 74 73 28 66 6f  6e 74 6e 61 6d 65 24 29  |Fonts(fontname$)|
00000b70  0d 00 63 33 e7 20 66 6f  6e 74 6e 61 6d 65 24 3c  |..c3. fontname$<|
00000b80  3e 22 22 20 8c 20 f2 73  65 6c 65 63 74 5f 6e 65  |>"" . .select_ne|
00000b90  77 5f 66 6f 6e 74 28 66  6f 6e 74 6e 61 6d 65 24  |w_font(fontname$|
00000ba0  29 20 20 0d 00 64 06 3d  30 0d 00 65 05 3a 0d 00  |)  ..d.=0..e.:..|
00000bb0  66 1d dd 20 a4 5f 4d 65  6e 75 53 65 6c 65 63 74  |f.. ._MenuSelect|
00000bc0  5f 51 75 69 74 28 62 6c  6b 25 29 0d 00 67 11 5f  |_Quit(blk%)..g._|
00000bd0  63 6c 6f 73 65 64 6f 77  6e 25 3d b9 0d 00 68 23  |closedown%=...h#|
00000be0  c8 99 20 22 46 6f 6e 74  5f 4c 6f 73 65 46 6f 6e  |.. "Font_LoseFon|
00000bf0  74 22 2c 66 6f 6e 74 5f  68 61 6e 64 6c 65 25 0d  |t",font_handle%.|
00000c00  00 69 06 3d 30 0d 00 6a  05 3a 0d 00 6b 04 0d 00  |.i.=0..j.:..k...|
00000c10  6c 46 f4 20 3d 3d 3d 3d  3d 20 4d 65 6e 75 5f 4d  |lF. ===== Menu_M|
00000c20  61 6b 65 72 20 72 6f 75  74 69 6e 65 73 20 3d 3d  |aker routines ==|
00000c30  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000c50  3d 3d 3d 3d 0d 00 6d 04  0d 00 6e 20 dd 20 a4 5f  |====..m...n . ._|
00000c60  4d 65 6e 75 4d 61 6b 65  72 5f 46 6f 6e 74 73 28  |MenuMaker_Fonts(|
00000c70  77 68 25 2c 69 68 25 29  0d 00 6f 2d f4 20 54 69  |wh%,ih%)..o-. Ti|
00000c80  63 6b 20 74 68 65 20 63  75 72 72 65 6e 74 20 66  |ck the current f|
00000c90  6f 6e 74 20 69 6e 20 74  68 65 20 46 6f 6e 74 4d  |ont in the FontM|
00000ca0  65 6e 75 2e 2e 0d 00 70  29 f2 73 68 65 6c 6c 5f  |enu....p).shell_|
00000cb0  46 6f 6e 74 4d 65 6e 75  53 65 6c 65 63 74 46 6f  |FontMenuSelectFo|
00000cc0  6e 74 28 6d 79 5f 66 6f  6e 74 24 2c 31 29 0d 00  |nt(my_font$,1)..|
00000cd0  71 06 3d 30 0d 00 72 05  3a 0d 00 73 04 0d 00 74  |q.=0..r.:..s...t|
00000ce0  46 f4 20 3d 3d 3d 3d 3d  20 4d 65 6e 75 5f 57 61  |F. ===== Menu_Wa|
00000cf0  72 6e 20 72 6f 75 74 69  6e 65 73 20 3d 3d 3d 3d  |rn routines ====|
00000d00  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
*
00000d20  3d 3d 3d 0d 00 75 04 0d  00 76 1e dd 20 a4 5f 77  |===..u...v.. ._w|
00000d30  61 72 6e 5f 46 6f 6e 74  4d 65 6e 75 28 77 68 25  |arn_FontMenu(wh%|
00000d40  2c 69 68 25 29 0d 00 77  2d f4 20 54 69 63 6b 20  |,ih%)..w-. Tick |
00000d50  74 68 65 20 63 75 72 72  65 6e 74 20 66 6f 6e 74  |the current font|
00000d60  20 69 6e 20 74 68 65 20  46 6f 6e 74 4d 65 6e 75  | in the FontMenu|
00000d70  2e 2e 0d 00 78 29 f2 73  68 65 6c 6c 5f 46 6f 6e  |....x).shell_Fon|
00000d80  74 4d 65 6e 75 53 65 6c  65 63 74 46 6f 6e 74 28  |tMenuSelectFont(|
00000d90  6d 79 5f 66 6f 6e 74 24  2c 31 29 0d 00 79 06 3d  |my_font$,1)..y.=|
00000da0  30 0d 00 7a 05 3a 0d 00  7b 1d dd 20 f2 73 65 6c  |0..z.:..{.. .sel|
00000db0  65 63 74 5f 6e 65 77 5f  66 6f 6e 74 28 66 6f 6e  |ect_new_font(fon|
00000dc0  74 24 29 0d 00 7c 30 f4  20 41 20 66 6f 6e 74 20  |t$)..|0. A font |
00000dd0  68 61 73 20 62 65 65 6e  20 73 65 6c 65 63 74 65  |has been selecte|
00000de0  64 20 69 6e 20 74 68 65  20 46 6f 6e 74 4d 65 6e  |d in the FontMen|
00000df0  75 2e 2e 0d 00 7d 12 6d  79 5f 66 6f 6e 74 24 3d  |u....}.my_font$=|
00000e00  66 6f 6e 74 24 0d 00 7e  23 c8 99 20 22 46 6f 6e  |font$..~#.. "Fon|
00000e10  74 5f 4c 6f 73 65 46 6f  6e 74 22 2c 66 6f 6e 74  |t_LoseFont",font|
00000e20  5f 68 61 6e 64 6c 65 25  0d 00 7f 30 f2 73 68 65  |_handle%...0.she|
00000e30  6c 6c 5f 46 69 6e 64 46  6f 6e 74 28 6d 79 5f 66  |ll_FindFont(my_f|
00000e40  6f 6e 74 24 2c 32 34 2c  32 34 2c 66 6f 6e 74 5f  |ont$,24,24,font_|
00000e50  68 61 6e 64 6c 65 25 29  0d 00 80 22 c8 99 20 22  |handle%)...".. "|
00000e60  46 6f 6e 74 5f 53 65 74  46 6f 6e 74 22 2c 66 6f  |Font_SetFont",fo|
00000e70  6e 74 5f 68 61 6e 64 6c  65 25 0d 00 81 2f c8 99  |nt_handle%.../..|
00000e80  20 22 57 69 6d 70 5f 46  6f 72 63 65 52 65 64 72  | "Wimp_ForceRedr|
00000e90  61 77 22 2c 6d 61 69 6e  77 25 2c 30 2c 2d 32 30  |aw",mainw%,0,-20|
00000ea0  30 30 2c 32 30 30 30 2c  30 0d 00 82 05 e1 0d 00  |00,2000,0.......|
00000eb0  83 05 3a 0d 00 84 1c dd  20 a4 5f 72 65 64 72 61  |..:..... ._redra|
00000ec0  77 28 62 6c 6b 25 2c 78  30 25 2c 79 30 25 29 0d  |w(blk%,x0%,y0%).|
00000ed0  00 85 1a c8 99 20 22 57  69 6d 70 5f 53 65 74 43  |..... "Wimp_SetC|
00000ee0  6f 6c 6f 75 72 22 2c 31  31 0d 00 86 1d c8 8f 20  |olour",11...... |
00000ef0  c8 90 20 78 30 25 2b 32  30 30 2c 79 30 25 2d 32  |.. x0%+200,y0%-2|
00000f00  30 30 2c 31 32 30 0d 00  87 19 c8 99 20 22 57 69  |00,120...... "Wi|
00000f10  6d 70 5f 53 65 74 43 6f  6c 6f 75 72 22 2c 38 0d  |mp_SetColour",8.|
00000f20  00 88 2e ec 20 78 30 25  2b 38 30 2c 79 30 25 2d  |.... x0%+80,y0%-|
00000f30  33 34 30 3a f1 20 22 54  68 69 73 20 69 73 20 61  |340:. "This is a|
00000f40  6e 20 65 78 61 6d 70 6c  65 20 6f 66 22 0d 00 89  |n example of"...|
00000f50  35 ec 20 78 30 25 2b 34  30 2c 79 30 25 2d 33 38  |5. x0%+40,y0%-38|
00000f60  30 3a f1 20 22 75 73 65  72 20 64 72 61 77 6e 20  |0:. "user drawn |
00000f70  74 65 78 74 20 61 6e 64  20 67 72 61 70 68 69 63  |text and graphic|
00000f80  73 22 0d 00 8a 2c ec 20  78 30 25 2b 39 35 2c 79  |s"...,. x0%+95,y|
00000f90  30 25 2d 34 32 30 3a f1  20 22 69 6e 20 61 20 64  |0%-420:. "in a d|
00000fa0  65 73 6b 74 6f 70 20 77  69 6e 64 6f 77 22 0d 00  |esktop window"..|
00000fb0  8b 47 c8 99 20 22 43 6f  6c 6f 75 72 54 72 61 6e  |.G.. "ColourTran|
00000fc0  73 5f 53 65 74 46 6f 6e  74 43 6f 6c 6f 75 72 73  |s_SetFontColours|
00000fd0  22 2c 66 6f 6e 74 5f 68  61 6e 64 6c 65 25 2c 26  |",font_handle%,&|
00000fe0  46 46 46 46 46 46 30 30  2c 26 30 30 30 30 30 30  |FFFFFF00,&000000|
00000ff0  30 30 2c 31 34 0d 00 8c  3e c8 99 20 22 46 6f 6e  |00,14...>.. "Fon|
00001000  74 5f 50 61 69 6e 74 22  2c 30 2c 22 41 6e 64 20  |t_Paint",0,"And |
00001010  4f 75 74 6c 69 6e 65 20  46 6f 6e 74 73 2e 2e 22  |Outline Fonts.."|
00001020  2c 31 3c 3c 34 2c 78 30  25 2b 31 30 2c 79 30 25  |,1<<4,x0%+10,y0%|
00001030  2d 37 30 0d 00 8d 06 3d  30 0d 00 8e 05 3a 0d 00  |-70....=0....:..|
00001040  8f 26 dd 20 a4 5f 43 6c  69 63 6b 53 65 6c 65 63  |.&. ._ClickSelec|
00001050  74 5f 49 63 6f 6e 42 61  72 28 77 68 25 2c 69 63  |t_IconBar(wh%,ic|
00001060  6f 6e 25 29 0d 00 90 23  f2 73 68 65 6c 6c 5f 4f  |on%)...#.shell_O|
00001070  70 65 6e 57 69 6e 64 6f  77 53 74 61 74 69 63 28  |penWindowStatic(|
00001080  6d 61 69 6e 77 25 29 0d  00 91 06 3d 30 0d 00 92  |mainw%)....=0...|
00001090  05 3a 0d 00 93 04 0d 00  94 46 f4 20 3d 3d 3d 3d  |.:.......F. ====|
000010a0  3d 20 44 69 61 6c 6f 67  5f 50 72 65 4f 70 65 6e  |= Dialog_PreOpen|
000010b0  20 72 6f 75 74 69 6e 65  73 20 3d 3d 3d 3d 3d 3d  | routines ======|
000010c0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |================|
000010d0  3d 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 0d 00 95 04  |============....|
000010e0  0d 00 96 18 dd 20 a4 5f  50 72 65 4f 70 65 6e 49  |..... ._PreOpenI|
000010f0  6e 66 6f 28 77 68 25 29  0d 00 97 41 f2 73 68 65  |nfo(wh%)...A.she|
00001100  6c 6c 5f 49 63 6f 6e 50  75 74 44 61 74 61 28 77  |ll_IconPutData(w|
00001110  68 25 2c 30 2c a4 73 68  65 6c 6c 5f 4d 65 73 73  |h%,0,.shell_Mess|
00001120  61 67 65 4e 6f 41 72 67  73 28 22 70 72 6f 67 49  |ageNoArgs("progI|
00001130  6e 66 6f 30 22 29 2c 30  29 0d 00 98 41 f2 73 68  |nfo0"),0)...A.sh|
00001140  65 6c 6c 5f 49 63 6f 6e  50 75 74 44 61 74 61 28  |ell_IconPutData(|
00001150  77 68 25 2c 31 2c a4 73  68 65 6c 6c 5f 4d 65 73  |wh%,1,.shell_Mes|
00001160  73 61 67 65 4e 6f 41 72  67 73 28 22 70 72 6f 67  |sageNoArgs("prog|
00001170  49 6e 66 6f 31 22 29 2c  30 29 0d 00 99 41 f2 73  |Info1"),0)...A.s|
00001180  68 65 6c 6c 5f 49 63 6f  6e 50 75 74 44 61 74 61  |hell_IconPutData|
00001190  28 77 68 25 2c 32 2c a4  73 68 65 6c 6c 5f 4d 65  |(wh%,2,.shell_Me|
000011a0  73 73 61 67 65 4e 6f 41  72 67 73 28 22 70 72 6f  |ssageNoArgs("pro|
000011b0  67 49 6e 66 6f 32 22 29  2c 30 29 0d 00 9a 41 f2  |gInfo2"),0)...A.|
000011c0  73 68 65 6c 6c 5f 49 63  6f 6e 50 75 74 44 61 74  |shell_IconPutDat|
000011d0  61 28 77 68 25 2c 33 2c  a4 73 68 65 6c 6c 5f 4d  |a(wh%,3,.shell_M|
000011e0  65 73 73 61 67 65 4e 6f  41 72 67 73 28 22 70 72  |essageNoArgs("pr|
000011f0  6f 67 49 6e 66 6f 33 22  29 2c 30 29 0d 00 9b 06  |ogInfo3"),0)....|
00001200  3d 30 0d 00 9c 05 3a 0d  00 9d 04 0d 00 9e 4a f4  |=0....:.......J.|
00001210  20 3d 3d 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  | ===============|
00001220  3d 3d 3d 3d 20 52 6f 75  74 69 6e 65 73 20 74 6f  |==== Routines to|
00001230  20 67 6f 20 69 6e 20 74  68 65 20 6c 69 62 72 61  | go in the libra|
00001240  72 79 20 3d 3d 3d 3d 3d  3d 3d 3d 3d 3d 3d 3d 3d  |ry =============|
00001250  3d 3d 3d 3d 3d 0d 00 9f  05 3a 0d 00 a0 04 0d ff  |=====....:......|
00001260