home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 3
/
goldfish_volume_3.bin
/
files
/
dev
/
e
/
amigae
/
src
/
tools
/
macros
/
macros.e
Wrap
Text File
|
1992-09-02
|
462b
|
25 lines
/* This modules contains some missing 'macros' implemented as functions
as E doesn't support macros
*/
OPT MODULE
MODULE 'graphics/rastport'
/* Some intuition 'macros' */
EXPORT PROC menunum(x) IS x AND $1F
EXPORT PROC itemnum(x) IS Shr(x,5) AND $3F
EXPORT PROC subnum(x) IS Shr(x,11) AND $1F
/* A graphic 'macro' */
EXPORT PROC setdrpt(rport:PTR TO rastport,no)
rport.lineptrn:=no
rport.flags:=rport.flags OR FRST_DOT
rport.linpatcnt:=15
ENDPROC