home *** CD-ROM | disk | FTP | other *** search
- Index file for the "Menus" library.
-
- DEFPROCstartup_menus(max_menus%) - sets up enough room for max_menus%
- menus.
-
- DEFPROCsetupmenublock(maxitems%) - sets up the next menu. The first menu
- is 0, the second 1 and so on...
-
- DEFPROCstndrdblock(addr%) - for internal use only.
-
- DEFPROCmenu(menublock$,number%) - Sets up menu number% to menublock$.
- menublock$ should contain a string describing the menu in the following
- format:
- | - break between items. Do not use this after the title.
- H(title) - the title of the menu should be in between the brackets.
- T(text) - the text for this item should be in the brackets.
- M(option) - the options are: T to tick the item or D to put a dotted
- line underneath the item.
- U - the item is shaded.
- S(menu) - makes menu the submenu for this item.
- D(handle) - makes the window at handle the dialogue box for this item.
- I(text) - uses indirected text
- W - creates a writable item
-
- DEFPROCcreatemenu(number%,x,y) - displays menu number% at x,y.
-
- DEFPROCiconbarmenu(number%,dots%,x) - displays icon bar menu number% with
- dots% dotted lines at position x.
-
- DEFFNdecodemenu(number%) - decodes the menu and puts it into the array
- menu$(). Returns the decoded string. Item 0 in the array is the main
- selection, item 2 the second, etc, etc.
-
- DEFPROCtick(number%,item%) - ticks an item
-
- DEFPROCuntick(number%,item%) - unticks an item
-
- DEFPROCswitchtick(number%,item%) - switchs the tick of an item
-
- DEFFNadjust - returns 0 if adjust is not pressed, other numbers otherwise.
-
- DEFPROChandleadjust - handles adjust, re-opening the menu if adjust is
- pressed
-
- DEFPROCshade, unshade, switchshade(number%,item%) - does the same as tick,
- untick, switchtick, but with the shade status of the item.
-
- DEFPROCchangeitem(number%,item%,str$) - changes a non-indirect item.
-
- DEFPROCchangeinditem(number%,item%,str$) - changes an indirect item.
-
- DEFFNtestbit, setbit, clearbit - for internal use only.
-