Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/Examples/!Panes/!Panes
!AWJan95/Goodies/Event/Examples/!Panes/!Panes
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/!Panes/!Panes |
Read OK: | ✔ |
File size: | 0F20 bytes |
Load address: | 0000 |
Exec address: | 0000 |
File contents
1REM > <Panes$Dir>.!Panes 2: 3ON ERROR PROCshell_Error 4: 5LIBRARY "<EvntShell$Path>ShellLib" 6: 7SYS "Hourglass_On" 8: 9SYS "Wimp_SlotSize",-1,-1 TO progsize% 10pagesize%=1<<10 11freespace%=&8000+progsize% 12END=freespace%+pagesize% 13HIMEM=freespace% 14: 15PROCshell_HeapManagerInit("<EvntShell$Path>",freespace%) 16PROCshell_Init 17task%=FNshell_WimpInit_I(200,"Event Shell Program") 18REM PROCshell_TraceInit("") 19REM PROCshell_TraceOn 20PROCshell_ResourcesInit 21PROCapp_init 22: 23REM -------------------- Initialise Variables ---------------------------- 24: 25_closedown% =FALSE :REM Set this to TRUE when you want the program to 26 :REM end 27changed% =FALSE :REM Used to keep track of whether the data has 28 :REM been changed. Call PROCfile_changed() when it 29 :REM has. But if the program does not use data 30 :REM files just ignore this variable but do not 31 :REM delete it as the program checks it before 32 :REM exiting! 33: 34REM -------------------- Miscelleanous Initialisation -------------------- 35: 36SYS "Hourglass_Off" 37ON ERROR OFF 38ON ERROR PROCshell_Error 39REPEAT 40 PROCshell_Action(FNshell_Poll_I(0,task%)) 41UNTIL _closedown% 42: 43PROCshell_Exit:END 44: 45REM ====================================================================== 46: 47DEF PROCapp_init 48PROCSetUp_Menus 49PROCSetUp_Windows 50PROCSetUp_IconBar 51PROCshell_InitHelpSystem(FNshell_GetAppDir+"."+FNshell_GetAppName,TRUE) 52ENDPROC 53: 54 55REM ===== Menu_Setup routines ====================================== 56 57DEF PROCSetUp_Menus 58LOCAL void% 59 60MenuHandle_IconBar%=FNshell_MenuNew("Panes") 61MenuItem_Info% =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Info"),"") 62void% =FNshell_MenuAdd(0,FNshell_MessageNoArgs("Quit"),"_MenuSelect_Quit") 63PROCshell_AttachMenuDBox(MenuItem_Info%,"progInfo","_PreOpenInfo","") 64 65ENDPROC 66: 67 68REM ===== Window_SetUp routines ==================================== 69 70DEF PROCSetUp_Windows 71PROCshell_CreateWindowStatic("mainw",mainw%) 72PROCshell_CreateWindowStatic("mainw2",mainw2%) 73PROCshell_CreateWindowStatic("pane1",pane1%) 74PROCshell_CreateWindowStatic("pane2",pane2%) 75PROCshell_CreateWindowStatic("pane3",pane3%) 76PROCshell_AttachPane(mainw%,pane1%,0,315,-78) 77PROCshell_AttachPane(mainw2%,pane2%,1,-86,-0):REM toolbox pane 78PROCshell_AttachPane(mainw2%,pane3%,2,0,0) :REM top pane 79ENDPROC 80: 81 82REM ===== IconBar_SetUp routines =================================== 83 84DEF PROCSetUp_IconBar 85sicon=FNshell_Iconbar(-1,"!"+FNshell_GetAppName,"",120,MenuHandle_IconBar%,0,0,0) 86PROCshell_AttachHelpTag(-1,sicon,"iconbar") 87PROCshell_AttachClickSelect(-1,sicon,"_ClickSelect_IconBar") 88ENDPROC 89: 90 91REM ===== Dialog_PreOpen routines ================================== 92 93DEF FN_PreOpenInfo(wh%) 94PROCshell_IconPutData(wh%,0,FNshell_MessageNoArgs("progInfo0"),0) 95PROCshell_IconPutData(wh%,1,FNshell_MessageNoArgs("progInfo1"),0) 96PROCshell_IconPutData(wh%,2,FNshell_MessageNoArgs("progInfo2"),0) 97PROCshell_IconPutData(wh%,3,FNshell_MessageNoArgs("progInfo3"),0) 98=0 99: 100 101REM ===== Dialog_PostOpen routines ================================= 102 103REM ===== Click_Select routines ==================================== 104 105DEF FN_ClickSelect_IconBar(wh%,icon%) 106PROCshell_OpenWindowStatic(mainw%) 107PROCshell_OpenWindowStatic(mainw2%) 108=0 109: 110 111REM ===== Click_Adjust routines ==================================== 112 113REM ===== Menu_Select routines ===================================== 114 115DEF FN_MenuSelect_Quit(blk%) 116_closedown%=TRUE 117=0 118: 119 120REM ===== Menu_Warning routines ==================================== 121 122REM ===== Data_Load routines ======================================= 123 124REM ===== Data_Save routines ======================================= 125 126REM ================= End Of User Application ============================ 127:
� > <Panes$Dir>.!Panes : � � �shell_Error : !ț "<EvntShell$Path>ShellLib" : ș "Hourglass_On" : (ș "Wimp_SlotSize",-1,-1 � progsize% pagesize%=1<<10 freespace%=&8000+progsize% �=freespace%+pagesize% �=freespace% : 9�shell_HeapManagerInit("<EvntShell$Path>",freespace%) �shell_Init 6task%=�shell_WimpInit_I(200,"Event Shell Program") � PROCshell_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 -------------------- #: $ș "Hourglass_Off" % � � � &� � �shell_Error '� (+ �shell_Action(�shell_Poll_I(0,task%)) )� _closedown% *: +�shell_Exit:� ,: -L� ====================================================================== .: /� �app_init 0�SetUp_Menus 1�SetUp_Windows 2�SetUp_IconBar 3C�shell_InitHelpSystem(�shell_GetAppDir+"."+�shell_GetAppName,�) 4� 5: 6 7F� ===== Menu_Setup routines ====================================== 8 9� �SetUp_Menus :� void% ; </MenuHandle_IconBar%=�shell_MenuNew("Panes") =IMenuItem_Info% =�shell_MenuAdd(0,�shell_MessageNoArgs("Info"),"") >Yvoid% =�shell_MenuAdd(0,�shell_MessageNoArgs("Quit"),"_MenuSelect_Quit") ?F�shell_AttachMenuDBox(MenuItem_Info%,"progInfo","_PreOpenInfo","") @ A� B: C DF� ===== Window_SetUp routines ==================================== E F� �SetUp_Windows G-�shell_CreateWindowStatic("mainw",mainw%) H/�shell_CreateWindowStatic("mainw2",mainw2%) I-�shell_CreateWindowStatic("pane1",pane1%) J-�shell_CreateWindowStatic("pane2",pane2%) K-�shell_CreateWindowStatic("pane3",pane3%) L.�shell_AttachPane(mainw%,pane1%,0,315,-78) M=�shell_AttachPane(mainw2%,pane2%,1,-86,-0):� toolbox pane N9�shell_AttachPane(mainw2%,pane3%,2,0,0) :� top pane O� P: Q RF� ===== IconBar_SetUp routines =================================== S T� �SetUp_IconBar USsicon=�shell_Iconbar(-1,"!"+�shell_GetAppName,"",120,MenuHandle_IconBar%,0,0,0) V,�shell_AttachHelpTag(-1,sicon,"iconbar") W=�shell_AttachClickSelect(-1,sicon,"_ClickSelect_IconBar") X� Y: Z [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) aA�shell_IconPutData(wh%,3,�shell_MessageNoArgs("progInfo3"),0) b=0 c: d eF� ===== Dialog_PostOpen routines ================================= f gF� ===== Click_Select routines ==================================== h i&� �_ClickSelect_IconBar(wh%,icon%) j#�shell_OpenWindowStatic(mainw%) k$�shell_OpenWindowStatic(mainw2%) l=0 m: n oF� ===== Click_Adjust routines ==================================== p qF� ===== Menu_Select routines ===================================== r s� �_MenuSelect_Quit(blk%) t_closedown%=� u=0 v: w xF� ===== Menu_Warning routines ==================================== y zF� ===== Data_Load routines ======================================= { |F� ===== Data_Save routines ======================================= } ~L� ================= End Of User Application ============================ : �
00000000 0d 00 01 1a f4 20 3e 20 3c 50 61 6e 65 73 24 44 |..... > <Panes$D| 00000010 69 72 3e 2e 21 50 61 6e 65 73 0d 00 02 05 3a 0d |ir>.!Panes....:.| 00000020 00 03 14 ee 20 85 20 f2 73 68 65 6c 6c 5f 45 72 |.... . .shell_Er| 00000030 72 6f 72 0d 00 04 05 3a 0d 00 05 21 c8 9b 20 22 |ror....:...!.. "| 00000040 3c 45 76 6e 74 53 68 65 6c 6c 24 50 61 74 68 3e |<EvntShell$Path>| 00000050 53 68 65 6c 6c 4c 69 62 22 0d 00 06 05 3a 0d 00 |ShellLib"....:..| 00000060 07 15 c8 99 20 22 48 6f 75 72 67 6c 61 73 73 5f |.... "Hourglass_| 00000070 4f 6e 22 0d 00 08 05 3a 0d 00 09 28 c8 99 20 22 |On"....:...(.. "| 00000080 57 69 6d 70 5f 53 6c 6f 74 53 69 7a 65 22 2c 2d |Wimp_SlotSize",-| 00000090 31 2c 2d 31 20 b8 20 70 72 6f 67 73 69 7a 65 25 |1,-1 . progsize%| 000000a0 0d 00 0a 13 70 61 67 65 73 69 7a 65 25 3d 31 3c |....pagesize%=1<| 000000b0 3c 31 30 0d 00 0b 1e 66 72 65 65 73 70 61 63 65 |<10....freespace| 000000c0 25 3d 26 38 30 30 30 2b 70 72 6f 67 73 69 7a 65 |%=&8000+progsize| 000000d0 25 0d 00 0c 1a e0 3d 66 72 65 65 73 70 61 63 65 |%.....=freespace| 000000e0 25 2b 70 61 67 65 73 69 7a 65 25 0d 00 0d 10 d3 |%+pagesize%.....| 000000f0 3d 66 72 65 65 73 70 61 63 65 25 0d 00 0e 05 3a |=freespace%....:| 00000100 0d 00 0f 39 f2 73 68 65 6c 6c 5f 48 65 61 70 4d |...9.shell_HeapM| 00000110 61 6e 61 67 65 72 49 6e 69 74 28 22 3c 45 76 6e |anagerInit("<Evn| 00000120 74 53 68 65 6c 6c 24 50 61 74 68 3e 22 2c 66 72 |tShell$Path>",fr| 00000130 65 65 73 70 61 63 65 25 29 0d 00 10 0f f2 73 68 |eespace%).....sh| 00000140 65 6c 6c 5f 49 6e 69 74 0d 00 11 36 74 61 73 6b |ell_Init...6task| 00000150 25 3d a4 73 68 65 6c 6c 5f 57 69 6d 70 49 6e 69 |%=.shell_WimpIni| 00000160 74 5f 49 28 32 30 30 2c 22 45 76 65 6e 74 20 53 |t_I(200,"Event S| 00000170 68 65 6c 6c 20 50 72 6f 67 72 61 6d 22 29 0d 00 |hell Program")..| 00000180 12 1d f4 20 50 52 4f 43 73 68 65 6c 6c 5f 54 72 |... PROCshell_Tr| 00000190 61 63 65 49 6e 69 74 28 22 22 29 0d 00 13 17 f4 |aceInit("").....| 000001a0 20 50 52 4f 43 73 68 65 6c 6c 5f 54 72 61 63 65 | PROCshell_Trace| 000001b0 4f 6e 0d 00 14 18 f2 73 68 65 6c 6c 5f 52 65 73 |On.....shell_Res| 000001c0 6f 75 72 63 65 73 49 6e 69 74 0d 00 15 0d f2 61 |ourcesInit.....a| 000001d0 70 70 5f 69 6e 69 74 0d 00 16 05 3a 0d 00 17 4c |pp_init....:...L| 000001e0 f4 20 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |. --------------| 000001f0 2d 2d 2d 2d 2d 2d 20 49 6e 69 74 69 61 6c 69 73 |------ Initialis| 00000200 65 20 56 61 72 69 61 62 6c 65 73 20 2d 2d 2d 2d |e Variables ----| 00000210 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00000220 2d 2d 2d 2d 2d 2d 2d 2d 0d 00 18 05 3a 0d 00 19 |--------....:...| 00000230 47 5f 63 6c 6f 73 65 64 6f 77 6e 25 20 20 20 20 |G_closedown% | 00000240 20 3d a3 20 3a f4 20 53 65 74 20 74 68 69 73 20 | =. :. Set this | 00000250 74 6f 20 54 52 55 45 20 77 68 65 6e 20 79 6f 75 |to TRUE when you| 00000260 20 77 61 6e 74 20 74 68 65 20 70 72 6f 67 72 61 | want the progra| 00000270 6d 20 74 6f 0d 00 1a 21 20 20 20 20 20 20 20 20 |m to...! | 00000280 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a | :| 00000290 f4 20 65 6e 64 0d 00 1b 44 63 68 61 6e 67 65 64 |. end...Dchanged| 000002a0 25 20 20 20 20 20 20 20 20 3d a3 20 3a f4 20 55 |% =. :. U| 000002b0 73 65 64 20 74 6f 20 6b 65 65 70 20 74 72 61 63 |sed to keep trac| 000002c0 6b 20 6f 66 20 77 68 65 74 68 65 72 20 74 68 65 |k of whether the| 000002d0 20 64 61 74 61 20 68 61 73 0d 00 1c 4b 20 20 20 | data has...K | 000002e0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 000002f0 20 20 20 20 3a f4 20 62 65 65 6e 20 63 68 61 6e | :. been chan| 00000300 67 65 64 2e 20 43 61 6c 6c 20 50 52 4f 43 66 69 |ged. Call PROCfi| 00000310 6c 65 5f 63 68 61 6e 67 65 64 28 29 20 77 68 65 |le_changed() whe| 00000320 6e 20 69 74 0d 00 1d 47 20 20 20 20 20 20 20 20 |n it...G | 00000330 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a | :| 00000340 f4 20 68 61 73 2e 20 42 75 74 20 69 66 20 74 68 |. has. But if th| 00000350 65 20 70 72 6f 67 72 61 6d 20 64 6f 65 73 20 6e |e program does n| 00000360 6f 74 20 75 73 65 20 64 61 74 61 0d 00 1e 48 20 |ot use data...H | 00000370 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000380 20 20 20 20 20 20 3a f4 20 66 69 6c 65 73 20 6a | :. files j| 00000390 75 73 74 20 69 67 6e 6f 72 65 20 74 68 69 73 20 |ust ignore this | 000003a0 76 61 72 69 61 62 6c 65 20 62 75 74 20 64 6f 20 |variable but do | 000003b0 6e 6f 74 0d 00 1f 47 20 20 20 20 20 20 20 20 20 |not...G | 000003c0 20 20 20 20 20 20 20 20 20 20 20 20 20 20 3a f4 | :.| 000003d0 20 64 65 6c 65 74 65 20 69 74 20 61 73 20 74 68 | delete it as th| 000003e0 65 20 70 72 6f 67 72 61 6d 20 63 68 65 63 6b 73 |e program checks| 000003f0 20 69 74 20 62 65 66 6f 72 65 0d 00 20 26 20 20 | it before.. & | 00000400 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | | 00000410 20 20 20 20 20 3a f4 20 65 78 69 74 69 6e 67 21 | :. exiting!| 00000420 0d 00 21 05 3a 0d 00 22 4c f4 20 2d 2d 2d 2d 2d |..!.:.."L. -----| 00000430 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 20 |--------------- | 00000440 4d 69 73 63 65 6c 6c 65 61 6e 6f 75 73 20 49 6e |Miscelleanous In| 00000450 69 74 69 61 6c 69 73 61 74 69 6f 6e 20 2d 2d 2d |itialisation ---| 00000460 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d |----------------| 00000470 2d 0d 00 23 05 3a 0d 00 24 16 c8 99 20 22 48 6f |-..#.:..$... "Ho| 00000480 75 72 67 6c 61 73 73 5f 4f 66 66 22 0d 00 25 09 |urglass_Off"..%.| 00000490 ee 20 85 20 87 0d 00 26 14 ee 20 85 20 f2 73 68 |. . ...&.. . .sh| 000004a0 65 6c 6c 5f 45 72 72 6f 72 0d 00 27 05 f5 0d 00 |ell_Error..'....| 000004b0 28 2b 20 20 f2 73 68 65 6c 6c 5f 41 63 74 69 6f |(+ .shell_Actio| 000004c0 6e 28 a4 73 68 65 6c 6c 5f 50 6f 6c 6c 5f 49 28 |n(.shell_Poll_I(| 000004d0 30 2c 74 61 73 6b 25 29 29 0d 00 29 11 fd 20 5f |0,task%))..).. _| 000004e0 63 6c 6f 73 65 64 6f 77 6e 25 0d 00 2a 05 3a 0d |closedown%..*.:.| 000004f0 00 2b 11 f2 73 68 65 6c 6c 5f 45 78 69 74 3a e0 |.+..shell_Exit:.| 00000500 0d 00 2c 05 3a 0d 00 2d 4c f4 20 3d 3d 3d 3d 3d |..,.:..-L. =====| 00000510 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000550 3d 0d 00 2e 05 3a 0d 00 2f 0f dd 20 f2 61 70 70 |=....:../.. .app| 00000560 5f 69 6e 69 74 0d 00 30 10 f2 53 65 74 55 70 5f |_init..0..SetUp_| 00000570 4d 65 6e 75 73 0d 00 31 12 f2 53 65 74 55 70 5f |Menus..1..SetUp_| 00000580 57 69 6e 64 6f 77 73 0d 00 32 12 f2 53 65 74 55 |Windows..2..SetU| 00000590 70 5f 49 63 6f 6e 42 61 72 0d 00 33 43 f2 73 68 |p_IconBar..3C.sh| 000005a0 65 6c 6c 5f 49 6e 69 74 48 65 6c 70 53 79 73 74 |ell_InitHelpSyst| 000005b0 65 6d 28 a4 73 68 65 6c 6c 5f 47 65 74 41 70 70 |em(.shell_GetApp| 000005c0 44 69 72 2b 22 2e 22 2b a4 73 68 65 6c 6c 5f 47 |Dir+"."+.shell_G| 000005d0 65 74 41 70 70 4e 61 6d 65 2c b9 29 0d 00 34 05 |etAppName,.)..4.| 000005e0 e1 0d 00 35 05 3a 0d 00 36 04 0d 00 37 46 f4 20 |...5.:..6...7F. | 000005f0 3d 3d 3d 3d 3d 20 4d 65 6e 75 5f 53 65 74 75 70 |===== Menu_Setup| 00000600 20 72 6f 75 74 69 6e 65 73 20 3d 3d 3d 3d 3d 3d | routines ======| 00000610 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000630 0d 00 38 04 0d 00 39 12 dd 20 f2 53 65 74 55 70 |..8...9.. .SetUp| 00000640 5f 4d 65 6e 75 73 0d 00 3a 0b ea 20 76 6f 69 64 |_Menus..:.. void| 00000650 25 0d 00 3b 04 0d 00 3c 2f 4d 65 6e 75 48 61 6e |%..;...</MenuHan| 00000660 64 6c 65 5f 49 63 6f 6e 42 61 72 25 3d a4 73 68 |dle_IconBar%=.sh| 00000670 65 6c 6c 5f 4d 65 6e 75 4e 65 77 28 22 50 61 6e |ell_MenuNew("Pan| 00000680 65 73 22 29 0d 00 3d 49 4d 65 6e 75 49 74 65 6d |es")..=IMenuItem| 00000690 5f 49 6e 66 6f 25 20 20 20 20 20 3d a4 73 68 65 |_Info% =.she| 000006a0 6c 6c 5f 4d 65 6e 75 41 64 64 28 30 2c a4 73 68 |ll_MenuAdd(0,.sh| 000006b0 65 6c 6c 5f 4d 65 73 73 61 67 65 4e 6f 41 72 67 |ell_MessageNoArg| 000006c0 73 28 22 49 6e 66 6f 22 29 2c 22 22 29 0d 00 3e |s("Info"),"")..>| 000006d0 59 76 6f 69 64 25 20 20 20 20 20 20 20 20 20 20 |Yvoid% | 000006e0 20 20 20 20 3d a4 73 68 65 6c 6c 5f 4d 65 6e 75 | =.shell_Menu| 000006f0 41 64 64 28 30 2c a4 73 68 65 6c 6c 5f 4d 65 73 |Add(0,.shell_Mes| 00000700 73 61 67 65 4e 6f 41 72 67 73 28 22 51 75 69 74 |sageNoArgs("Quit| 00000710 22 29 2c 22 5f 4d 65 6e 75 53 65 6c 65 63 74 5f |"),"_MenuSelect_| 00000720 51 75 69 74 22 29 0d 00 3f 46 f2 73 68 65 6c 6c |Quit")..?F.shell| 00000730 5f 41 74 74 61 63 68 4d 65 6e 75 44 42 6f 78 28 |_AttachMenuDBox(| 00000740 4d 65 6e 75 49 74 65 6d 5f 49 6e 66 6f 25 2c 22 |MenuItem_Info%,"| 00000750 70 72 6f 67 49 6e 66 6f 22 2c 22 5f 50 72 65 4f |progInfo","_PreO| 00000760 70 65 6e 49 6e 66 6f 22 2c 22 22 29 0d 00 40 04 |penInfo","")..@.| 00000770 0d 00 41 05 e1 0d 00 42 05 3a 0d 00 43 04 0d 00 |..A....B.:..C...| 00000780 44 46 f4 20 3d 3d 3d 3d 3d 20 57 69 6e 64 6f 77 |DF. ===== Window| 00000790 5f 53 65 74 55 70 20 72 6f 75 74 69 6e 65 73 20 |_SetUp routines | 000007a0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 000007c0 3d 3d 3d 3d 0d 00 45 04 0d 00 46 14 dd 20 f2 53 |====..E...F.. .S| 000007d0 65 74 55 70 5f 57 69 6e 64 6f 77 73 0d 00 47 2d |etUp_Windows..G-| 000007e0 f2 73 68 65 6c 6c 5f 43 72 65 61 74 65 57 69 6e |.shell_CreateWin| 000007f0 64 6f 77 53 74 61 74 69 63 28 22 6d 61 69 6e 77 |dowStatic("mainw| 00000800 22 2c 6d 61 69 6e 77 25 29 0d 00 48 2f f2 73 68 |",mainw%)..H/.sh| 00000810 65 6c 6c 5f 43 72 65 61 74 65 57 69 6e 64 6f 77 |ell_CreateWindow| 00000820 53 74 61 74 69 63 28 22 6d 61 69 6e 77 32 22 2c |Static("mainw2",| 00000830 6d 61 69 6e 77 32 25 29 0d 00 49 2d f2 73 68 65 |mainw2%)..I-.she| 00000840 6c 6c 5f 43 72 65 61 74 65 57 69 6e 64 6f 77 53 |ll_CreateWindowS| 00000850 74 61 74 69 63 28 22 70 61 6e 65 31 22 2c 70 61 |tatic("pane1",pa| 00000860 6e 65 31 25 29 0d 00 4a 2d f2 73 68 65 6c 6c 5f |ne1%)..J-.shell_| 00000870 43 72 65 61 74 65 57 69 6e 64 6f 77 53 74 61 74 |CreateWindowStat| 00000880 69 63 28 22 70 61 6e 65 32 22 2c 70 61 6e 65 32 |ic("pane2",pane2| 00000890 25 29 0d 00 4b 2d f2 73 68 65 6c 6c 5f 43 72 65 |%)..K-.shell_Cre| 000008a0 61 74 65 57 69 6e 64 6f 77 53 74 61 74 69 63 28 |ateWindowStatic(| 000008b0 22 70 61 6e 65 33 22 2c 70 61 6e 65 33 25 29 0d |"pane3",pane3%).| 000008c0 00 4c 2e f2 73 68 65 6c 6c 5f 41 74 74 61 63 68 |.L..shell_Attach| 000008d0 50 61 6e 65 28 6d 61 69 6e 77 25 2c 70 61 6e 65 |Pane(mainw%,pane| 000008e0 31 25 2c 30 2c 33 31 35 2c 2d 37 38 29 0d 00 4d |1%,0,315,-78)..M| 000008f0 3d f2 73 68 65 6c 6c 5f 41 74 74 61 63 68 50 61 |=.shell_AttachPa| 00000900 6e 65 28 6d 61 69 6e 77 32 25 2c 70 61 6e 65 32 |ne(mainw2%,pane2| 00000910 25 2c 31 2c 2d 38 36 2c 2d 30 29 3a f4 20 74 6f |%,1,-86,-0):. to| 00000920 6f 6c 62 6f 78 20 70 61 6e 65 0d 00 4e 39 f2 73 |olbox pane..N9.s| 00000930 68 65 6c 6c 5f 41 74 74 61 63 68 50 61 6e 65 28 |hell_AttachPane(| 00000940 6d 61 69 6e 77 32 25 2c 70 61 6e 65 33 25 2c 32 |mainw2%,pane3%,2| 00000950 2c 30 2c 30 29 20 20 20 3a f4 20 74 6f 70 20 70 |,0,0) :. top p| 00000960 61 6e 65 0d 00 4f 05 e1 0d 00 50 05 3a 0d 00 51 |ane..O....P.:..Q| 00000970 04 0d 00 52 46 f4 20 3d 3d 3d 3d 3d 20 49 63 6f |...RF. ===== Ico| 00000980 6e 42 61 72 5f 53 65 74 55 70 20 72 6f 75 74 69 |nBar_SetUp routi| 00000990 6e 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |nes ============| 000009a0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 000009b0 3d 3d 3d 3d 3d 3d 3d 0d 00 53 04 0d 00 54 14 dd |=======..S...T..| 000009c0 20 f2 53 65 74 55 70 5f 49 63 6f 6e 42 61 72 0d | .SetUp_IconBar.| 000009d0 00 55 53 73 69 63 6f 6e 3d a4 73 68 65 6c 6c 5f |.USsicon=.shell_| 000009e0 49 63 6f 6e 62 61 72 28 2d 31 2c 22 21 22 2b a4 |Iconbar(-1,"!"+.| 000009f0 73 68 65 6c 6c 5f 47 65 74 41 70 70 4e 61 6d 65 |shell_GetAppName| 00000a00 2c 22 22 2c 31 32 30 2c 4d 65 6e 75 48 61 6e 64 |,"",120,MenuHand| 00000a10 6c 65 5f 49 63 6f 6e 42 61 72 25 2c 30 2c 30 2c |le_IconBar%,0,0,| 00000a20 30 29 0d 00 56 2c f2 73 68 65 6c 6c 5f 41 74 74 |0)..V,.shell_Att| 00000a30 61 63 68 48 65 6c 70 54 61 67 28 2d 31 2c 73 69 |achHelpTag(-1,si| 00000a40 63 6f 6e 2c 22 69 63 6f 6e 62 61 72 22 29 0d 00 |con,"iconbar")..| 00000a50 57 3d f2 73 68 65 6c 6c 5f 41 74 74 61 63 68 43 |W=.shell_AttachC| 00000a60 6c 69 63 6b 53 65 6c 65 63 74 28 2d 31 2c 73 69 |lickSelect(-1,si| 00000a70 63 6f 6e 2c 22 5f 43 6c 69 63 6b 53 65 6c 65 63 |con,"_ClickSelec| 00000a80 74 5f 49 63 6f 6e 42 61 72 22 29 0d 00 58 05 e1 |t_IconBar")..X..| 00000a90 0d 00 59 05 3a 0d 00 5a 04 0d 00 5b 46 f4 20 3d |..Y.:..Z...[F. =| 00000aa0 3d 3d 3d 3d 20 44 69 61 6c 6f 67 5f 50 72 65 4f |==== Dialog_PreO| 00000ab0 70 65 6e 20 72 6f 75 74 69 6e 65 73 20 3d 3d 3d |pen routines ===| 00000ac0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000ad0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d |===============.| 00000ae0 00 5c 04 0d 00 5d 18 dd 20 a4 5f 50 72 65 4f 70 |.\...].. ._PreOp| 00000af0 65 6e 49 6e 66 6f 28 77 68 25 29 0d 00 5e 41 f2 |enInfo(wh%)..^A.| 00000b00 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 74 44 61 74 |shell_IconPutDat| 00000b10 61 28 77 68 25 2c 30 2c a4 73 68 65 6c 6c 5f 4d |a(wh%,0,.shell_M| 00000b20 65 73 73 61 67 65 4e 6f 41 72 67 73 28 22 70 72 |essageNoArgs("pr| 00000b30 6f 67 49 6e 66 6f 30 22 29 2c 30 29 0d 00 5f 41 |ogInfo0"),0).._A| 00000b40 f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 74 44 61 |.shell_IconPutDa| 00000b50 74 61 28 77 68 25 2c 31 2c a4 73 68 65 6c 6c 5f |ta(wh%,1,.shell_| 00000b60 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 22 70 |MessageNoArgs("p| 00000b70 72 6f 67 49 6e 66 6f 31 22 29 2c 30 29 0d 00 60 |rogInfo1"),0)..`| 00000b80 41 f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 74 44 |A.shell_IconPutD| 00000b90 61 74 61 28 77 68 25 2c 32 2c a4 73 68 65 6c 6c |ata(wh%,2,.shell| 00000ba0 5f 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 22 |_MessageNoArgs("| 00000bb0 70 72 6f 67 49 6e 66 6f 32 22 29 2c 30 29 0d 00 |progInfo2"),0)..| 00000bc0 61 41 f2 73 68 65 6c 6c 5f 49 63 6f 6e 50 75 74 |aA.shell_IconPut| 00000bd0 44 61 74 61 28 77 68 25 2c 33 2c a4 73 68 65 6c |Data(wh%,3,.shel| 00000be0 6c 5f 4d 65 73 73 61 67 65 4e 6f 41 72 67 73 28 |l_MessageNoArgs(| 00000bf0 22 70 72 6f 67 49 6e 66 6f 33 22 29 2c 30 29 0d |"progInfo3"),0).| 00000c00 00 62 06 3d 30 0d 00 63 05 3a 0d 00 64 04 0d 00 |.b.=0..c.:..d...| 00000c10 65 46 f4 20 3d 3d 3d 3d 3d 20 44 69 61 6c 6f 67 |eF. ===== Dialog| 00000c20 5f 50 6f 73 74 4f 70 65 6e 20 72 6f 75 74 69 6e |_PostOpen routin| 00000c30 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |es =============| 00000c40 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000c50 3d 3d 3d 3d 0d 00 66 04 0d 00 67 46 f4 20 3d 3d |====..f...gF. ==| 00000c60 3d 3d 3d 20 43 6c 69 63 6b 5f 53 65 6c 65 63 74 |=== Click_Select| 00000c70 20 72 6f 75 74 69 6e 65 73 20 3d 3d 3d 3d 3d 3d | routines ======| 00000c80 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000c90 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 |==============..| 00000ca0 68 04 0d 00 69 26 dd 20 a4 5f 43 6c 69 63 6b 53 |h...i&. ._ClickS| 00000cb0 65 6c 65 63 74 5f 49 63 6f 6e 42 61 72 28 77 68 |elect_IconBar(wh| 00000cc0 25 2c 69 63 6f 6e 25 29 0d 00 6a 23 f2 73 68 65 |%,icon%)..j#.she| 00000cd0 6c 6c 5f 4f 70 65 6e 57 69 6e 64 6f 77 53 74 61 |ll_OpenWindowSta| 00000ce0 74 69 63 28 6d 61 69 6e 77 25 29 0d 00 6b 24 f2 |tic(mainw%)..k$.| 00000cf0 73 68 65 6c 6c 5f 4f 70 65 6e 57 69 6e 64 6f 77 |shell_OpenWindow| 00000d00 53 74 61 74 69 63 28 6d 61 69 6e 77 32 25 29 0d |Static(mainw2%).| 00000d10 00 6c 06 3d 30 0d 00 6d 05 3a 0d 00 6e 04 0d 00 |.l.=0..m.:..n...| 00000d20 6f 46 f4 20 3d 3d 3d 3d 3d 20 43 6c 69 63 6b 5f |oF. ===== Click_| 00000d30 41 64 6a 75 73 74 20 72 6f 75 74 69 6e 65 73 20 |Adjust routines | 00000d40 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| * 00000d60 3d 3d 3d 3d 0d 00 70 04 0d 00 71 46 f4 20 3d 3d |====..p...qF. ==| 00000d70 3d 3d 3d 20 4d 65 6e 75 5f 53 65 6c 65 63 74 20 |=== Menu_Select | 00000d80 72 6f 75 74 69 6e 65 73 20 3d 3d 3d 3d 3d 3d 3d |routines =======| 00000d90 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000da0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 |==============..| 00000db0 72 04 0d 00 73 1d dd 20 a4 5f 4d 65 6e 75 53 65 |r...s.. ._MenuSe| 00000dc0 6c 65 63 74 5f 51 75 69 74 28 62 6c 6b 25 29 0d |lect_Quit(blk%).| 00000dd0 00 74 11 5f 63 6c 6f 73 65 64 6f 77 6e 25 3d b9 |.t._closedown%=.| 00000de0 0d 00 75 06 3d 30 0d 00 76 05 3a 0d 00 77 04 0d |..u.=0..v.:..w..| 00000df0 00 78 46 f4 20 3d 3d 3d 3d 3d 20 4d 65 6e 75 5f |.xF. ===== Menu_| 00000e00 57 61 72 6e 69 6e 67 20 72 6f 75 74 69 6e 65 73 |Warning routines| 00000e10 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d | ===============| 00000e20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000e30 3d 3d 3d 3d 3d 0d 00 79 04 0d 00 7a 46 f4 20 3d |=====..y...zF. =| 00000e40 3d 3d 3d 3d 20 44 61 74 61 5f 4c 6f 61 64 20 72 |==== Data_Load r| 00000e50 6f 75 74 69 6e 65 73 20 3d 3d 3d 3d 3d 3d 3d 3d |outines ========| 00000e60 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000e70 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d |===============.| 00000e80 00 7b 04 0d 00 7c 46 f4 20 3d 3d 3d 3d 3d 20 44 |.{...|F. ===== D| 00000e90 61 74 61 5f 53 61 76 65 20 72 6f 75 74 69 6e 65 |ata_Save routine| 00000ea0 73 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |s ==============| 00000eb0 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000ec0 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 7d 04 0d 00 7e |=========..}...~| 00000ed0 4c f4 20 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |L. =============| 00000ee0 3d 3d 3d 3d 20 45 6e 64 20 4f 66 20 55 73 65 72 |==== End Of User| 00000ef0 20 41 70 70 6c 69 63 61 74 69 6f 6e 20 3d 3d 3d | Application ===| 00000f00 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d 3d |================| 00000f10 3d 3d 3d 3d 3d 3d 3d 3d 3d 0d 00 7f 05 3a 0d ff |=========....:..| 00000f20