home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fred Fish Collection 1.5
/
ffcollection-1-5-1992-11.iso
/
ff_disks
/
600-699
/
ff632.lha
/
Attacks
/
Sources
/
menuutil.def
< prev
next >
Wrap
Text File
|
1992-04-06
|
926b
|
35 lines
DEFINITION MODULE MenuUtil;
IMPORT Intuition;
TYPE
MENUBAR = RECORD
FirstMenuPtr : Intuition.MenuPtr;
RememberKey : Intuition.RememberPtr;
END;
MENUBARPTR = POINTER TO MENUBAR;
PROCEDURE Dump ( MenuBarPtr : MENUBARPTR );
PROCEDURE InitMenuBar( VAR MenuBarPtr: MENUBARPTR );
PROCEDURE AddMenu( MenuBarPtr : MENUBARPTR;
MenuName : ARRAY OF CHAR );
PROCEDURE AddItem( MenuBarPtr : MENUBARPTR;
ItemName : ARRAY OF CHAR;
Command : CHAR; (* Is 0C if no command *)
MutEx : Intuition.MenuItemMutualExcludeSet;
(* This set should be empty if no check mark *)
InitCheck : BOOLEAN ); (* Start with a check? *)
PROCEDURE ArrangeMenus( MenuBarPtr : MENUBARPTR );
PROCEDURE DisposeMenuBar( VAR MenuBarPtr : MENUBARPTR );
END MenuUtil.