home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD1.img
/
d2xx
/
d241
/
tiles
/
decodemenu.def
< prev
next >
Wrap
Text File
|
1989-08-26
|
598b
|
27 lines
(*
This file contains procedures that extract menu,
item and subitem numbers from the code returned by
Intuition. This works with V1.1
See Intuition Manual V1.1 pages 6-9..6-12
Created: 5/25/86 by Richie Bielak
Modified:
Copyright (c) 1986 by Richard Bielak
This program may be freely copied, but please
leave my name in. Thanks.....Richie
*)
DEFINITION MODULE DecodeMenu;
CONST
MenuNull = 0FFFFH;
PROCEDURE MenuNumber (code : CARDINAL) : CARDINAL;
PROCEDURE ItemNumber (code : CARDINAL) : CARDINAL;
PROCEDURE SubItemNumber (code : CARDINAL) : CARDINAL;
END DecodeMenu.