Home » Archimedes archive » Acorn User » AU 1994-07.adf » !StarInfo_StarInfo » SmithJ/!TreeMenu/!Configs

SmithJ/!TreeMenu/!Configs

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 User » AU 1994-07.adf » !StarInfo_StarInfo
Filename: SmithJ/!TreeMenu/!Configs
Read OK:
File size: 085A bytes
Load address: 0000
Exec address: 0000
File contents
-----------------------------------
 Configuration file for !TreeMenu.
-----------------------------------

Menu colours....................................� 7 1 7 14

Menu position (NORMAL, BOTTOMLEFT or TOPLEFT)...� NORMAL

Path expansion (EXPAND or PRESERVE).............� EXPAND

Respond to Menu clicks on 
window titlebars ? (YES or NO)..................� YES

Only respond to Filer-window 
titlebar clicks ? (YES or NO)...................� NO

Always have a 'Set CSD' in window 
menus ? (YES or NO).............................� YES

Use reversed Menu/Select buttons for 
iconbar clicks ? (YES or NO)....................� NO

Set CSD when a menu choice is made with
<Alt> held down ? (YES or NO)...................� YES

Auto-scroll menus ? (YES or NO).................� YES

Number of icon-bar icons........................� 1


--------------------------------
Now data for each icon-bar icon:
--------------------------------

� <Wimp$ScrapDir> @ ADFS::0.$  Resources:$ ADFS::4.$*
� !treemenu

Some example icon definitions:

� <TCPIP$Dir>* <VT220$Dir>.Scripts*
� file_fdf Internet

� <Utils$Dir>*
� Utils *
 
� <Clibs$Dir>*
� Clibs *

� DeskLib:*
� !DeskLib *



----------- Notes ----------


All data should be preceded by a '�'. Lines without one are ignored.


Menu colours are in the following order: 
Work foreground, Work background, Title foreground, Title background. 
Normal RISC OS menu colours are: 7 0 7 2.

If you turn the 'Set CSD' off (which saves a bit of space on window 
menus), you can force it to appear by holding down <Shift> when you 
click on a window titlebar.


Each menu-bar item is specified as:

� path(s)
� spritename text

The paths should be separated by spaces. Appending a '*' to any 
path will put the first-level contents of the path in the top
level menu.

'spritename' - name of the sprite that should be used for the icon. 
'text' - this will appear underneath the sprite. 
If 'text' is '*', the spritename is used. 
If 'text' is blank, the icon won't have any text.

