home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meeting Pearls 3
/
Meeting_Pearls_III.iso
/
Pearls
/
dev
/
AmigaE
/
E_v3.2a
/
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