GEMLIB  0.44.0
Modules | Data Structures | Macros | Functions | Variables
AES Function Reference

Modules

 Application Services Library
 initialization and interprocess communication
 
 Event Library
 wait for user response
 
 Form Library
 user interaction with dialogs & error messages
 
 File Selector Library
 standard file selector
 
 Graphics Library
 special mouse functions
 
 Menu Library
 create or modify drop-down menu
 
 Object Library
 display or modify object trees
 
 Resource Library
 resource files
 
 Scrap Library
 interprocess cut & paste operations
 
 Shell Library
 AES shell functions.
 
 Window Library
 window frame interface
 
 Utility Library
 some usefull utilities function. This library doesn't contain any AES call.
 
 MagiC extension: Window Dialog
 AES extended dialog in window.
 
 MagiC extension: Edit Library
 AES extended edit functions.
 
 MagiC/WDIALOG extension: Font selector Library
 font selector functions
 
 MagiC/WDIALOG extension: File selector Library
 file selector functions
 
 MagiC/WDIALOG extension: List Box Library
 list box functions
 
 MagiC/WDIALOG extension: Printer Dialog Library
 printer dialog functions
 

Data Structures

struct  AESPB
 

Macros

#define _AESversion   (aes_global[0])
 
#define _AESnumapps   (aes_global[1])
 
#define _AESapid   (aes_global[2])
 
#define _AESappglobal   (*((long *)&aes_global[3]))
 
#define _AESrscfile   ((OBJECT **)(*((long *)&aes_global[5])))
 
#define _AESmaxchar   (aes_global[13])
 
#define _AESminchar   (aes_global[14])
 
#define AES_CTRLMAX   5
 
#define AES_GLOBMAX   16
 
#define AES_INTINMAX   16
 
#define AES_INTOUTMAX   16
 
#define AES_ADDRINMAX   16
 
#define AES_ADDROUTMAX   16
 
#define mt_AESversion(aes_global)   (aes_global[0])
 
#define mt_AESnumapps(aes_global)   (aes_global[1])
 
#define mt_AESapid(aes_global)   (aes_global[2])
 
#define mt_AESappglobal(aes_global)   (*((long *)&aes_global[3]))
 
#define mt_AESrscfile(aes_global)   ((OBJECT **)(*((long *)&aes_global[5])))
 
#define mt_AESmaxchar(aes_global)   (aes_global[13])
 
#define mt_AESminchar(aes_global)   (aes_global[14])
 

Functions

void aes (AESPB *pb)
 

Variables

short gl_apid
 
short gl_ap_version
 
short aes_global []
 

Detailed Description

Macro Definition Documentation

#define _AESapid   (aes_global[2])

Application identifier (same as mt_appl_init() return value).

#define _AESappglobal   (*((long *)&aes_global[3]))

LONG global available for use by the application

#define _AESmaxchar   (aes_global[13])

Current maximum character used by the AES to do vst_height() prior to writing to the screen. This entry is only present as of AES version 0x0400.

#define _AESminchar   (aes_global[14])

Current minimum character used by the AES to do vst_height() prior to writing to the screen. This entry is only present as of AES version 0x0400.

#define _AESnumapps   (aes_global[1])

Number of concurrent applications possible (normally 1). MultiTOS will return -1.

#define _AESrscfile   ((OBJECT **)(*((long *)&aes_global[5])))

Pointer to the base of the resource loaded via rsrc_load().

#define _AESversion   (aes_global[0])

AES version number

#define AES_ADDRINMAX   16

size of the aes_addrin[] array

Referenced by mt_wind_get().

#define AES_ADDROUTMAX   16

size of the aes_addrout[] array

Referenced by mt_wind_get().

#define AES_CTRLMAX   5

size of the aes_control[] array

Referenced by mt_wind_get().

#define AES_GLOBMAX   16

size of the aes_global[] array

#define AES_INTINMAX   16

size of the aes_intin[] array

Referenced by mt_wind_get().

#define AES_INTOUTMAX   16

size of the aes_intout[] array

Referenced by mt_wind_get().

#define mt_AESapid (   aes_global)    (aes_global[2])

Application identifier (same as mt_appl_init() return value).

#define mt_AESappglobal (   aes_global)    (*((long *)&aes_global[3]))

LONG global available for use by the application

#define mt_AESmaxchar (   aes_global)    (aes_global[13])

Current maximum character used by the AES to do vst_height() prior to writing to the screen. This entry is only present as of AES version 0x0400.

#define mt_AESminchar (   aes_global)    (aes_global[14])

Current minimum character used by the AES to do vst_height() prior to writing to the screen. This entry is only present as of AES version 0x0400.

#define mt_AESnumapps (   aes_global)    (aes_global[1])

Number of concurrent applications possible (normally 1). MultiTOS will return -1.

#define mt_AESrscfile (   aes_global)    ((OBJECT **)(*((long *)&aes_global[5])))

Pointer to the base of the resource loaded via mt_rsrc_load().

#define mt_AESversion (   aes_global)    (aes_global[0])

AES version number

Function Documentation

void aes ( AESPB pb)

perform AES trap

Variable Documentation

short aes_global[]

global AES array

global aes variable: aes global array, used by all "old style" aes functions (function without "mt_")

Referenced by appl_init().

short gl_ap_version

global aes variable: AES version initialized by appl_init

Referenced by appl_init().

short gl_apid

global aes variable: Application ID initialized by appl_init

Referenced by appl_init().