Holding down <Shift> when you open a window menu will include a 'Set CSD'
item, regardless of the setting in this file.
00000000  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
*
00000020  2d 2d 2d 0a 20 43 6f 6e  66 69 67 75 72 61 74 69  |---. Configurati|
00000030  6f 6e 20 66 69 6c 65 20  66 6f 72 20 21 54 72 65  |on file for !Tre|
00000040  65 4d 65 6e 75 2e 0a 2d  2d 2d 2d 2d 2d 2d 2d 2d  |eMenu..---------|
00000050  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000060  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 0a 0a 4d 65 6e 75  |----------..Menu|
00000070  20 63 6f 6c 6f 75 72 73  2e 2e 2e 2e 2e 2e 2e 2e  | colours........|
00000080  2e 2e 2e 2e 2e 2e 2e 2e  2e 2e 2e 2e 2e 2e 2e 2e  |................|
00000090  2e 2e 2e 2e 2e 2e 2e 2e  2e 2e 2e 2e a4 20 37 20  |............. 7 |
000000a0  31 20 37 20 31 34 0a 0a  4d 65 6e 75 20 70 6f 73  |1 7 14..Menu pos|
000000b0  69 74 69 6f 6e 20 28 4e  4f 52 4d 41 4c 2c 20 42  |ition (NORMAL, B|
000000c0  4f 54 54 4f 4d 4c 45 46  54 20 6f 72 20 54 4f 50  |OTTOMLEFT or TOP|
000000d0  4c 45 46 54 29 2e 2e 2e  a4 20 4e 4f 52 4d 41 4c  |LEFT).... NORMAL|
000000e0  0a 0a 50 61 74 68 20 65  78 70 61 6e 73 69 6f 6e  |..Path expansion|
000000f0  20 28 45 58 50 41 4e 44  20 6f 72 20 50 52 45 53  | (EXPAND or PRES|
00000100  45 52 56 45 29 2e 2e 2e  2e 2e 2e 2e 2e 2e 2e 2e  |ERVE)...........|
00000110  2e 2e a4 20 45 58 50 41  4e 44 0a 0a 52 65 73 70  |... EXPAND..Resp|
00000120  6f 6e 64 20 74 6f 20 4d  65 6e 75 20 63 6c 69 63  |ond to Menu clic|
00000130  6b 73 20 6f 6e 20 0a 77  69 6e 64 6f 77 20 74 69  |ks on .window ti|
00000140  74 6c 65 62 61 72 73 20  3f 20 28 59 45 53 20 6f  |tlebars ? (YES o|
00000150  72 20 4e 4f 29 2e 2e 2e  2e 2e 2e 2e 2e 2e 2e 2e  |r NO)...........|
00000160  2e 2e 2e 2e 2e 2e 2e a4  20 59 45 53 0a 0a 4f 6e  |........ YES..On|
00000170  6c 79 20 72 65 73 70 6f  6e 64 20 74 6f 20 46 69  |ly respond to Fi|
00000180  6c 65 72 2d 77 69 6e 64  6f 77 20 0a 74 69 74 6c  |ler-window .titl|
00000190  65 62 61 72 20 63 6c 69  63 6b 73 20 3f 20 28 59  |ebar clicks ? (Y|
000001a0  45 53 20 6f 72 20 4e 4f  29 2e 2e 2e 2e 2e 2e 2e  |ES or NO).......|
000001b0  2e 2e 2e 2e 2e 2e 2e 2e  2e 2e 2e 2e a4 20 4e 4f  |............. NO|
000001c0  0a 0a 41 6c 77 61 79 73  20 68 61 76 65 20 61 20  |..Always have a |
000001d0  27 53 65 74 20 43 53 44  27 20 69 6e 20 77 69 6e  |'Set CSD' in win|
000001e0  64 6f 77 20 0a 6d 65 6e  75 73 20 3f 20 28 59 45  |dow .menus ? (YE|
000001f0  53 20 6f 72 20 4e 4f 29  2e 2e 2e 2e 2e 2e 2e 2e  |S or NO)........|
00000200  2e 2e 2e 2e 2e 2e 2e 2e  2e 2e 2e 2e 2e 2e 2e 2e  |................|
00000210  2e 2e 2e 2e 2e a4 20 59  45 53 0a 0a 55 73 65 20  |...... YES..Use |
00000220  72 65 76 65 72 73 65 64  20 4d 65 6e 75 2f 53 65  |reversed Menu/Se|
00000230  6c 65 63 74 20 62 75 74  74 6f 6e 73 20 66 6f 72  |lect buttons for|
00000240  20 0a 69 63 6f 6e 62 61  72 20 63 6c 69 63 6b 73  | .iconbar clicks|
00000250  20 3f 20 28 59 45 53 20  6f 72 20 4e 4f 29 2e 2e  | ? (YES or NO)..|
00000260  2e 2e 2e 2e 2e 2e 2e 2e  2e 2e 2e 2e 2e 2e 2e 2e  |................|
00000270  2e 2e a4 20 4e 4f 0a 0a  53 65 74 20 43 53 44 20  |... NO..Set CSD |
00000280  77 68 65 6e 20 61 20 6d  65 6e 75 20 63 68 6f 69  |when a menu choi|
00000290  63 65 20 69 73 20 6d 61  64 65 20 77 69 74 68 0a  |ce is made with.|
000002a0  3c 41 6c 74 3e 20 68 65  6c 64 20 64 6f 77 6e 20  |<Alt> held down |
000002b0  3f 20 28 59 45 53 20 6f  72 20 4e 4f 29 2e 2e 2e  |? (YES or NO)...|
000002c0  2e 2e 2e 2e 2e 2e 2e 2e  2e 2e 2e 2e 2e 2e 2e 2e  |................|
000002d0  a4 20 59 45 53 0a 0a 41  75 74 6f 2d 73 63 72 6f  |. YES..Auto-scro|
000002e0  6c 6c 20 6d 65 6e 75 73  20 3f 20 28 59 45 53 20  |ll menus ? (YES |
000002f0  6f 72 20 4e 4f 29 2e 2e  2e 2e 2e 2e 2e 2e 2e 2e  |or NO)..........|
00000300  2e 2e 2e 2e 2e 2e 2e a4  20 59 45 53 0a 0a 4e 75  |........ YES..Nu|
00000310  6d 62 65 72 20 6f 66 20  69 63 6f 6e 2d 62 61 72  |mber of icon-bar|
00000320  20 69 63 6f 6e 73 2e 2e  2e 2e 2e 2e 2e 2e 2e 2e  | icons..........|
00000330  2e 2e 2e 2e 2e 2e 2e 2e  2e 2e 2e 2e 2e 2e a4 20  |............... |
00000340  31 0a 0a 0a 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |1...------------|
00000350  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
00000360  2d 2d 2d 2d 0a 4e 6f 77  20 64 61 74 61 20 66 6f  |----.Now data fo|
00000370  72 20 65 61 63 68 20 69  63 6f 6e 2d 62 61 72 20  |r each icon-bar |
00000380  69 63 6f 6e 3a 0a 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |icon:.----------|
00000390  2d 2d 2d 2d 2d 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |----------------|
000003a0  2d 2d 2d 2d 2d 2d 0a 0a  a4 20 3c 57 69 6d 70 24  |------... <Wimp$|
000003b0  53 63 72 61 70 44 69 72  3e 20 40 20 41 44 46 53  |ScrapDir> @ ADFS|
000003c0  3a 3a 30 2e 24 20 20 52  65 73 6f 75 72 63 65 73  |::0.$  Resources|
000003d0  3a 24 20 41 44 46 53 3a  3a 34 2e 24 2a 0a a4 20  |:$ ADFS::4.$*.. |
000003e0  21 74 72 65 65 6d 65 6e  75 0a 0a 53 6f 6d 65 20  |!treemenu..Some |
000003f0  65 78 61 6d 70 6c 65 20  69 63 6f 6e 20 64 65 66  |example icon def|
00000400  69 6e 69 74 69 6f 6e 73  3a 0a 0a a4 20 3c 54 43  |initions:... <TC|
00000410  50 49 50 24 44 69 72 3e  2a 20 3c 56 54 32 32 30  |PIP$Dir>* <VT220|
00000420  24 44 69 72 3e 2e 53 63  72 69 70 74 73 2a 0a a4  |$Dir>.Scripts*..|
00000430  20 66 69 6c 65 5f 66 64  66 20 49 6e 74 65 72 6e  | file_fdf Intern|
00000440  65 74 0a 0a a4 20 3c 55  74 69 6c 73 24 44 69 72  |et... <Utils$Dir|
00000450  3e 2a 0a a4 20 55 74 69  6c 73 20 2a 0a 20 0a a4  |>*.. Utils *. ..|
00000460  20 3c 43 6c 69 62 73 24  44 69 72 3e 2a 0a a4 20  | <Clibs$Dir>*.. |
00000470  43 6c 69 62 73 20 2a 0a  0a a4 20 44 65 73 6b 4c  |Clibs *... DeskL|
00000480  69 62 3a 2a 0a a4 20 21  44 65 73 6b 4c 69 62 20  |ib:*.. !DeskLib |
00000490  2a 0a 0a 0a 0a 2d 2d 2d  2d 2d 2d 2d 2d 2d 2d 2d  |*....-----------|
000004a0  20 4e 6f 74 65 73 20 2d  2d 2d 2d 2d 2d 2d 2d 2d  | Notes ---------|
000004b0  2d 0a 0a 0a 41 6c 6c 20  64 61 74 61 20 73 68 6f  |-...All data sho|
000004c0  75 6c 64 20 62 65 20 70  72 65 63 65 64 65 64 20  |uld be preceded |
000004d0  62 79 20 61 20 27 a4 27  2e 20 4c 69 6e 65 73 20  |by a '.'. Lines |
000004e0  77 69 74 68 6f 75 74 20  6f 6e 65 20 61 72 65 20  |without one are |
000004f0  69 67 6e 6f 72 65 64 2e  0a 0a 0a 4d 65 6e 75 20  |ignored....Menu |
00000500  63 6f 6c 6f 75 72 73 20  61 72 65 20 69 6e 20 74  |colours are in t|
00000510  68 65 20 66 6f 6c 6c 6f  77 69 6e 67 20 6f 72 64  |he following ord|
00000520  65 72 3a 20 0a 57 6f 72  6b 20 66 6f 72 65 67 72  |er: .Work foregr|
00000530  6f 75 6e 64 2c 20 57 6f  72 6b 20 62 61 63 6b 67  |ound, Work backg|
00000540  72 6f 75 6e 64 2c 20 54  69 74 6c 65 20 66 6f 72  |round, Title for|
00000550  65 67 72 6f 75 6e 64 2c  20 54 69 74 6c 65 20 62  |eground, Title b|
00000560  61 63 6b 67 72 6f 75 6e  64 2e 20 0a 4e 6f 72 6d  |ackground. .Norm|
00000570  61 6c 20 52 49 53 43 20  4f 53 20 6d 65 6e 75 20  |al RISC OS menu |
00000580  63 6f 6c 6f 75 72 73 20  61 72 65 3a 20 37 20 30  |colours are: 7 0|
00000590  20 37 20 32 2e 0a 0a 49  66 20 79 6f 75 20 74 75  | 7 2...If you tu|
000005a0  72 6e 20 74 68 65 20 27  53 65 74 20 43 53 44 27  |rn the 'Set CSD'|
000005b0  20 6f 66 66 20 28 77 68  69 63 68 20 73 61 76 65  | off (which save|
000005c0  73 20 61 20 62 69 74 20  6f 66 20 73 70 61 63 65  |s a bit of space|
000005d0  20 6f 6e 20 77 69 6e 64  6f 77 20 0a 6d 65 6e 75  | on window .menu|
000005e0  73 29 2c 20 79 6f 75 20  63 61 6e 20 66 6f 72 63  |s), you can forc|
000005f0  65 20 69 74 20 74 6f 20  61 70 70 65 61 72 20 62  |e it to appear b|
00000600  79 20 68 6f 6c 64 69 6e  67 20 64 6f 77 6e 20 3c  |y holding down <|
00000610  53 68 69 66 74 3e 20 77  68 65 6e 20 79 6f 75 20  |Shift> when you |
00000620  0a 63 6c 69 63 6b 20 6f  6e 20 61 20 77 69 6e 64  |.click on a wind|
00000630  6f 77 20 74 69 74 6c 65  62 61 72 2e 0a 0a 0a 45  |ow titlebar....E|
00000640  61 63 68 20 6d 65 6e 75  2d 62 61 72 20 69 74 65  |ach menu-bar ite|
00000650  6d 20 69 73 20 73 70 65  63 69 66 69 65 64 20 61  |m is specified a|
00000660  73 3a 0a 0a a4 20 70 61  74 68 28 73 29 0a a4 20  |s:... path(s).. |
00000670  73 70 72 69 74 65 6e 61  6d 65 20 74 65 78 74 0a  |spritename text.|
00000680  0a 54 68 65 20 70 61 74  68 73 20 73 68 6f 75 6c  |.The paths shoul|
00000690  64 20 62 65 20 73 65 70  61 72 61 74 65 64 20 62  |d be separated b|
000006a0  79 20 73 70 61 63 65 73  2e 20 41 70 70 65 6e 64  |y spaces. Append|
000006b0  69 6e 67 20 61 20 27 2a  27 20 74 6f 20 61 6e 79  |ing a '*' to any|
000006c0  20 0a 70 61 74 68 20 77  69 6c 6c 20 70 75 74 20  | .path will put |
000006d0  74 68 65 20 66 69 72 73  74 2d 6c 65 76 65 6c 20  |the first-level |
000006e0  63 6f 6e 74 65 6e 74 73  20 6f 66 20 74 68 65 20  |contents of the |
000006f0  70 61 74 68 20 69 6e 20  74 68 65 20 74 6f 70 0a  |path in the top.|
00000700  6c 65 76 65 6c 20 6d 65  6e 75 2e 0a 0a 27 73 70  |level menu...'sp|
00000710  72 69 74 65 6e 61 6d 65  27 20 2d 20 6e 61 6d 65  |ritename' - name|
00000720  20 6f 66 20 74 68 65 20  73 70 72 69 74 65 20 74  | of the sprite t|
00000730  68 61 74 20 73 68 6f 75  6c 64 20 62 65 20 75 73  |hat should be us|
00000740  65 64 20 66 6f 72 20 74  68 65 20 69 63 6f 6e 2e  |ed for the icon.|
00000750  20 0a 27 74 65 78 74 27  20 2d 20 74 68 69 73 20  | .'text' - this |
00000760  77 69 6c 6c 20 61 70 70  65 61 72 20 75 6e 64 65  |will appear unde|
00000770  72 6e 65 61 74 68 20 74  68 65 20 73 70 72 69 74  |rneath the sprit|
00000780  65 2e 20 0a 49 66 20 27  74 65 78 74 27 20 69 73  |e. .If 'text' is|
00000790  20 27 2a 27 2c 20 74 68  65 20 73 70 72 69 74 65  | '*', the sprite|
000007a0  6e 61 6d 65 20 69 73 20  75 73 65 64 2e 20 0a 49  |name is used. .I|
000007b0  66 20 27 74 65 78 74 27  20 69 73 20 62 6c 61 6e  |f 'text' is blan|
000007c0  6b 2c 20 74 68 65 20 69  63 6f 6e 20 77 6f 6e 27  |k, the icon won'|
000007d0  74 20 68 61 76 65 20 61  6e 79 20 74 65 78 74 2e  |t have any text.|
000007e0  0a 0a 48 6f 6c 64 69 6e  67 20 64 6f 77 6e 20 3c  |..Holding down <|
000007f0  53 68 69 66 74 3e 20 77  68 65 6e 20 79 6f 75 20  |Shift> when you |
00000800  6f 70 65 6e 20 61 20 77  69 6e 64 6f 77 20 6d 65  |open a window me|
00000810  6e 75 20 77 69 6c 6c 20  69 6e 63 6c 75 64 65 20  |nu will include |
00000820  61 20 27 53 65 74 20 43  53 44 27 0a 69 74 65 6d  |a 'Set CSD'.item|
00000830  2c 20 72 65 67 61 72 64  6c 65 73 73 20 6f 66 20  |, regardless of |
00000840  74 68 65 20 73 65 74 74  69 6e 67 20 69 6e 20 74  |the setting in t|
00000850  68 69 73 20 66 69 6c 65  2e 0a                    |his file..|
0000085a