GEMLIB  0.44.0
Data Structures | Macros | Typedefs | Functions
mt_gem.h File Reference
#include <compiler.h>

Go to the source code of this file.

Data Structures

struct  pEvntrec
 
struct  _mn_set
 
struct  SHELW
 
struct  XSHW_COMMAND
 
struct  THREADINFO
 
struct  SHELTAIL
 
struct  mouse_form
 
struct  point_coord
 
struct  graphic_rectangle
 
struct  objc_colorword
 
struct  text_edinfo
 
struct  icon_block
 
struct  bit_block
 
struct  cicon_data
 
struct  cicon_blk
 
struct  BFOBSPEC
 
union  obspecptr
 
struct  object
 
struct  parm_block
 
struct  user_block
 
struct  rshdr
 
struct  _menu
 
struct  MOBLK
 
struct  mouse_event_type
 
struct  EVMULT_IN
 
struct  EVMULT_OUT
 
struct  AESPB
 
struct  memory_form
 
struct  rgb_1000
 
struct  VDIPB
 

Macros

#define INT16   short
 
#define __GEMLIB_DEFS
 
#define __GEMLIB_AES
 
#define __GEMLIB_VDI
 
#define __GEMLIB__   __GEMLIB_MAJOR__
 
#define __GEMLIB_MAJOR__   0
 
#define __GEMLIB_MINOR__   44
 
#define __GEMLIB_REVISION__   0
 
#define __GEMLIB_BETATAG__   ""
 
#define MGEMLIB   44
 
#define __MGEMLIB__   44
 
#define NIL   -1
 
#define DESKTOP_HANDLE   0
 
#define DESK   DESKTOP_HANDLE
 
#define APC_HIDE   10
 
#define APC_SHOW   11
 
#define APC_TOP   12
 
#define APC_HIDENOT   13
 
#define APC_INFO   14
 
#define APC_MENU   15
 
#define APC_WIDGETS   16
 
#define APC_APP_CONFIG   17
 
#define APC_INFORM_MESAG   18
 
#define APCI_HIDDEN   0x01
 
#define APCI_HASMBAR   0x02
 
#define APCI_HASDESK   0x04
 
#define AES_LARGEFONT   0
 
#define AES_SMALLFONT   1
 
#define AES_SYSTEM   2
 
#define AES_LANGUAGE   3
 
#define AES_PROCESS   4
 
#define AES_PCGEM   5
 
#define AES_INQUIRE   6
 
#define AES_MOUSE   8
 
#define AES_MENU   9
 
#define AES_SHELL   10
 
#define AES_WINDOW   11
 
#define AES_MESSAGE   12
 
#define AES_OBJECT   13
 
#define AES_FORM   14
 
#define AES_EXTENDED   64
 
#define AES_NAES   65
 
#define AES_VERSION   96
 
#define AES_WOPTS   97
 
#define AES_WFORM   98
 
#define AES_APPL_OPTION   99
 
#define AES_WINX   22360
 
#define SYSTEM_FONT   0
 
#define OUTLINE_FONT   1
 
#define AESLANG_ENGLISH   0
 
#define AESLANG_GERMAN   1
 
#define AESLANG_FRENCH   2
 
#define AESLANG_SPANISH   4
 
#define AESLANG_ITALIAN   5
 
#define AESLANG_SWEDISH   6
 
#define APR_NOWAIT   -1
 
#define APP_FIRST   0
 
#define APP_NEXT   1
 
#define APP_DESK   2
 
#define APP_SYSTEM   0x01
 
#define APP_APPLICATION   0x02
 
#define APP_ACCESSORY   0x04
 
#define APP_SHELL   0x08
 
#define APPEVNT_TIMER   0
 
#define APPEVNT_BUTTON   1
 
#define APPEVNT_MOUSE   2
 
#define APPEVNT_KEYBOARD   3
 
#define LEFT_BUTTON   0x0001
 
#define RIGHT_BUTTON   0x0002
 
#define MIDDLE_BUTTON   0x0004
 
#define K_RSHIFT   0x0001
 
#define K_LSHIFT   0x0002
 
#define K_CTRL   0x0004
 
#define K_ALT   0x0008
 
#define EDC_INQUIRE   0
 
#define EDC_SET   1
 
#define MN_SELECTED   10
 
#define WM_REDRAW   20
 
#define WM_TOPPED   21
 
#define WM_CLOSED   22
 
#define WM_FULLED   23
 
#define WM_ARROWED   24
 
#define WM_HSLID   25
 
#define WM_VSLID   26
 
#define WM_SIZED   27
 
#define WM_MOVED   28
 
#define WM_NEWTOP   29
 
#define WM_UNTOPPED   30
 
#define WM_ONTOP   31
 
#define WM_BOTTOM   33
 
#define WM_BOTTOMED   WM_BOTTOM
 
#define WM_ICONIFY   34
 
#define WM_UNICONIFY   35
 
#define WM_ALLICONIFY   36
 
#define WM_TOOLBAR   37
 
#define WM_REPOSED   38
 
#define AC_OPEN   40
 
#define AC_CLOSE   41
 
#define AP_TERM   50
 
#define AP_TFAIL   51
 
#define AP_RESCHG   57
 
#define CT_UPDATE   50
 
#define CT_MOVE   51
 
#define CT_NEWTOP   52
 
#define CT_KEY   53
 
#define SHUT_COMPLETED   60
 
#define RESCHG_COMPLETED   61
 
#define RESCH_COMPLETED   RESCHG_COMPLETED
 
#define AP_DRAGDROP   63
 
#define SH_WDRAW   72
 
#define SC_CHANGED   80
 
#define PRN_CHANGED   82
 
#define FNT_CHANGED   83
 
#define THR_EXIT   88
 
#define PA_EXIT   89
 
#define CH_EXIT   90
 
#define WM_M_BDROPPED   100 /* KAOS 1.4 */
 
#define SM_M_SPECIAL   101
 
#define SM_M_RES2   102
 
#define SM_M_RES3   103
 
#define SM_M_RES4   104
 
#define SM_M_RES5   105
 
#define SM_M_RES6   106
 
#define SM_M_RES7   107
 
#define SM_M_RES8   108
 
#define SM_M_RES9   109
 
#define WM_SHADED   22360
 
#define WM_UNSHADED   22361
 
#define SMC_TIDY_UP   0 /* MagiC 2 */
 
#define SMC_TERMINATE   1 /* MagiC 2 */
 
#define SMC_SWITCH   2 /* MagiC 2 */
 
#define SMC_FREEZE   3 /* MagiC 2 */
 
#define SMC_UNFREEZE   4 /* MagiC 2 */
 
#define SMC_RES5   5 /* MagiC 2 */
 
#define SMC_UNHIDEALL   6 /* MagiC 3.1 */
 
#define SMC_HIDEOTHERS   7 /* MagiC 3.1 */
 
#define SMC_HIDEACT   8 /* MagiC 3.1 */
 
#define WM_WHEEL   345
 
#define MO_ENTER   0
 
#define MO_LEAVE   1
 
#define MU_KEYBD   0x0001
 
#define MU_BUTTON   0x0002
 
#define MU_M1   0x0004
 
#define MU_M2   0x0008
 
#define MU_MESAG   0x0010
 
#define MU_TIMER   0x0020
 
#define MU_WHEEL   0x0040
 
#define MU_MX   0x0080
 
#define MU_NORM_KEYBD   0x0100
 
#define MU_DYNAMIC_KEYBD   0x0200
 
#define FA_NOICON   "[0]"
 
#define FA_ERROR   "[1]"
 
#define FA_QUESTION   "[2]"
 
#define FA_STOP   "[3]"
 
#define FA_INFO   "[4]"
 
#define FA_DISK   "[5]"
 
#define FMD_START   0
 
#define FMD_GROW   1
 
#define FMD_SHRINK   2
 
#define FMD_FINISH   3
 
#define FERR_FILENOTFOUND   2
 
#define FERR_PATHNOTFOUND   3
 
#define FERR_NOHANDLES   4
 
#define FERR_ACCESSDENIED   5
 
#define FERR_LOWMEM   8
 
#define FERR_BADENVIRON   10
 
#define FERR_BADFORMAT   11
 
#define FERR_BADDRIVE   15
 
#define FERR_DELETEDIR   16
 
#define FERR_NOFILES   18
 
#define FSEL_CANCEL   0
 
#define FSEL_OK   1
 
#define ME_INQUIRE   0
 
#define ME_ATTACH   1
 
#define ME_REMOVE   2
 
#define SCROLL_NO   0
 
#define SCROLL_YES   1
 
#define MENU_INQUIRE   -1
 
#define MENU_REMOVE   0
 
#define MENU_INSTALL   1
 
#define MENU_GETMODE   3
 
#define MENU_SETMODE   4
 
#define MENU_UPDATE   5
 
#define MENU_INSTL   100
 
#define MENU_HIDDEN   0x0001
 
#define MENU_PULLDOWN   0x0002
 
#define MENU_SHADOWED   0x0004
 
#define UNCHECK   0
 
#define CHECK   1
 
#define DISABLE   0
 
#define ENABLE   1
 
#define MIS_GETALIGN   0
 
#define MIS_SETALIGN   1
 
#define SCROLL_LISTBOX   -1
 
#define REG_NEWNAME   -1
 
#define MN_INQUIRE   0
 
#define MN_CHANGE   1
 
#define HIGHLIGHT   0
 
#define UNHIGHLIGHT   1
 
#define SHEL_BUFSIZE   (-1)
 
#define SHP_HELP   0
 
#define SWM_LAUNCH   0
 
#define SWM_LAUNCHNOW   1
 
#define SWM_LAUNCHACC   3
 
#define SWM_SHUTDOWN   4
 
#define SWM_REZCHANGE   5
 
#define SWM_BROADCAST   7
 
#define SWM_ENVIRON   8
 
#define SWM_NEWMSG   9
 
#define SWM_AESMSG   10
 
#define SWM_THRCREATE   20
 
#define SWM_THREXIT   21
 
#define SWM_THRKILL   22
 
#define SHW_NOEXEC   SWM_LAUNCH
 
#define SHW_EXEC   SWM_LAUNCHNOW
 
#define SHW_EXEC_ACC   SWM_LAUNCHACC
 
#define SHW_SHUTDOWN   SWM_SHUTDOWN
 
#define SHW_RESCHNG   SWM_REZCHANGE
 
#define SHW_BROADCAST   SWM_BROADCAST
 
#define SHW_INFRECGN   SWM_NEWMSG
 
#define SHW_AESSEND   SWM_AESMSG
 
#define SHW_THR_CREATE   SWM_THRCREATE
 
#define SHW_THR_EXIT   SWM_THREXIT
 
#define SHW_THR_KILL   SWM_THRKILL
 
#define TOSAPP   0
 
#define GEMAPP   1
 
#define SHW_IMMED   0
 
#define SHW_CHAIN   1
 
#define SHW_DOS   2
 
#define SHW_PARALLEL   100
 
#define SHW_SINGLE   101
 
#define CL_NORMAL   0
 
#define CL_PARSE   1
 
#define SD_ABORT   0
 
#define SD_PARTIAL   1
 
#define SD_COMPLETE   2
 
#define ENVIRON_SIZE   0
 
#define ENVIRON_CHANGE   1
 
#define ENVIRON_COPY   2
 
#define NM_APTERM   0x0001
 
#define NM_INHIBIT_HIDE   0x0002
 
#define AP_AESTERM   52 /* Mode 10: N.AES komplett terminieren. */
 
#define SW_PSETLIMIT   0x0100
 
#define SW_PRENICE   0x0200
 
#define SW_DEFDIR   0x0400
 
#define SW_ENVIRON   0x0800
 
#define SW_UID   0x1000
 
#define SW_GID   0x2000
 
#define SHW_XMDFLAGS   0x1000
 
#define SHW_XMDLIMIT   SW_PSETLIMIT
 
#define SHW_XMDNICE   SW_PRENICE
 
#define SHW_XMDDEFDIR   SW_DEFDIR
 
#define SHW_XMDENV   SW_ENVIRON
 
#define R_TREE   0
 
#define R_OBJECT   1
 
#define R_TEDINFO   2
 
#define R_ICONBLK   3
 
#define R_BITBLK   4
 
#define R_STRING   5
 
#define R_IMAGEDATA   6
 
#define R_OBSPEC   7
 
#define R_TEPTEXT   8
 
#define R_TEPTMPLT   9
 
#define R_TEPVALID   10
 
#define R_IBPMASK   11
 
#define R_IBPDATA   12
 
#define R_IBPTEXT   13
 
#define R_BIPDATA   14
 
#define R_FRSTR   15
 
#define R_FRIMG   16
 
#define SCRAP_CSV   0x0001
 
#define SCRAP_TXT   0x0002
 
#define SCRAP_GEM   0x0004
 
#define SCRAP_IMG   0x0008
 
#define SCRAP_DCA   0x0010
 
#define SCRAP_DIF   0x0020
 
#define SCRAP_USR   0x8000
 
#define NAME   0x0001
 
#define CLOSER   0x0002
 
#define FULLER   0x0004
 
#define MOVER   0x0008
 
#define INFO   0x0010
 
#define SIZER   0x0020
 
#define UPARROW   0x0040
 
#define DNARROW   0x0080
 
#define VSLIDE   0x0100
 
#define LFARROW   0x0200
 
#define RTARROW   0x0400
 
#define HSLIDE   0x0800
 
#define HOTCLOSEBOX   0x1000
 
#define MENUBAR   0x1000
 
#define BACKDROP   0x2000
 
#define SMALLER   0x4000
 
#define BORDER   0x8000
 
#define ICONIFIER   SMALLER
 
#define WC_BORDER   0
 
#define WC_WORK   1
 
#define WF_KIND   1
 
#define WF_NAME   2
 
#define WF_INFO   3
 
#define WF_WORKXYWH   4
 
#define WF_CURRXYWH   5
 
#define WF_PREVXYWH   6
 
#define WF_FULLXYWH   7
 
#define WF_HSLIDE   8
 
#define WF_VSLIDE   9
 
#define WF_TOP   10
 
#define WF_FIRSTXYWH   11
 
#define WF_NEXTXYWH   12
 
#define WF_FIRSTAREAXYWH   13
 
#define WF_NEWDESK   14
 
#define WF_HSLSIZE   15
 
#define WF_VSLSIZE   16
 
#define WF_SCREEN   17
 
#define WF_COLOR   18
 
#define WF_DCOLOR   19
 
#define WF_OWNER   20
 
#define WF_BEVENT   24
 
#define WF_BOTTOM   25
 
#define WF_ICONIFY   26
 
#define WF_UNICONIFY   27
 
#define WF_UNICONIFYXYWH   28
 
#define WF_TOOLBAR   30
 
#define WF_FTOOLBAR   31
 
#define WF_NTOOLBAR   32
 
#define WF_MENU   33
 
#define WF_WHEEL   40
 
#define WF_OPTS   41
 
#define WF_CALCF2W   42
 
#define WF_CALCW2F   43
 
#define WF_CALCF2U   44
 
#define WF_CALCU2F   45
 
#define WF_MAXWORKXYWH   46
 
#define WF_M_BACKDROP   100
 
#define WF_M_OWNER   101
 
#define WF_M_WINDLIST   102
 
#define WF_MINXYWH   103
 
#define WF_INFOXYWH   104
 
#define WF_WIDGETS   200
 
#define WF_USER_POINTER   230
 
#define WF_WIND_ATTACH   231
 
#define WF_TOPMOST   232
 
#define WF_BITMAP   233
 
#define WF_OPTIONS   234
 
#define WF_FULLSCREEN   235
 
#define WF_OBFLAG   1001
 
#define WF_OBTYPE   1002
 
#define WF_OBSPEC   1003
 
#define X_WF_MENU   4352
 
#define X_WF_DIALOG   4608
 
#define X_WF_DIALWID   4864
 
#define X_WF_DIALHT   5120
 
#define X_WF_DFLTDESK   5376
 
#define X_WF_MINMAX   5632
 
#define X_WF_HSPLIT   5888
 
#define X_WF_VSPLIT   6144
 
#define X_WF_SPLMIN   6400
 
#define X_WF_HSLIDE2   6656
 
#define X_WF_VSLIDE2   6144
 
#define X_WF_HSLSIZE2   7168
 
#define X_WF_VSLSIZE2   7424
 
#define X_WF_DIALFLGS   7680
 
#define X_WF_OBJHAND   7936
 
#define X_WF_DIALEDIT   9182
 
#define X_WF_DCOLSTAT   8448
 
#define WF_WINX   22360
 
#define WF_WINXCFG   22361
 
#define WF_DDELAY   22362
 
#define WF_SHADE   22365
 
#define WF_STACK   22366
 
#define WF_TOPALL   22367
 
#define WF_BOTTOMALL   22368
 
#define WF_XAAES   0x5841
 
#define BEVENT_WORK   0x0001
 
#define BEVENT_INFO   0x0002
 
#define WO0_WHEEL   0x0001
 
#define WO0_FULLREDRAW   0x0002
 
#define WO0_NOBLITW   0x0004
 
#define WO0_NOBLITH   0x0008
 
#define WO0_SENDREPOS   0x0010
 
#define WO1_NONE   0x0000
 
#define WO2_NONE   0x0000
 
#define WHEEL_MESAG   0
 
#define WHEEL_ARROWED   1
 
#define WHEEL_SLIDER   2
 
#define W_BOX   0
 
#define W_TITLE   1
 
#define W_CLOSER   2
 
#define W_NAME   3
 
#define W_FULLER   4
 
#define W_INFO   5
 
#define W_DATA   6
 
#define W_WORK   7
 
#define W_SIZER   8
 
#define W_VBAR   9
 
#define W_UPARROW   10
 
#define W_DNARROW   11
 
#define W_VSLIDE   12
 
#define W_VELEV   13
 
#define W_HBAR   14
 
#define W_LFARROW   15
 
#define W_RTARROW   16
 
#define W_HSLIDE   17
 
#define W_HELEV   18
 
#define W_SMALLER   19
 
#define W_BOTTOMER   20
 
#define W_HIDER   30
 
#define WA_UPPAGE   0
 
#define WA_DNPAGE   1
 
#define WA_UPLINE   2
 
#define WA_DNLINE   3
 
#define WA_LFPAGE   4
 
#define WA_RTPAGE   5
 
#define WA_LFLINE   6
 
#define WA_RTLINE   7
 
#define WA_WHEEL   8
 
#define END_UPDATE   0
 
#define BEG_UPDATE   1
 
#define END_MCTRL   2
 
#define BEG_MCTRL   3
 
#define NO_BLOCK   0x100
 
#define ARROW   0
 
#define TEXT_CRSR   1
 
#define BEE   2
 
#define BUSY_BEE   BEE
 
#define BUSYBEE   BEE
 
#define HOURGLASS   2
 
#define POINT_HAND   3
 
#define FLAT_HAND   4
 
#define THIN_CROSS   5
 
#define THICK_CROSS   6
 
#define OUTLN_CROSS   7
 
#define USER_DEF   255
 
#define M_OFF   256
 
#define M_ON   257
 
#define M_SAVE   258
 
#define M_RESTORE   259
 
#define M_LAST   260
 
#define M_PREVIOUS   M_LAST
 
#define M_FORCE   0x8000
 
#define ROOT   0
 
#define MAX_LEN   81 /* max string length */
 
#define MAX_DEPTH   8 /* max depth of search or draw */
 
#define IP_HOLLOW   0
 
#define IP_1PATT   1
 
#define IP_2PATT   2
 
#define IP_3PATT   3
 
#define IP_4PATT   4
 
#define IP_5PATT   5
 
#define IP_6PATT   6
 
#define IP_SOLID   7
 
#define GDOS_PROP   0
 
#define GDOS_MONO   1
 
#define GDOS_BITM   2
 
#define IBM   3
 
#define SMALL   5
 
#define G_BOX   20
 
#define G_TEXT   21
 
#define G_BOXTEXT   22
 
#define G_IMAGE   23
 
#define G_USERDEF   24
 
#define G_PROGDEF   G_USERDEF
 
#define G_IBOX   25
 
#define G_BUTTON   26
 
#define G_BOXCHAR   27
 
#define G_STRING   28
 
#define G_FTEXT   29
 
#define G_FBOXTEXT   30
 
#define G_ICON   31
 
#define G_TITLE   32
 
#define G_CICON   33
 
#define G_SWBUTTON   34
 
#define G_POPUP   35
 
#define G_WINTITLE   36
 
#define G_EDIT   37
 
#define G_SHORTCUT   38
 
#define OF_NONE   0x0000
 
#define OF_SELECTABLE   0x0001
 
#define OF_DEFAULT   0x0002
 
#define OF_EXIT   0x0004
 
#define OF_EDITABLE   0x0008
 
#define OF_RBUTTON   0x0010
 
#define OF_LASTOB   0x0020
 
#define OF_TOUCHEXIT   0x0040
 
#define OF_HIDETREE   0x0080
 
#define OF_INDIRECT   0x0100
 
#define OF_FL3DIND   0x0200 /* bit 9 */
 
#define OF_FL3DBAK   0x0400 /* bit 10 */
 
#define OF_FL3DACT   0x0600
 
#define OF_SUBMENU   0x0800 /* bit 11 */
 
#define OF_FLAG11   OF_SUBMENU
 
#define OF_FLAG12   0x1000
 
#define OF_FLAG13   0x2000
 
#define OF_FLAG14   0x4000
 
#define OF_FLAG15   0x8000
 
#define OS_NORMAL   0x0000
 
#define OS_SELECTED   0x0001
 
#define OS_CROSSED   0x0002
 
#define OS_CHECKED   0x0004
 
#define OS_DISABLED   0x0008
 
#define OS_OUTLINED   0x0010
 
#define OS_SHADOWED   0x0020
 
#define OS_WHITEBAK   0x0040
 
#define OS_DRAW3D   0x0080
 
#define OS_STATE08   0x0100
 
#define OS_STATE09   0x0200
 
#define OS_STATE10   0x0400
 
#define OS_STATE11   0x0800
 
#define OS_STATE12   0x1000
 
#define OS_STATE13   0x2000
 
#define OS_STATE14   0x4000
 
#define OS_STATE15   0x8000
 
#define G_WHITE   0
 
#define G_BLACK   1
 
#define G_RED   2
 
#define G_GREEN   3
 
#define G_BLUE   4
 
#define G_CYAN   5
 
#define G_YELLOW   6
 
#define G_MAGENTA   7
 
#define G_LWHITE   8
 
#define G_LBLACK   9
 
#define G_LRED   10
 
#define G_LGREEN   11
 
#define G_LBLUE   12
 
#define G_LCYAN   13
 
#define G_LYELLOW   14
 
#define G_LMAGENTA   15
 
#define ED_START   0
 
#define ED_INIT   1
 
#define ED_CHAR   2
 
#define ED_END   3
 
#define EDSTART   ED_START
 
#define EDINIT   ED_INIT
 
#define EDCHAR   ED_CHAR
 
#define EDEND   ED_END
 
#define ED_CRSR   100
 
#define ED_DRAW   103
 
#define TE_LEFT   0
 
#define TE_RIGHT   1
 
#define TE_CNTR   2
 
#define NO_DRAW   0
 
#define REDRAW   1
 
#define OO_LAST   -1
 
#define OO_FIRST   0
 
#define SV_INQUIRE   0
 
#define SV_SET   1
 
#define LK3DIND   1
 
#define LK3DACT   2
 
#define INDBUTCOL   3
 
#define ACTBUTCOL   4
 
#define BACKGRCOL   5
 
#define AD3DVAL   6
 
#define MX_ENABLE3D   10
 
#define MENUCOL   11
 
#define __PXY
 
#define __GRECT
 
#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])
 
#define MD_REPLACE   1
 
#define MD_TRANS   2
 
#define MD_XOR   3
 
#define MD_ERASE   4
 
#define ALL_WHITE   0
 
#define S_AND_D   1
 
#define S_AND_NOTD   2
 
#define S_ONLY   3
 
#define NOTS_AND_D   4
 
#define D_ONLY   5
 
#define S_XOR_D   6
 
#define S_OR_D   7
 
#define NOT_SORD   8
 
#define NOT_SXORD   9
 
#define D_INVERT   10
 
#define NOT_D   10
 
#define S_OR_NOTD   11
 
#define NOT_S   12
 
#define NOTS_OR_D   13
 
#define NOT_SANDD   14
 
#define ALL_BLACK   15
 
#define BEZ_BEZIER   0x01
 
#define BEZ_POLYLINE   0x00
 
#define BEZ_NODRAW   0x02
 
#define IMAGE_LEFT   0
 
#define IMAGE_CENTER   1
 
#define IMAGE_RIGHT   2
 
#define IMAGE_TOP   0
 
#define IMAGE_BOTTOM   2
 
#define NOJUSTIFY   0
 
#define JUSTIFY   1
 
#define COLOR_REQUESTED   0
 
#define COLOR_ACTUAL   1
 
#define GDOS_NONE   (-2L) /* no GDOS installed */
 
#define GDOS_FSM   0x5F46534DL /* '_FSM' */
 
#define GDOS_FNT   0x5F464E54L /* '_FNT' */
 
#define VINMODE_LOCATOR   1
 
#define VINMODE_VALUATOR   2
 
#define VINMODE_CHOICE   3
 
#define VINMODE_STRING   4
 
#define CACHE_CHAR   0
 
#define CACHE_MISC   1
 
#define DEV_MISSING   0
 
#define DEV_INSTALLED   1
 
#define BITMAP_FONT   0
 
#define FIS_HOLLOW   0
 
#define FIS_SOLID   1
 
#define FIS_PATTERN   2
 
#define FIS_HATCH   3
 
#define FIS_USER   4
 
#define PERIMETER_OFF   0
 
#define PERIMETER_ON   1
 
#define SQUARE   0
 
#define ARROWED   1
 
#define ROUND   2
 
#define LE_SQUARED   SQUARE
 
#define LE_ARROWED   ARROWED
 
#define LE_ROUNDED   ROUND
 
#define SOLID   1
 
#define LDASHED   2
 
#define DOTTED   3
 
#define DASHDOT   4
 
#define DASH   5
 
#define DASHDOTDOT   6
 
#define USERLINE   7
 
#define LT_SOLID   SOLID
 
#define LT_LONGDASH   LDASHED
 
#define LT_DOTTED   DOTTED
 
#define LT_DASHDOT   DASHDOT
 
#define LT_DASHED   DASH
 
#define LT_DASHDOTDOT   DASHDOTDOT
 
#define LT_USERDEF   USERLINE
 
#define LONGDASH   LDASHED
 
#define DOT   DOTTED
 
#define DASH2DOT   DASHDOTDOT
 
#define MRKR_DOT   1
 
#define MRKR_PLUS   2
 
#define MRKR_ASTERISK   3
 
#define MRKR_BOX   4
 
#define MRKR_CROSS   5
 
#define MRKR_DIAMOND   6
 
#define MT_DOT   MRKR_DOT
 
#define MT_PLUS   MRKR_PLUS
 
#define MT_ASTERISK   MRKR_ASTERISK
 
#define MT_SQUARE   MRKR_BOX
 
#define MT_DCROSS   MRKR_CROSS
 
#define MT_DIAMOND   MRKR_DIAMOND
 
#define TA_LEFT   0 /* horizontal */
 
#define TA_CENTER   1
 
#define TA_RIGHT   2
 
#define TA_BASE   0 /* vertical */
 
#define TA_HALF   1
 
#define TA_ASCENT   2
 
#define TA_BOTTOM   3
 
#define TA_DESCENT   4
 
#define TA_TOP   5
 
#define MAP_BITSTREAM   0
 
#define MAP_ATARI   1
 
#define MAP_UNICODE   2 /* for vst_map_mode, NVDI 4 */
 
#define TXT_NORMAL   0x0000
 
#define TXT_THICKENED   0x0001
 
#define TXT_LIGHT   0x0002
 
#define TXT_SKEWED   0x0004
 
#define TXT_UNDERLINED   0x0008
 
#define TXT_OUTLINED   0x0010
 
#define TXT_SHADOWED   0x0020
 
#define TF_NORMAL   TXT_NORMAL
 
#define TF_THICKENED   TXT_THICKENED
 
#define TF_LIGHTENED   TXT_LIGHT
 
#define TF_SLANTED   TXT_SKEWED
 
#define TF_UNDERLINED   TXT_UNDERLINED
 
#define TF_OUTLINED   TXT_OUTLINED
 
#define TF_SHADOWED   TXT_SHADOWED
 
#define APP_ERROR   0
 
#define SCREEN_ERROR   1
 
#define NO_ERROR   0
 
#define CHAR_NOT_FOUND   1
 
#define FILE_READERR   8
 
#define FILE_OPENERR   9
 
#define BAD_FORMAT   10
 
#define CACHE_FULL   11
 
#define MISC_ERROR   (-1)
 
#define TRACK_NONE   0
 
#define TRACK_NORMAL   1
 
#define TRACK_TIGHT   2
 
#define TRACK_VERYTIGHT   3
 
#define PAIR_OFF   0
 
#define PAIR_ON   1
 
#define SCRATCH_BOTH   0
 
#define SCRATCH_BITMAP   1
 
#define SCRATCH_NONE   2
 
#define SLM_OK   0x00
 
#define SLM_ERROR   0x02
 
#define SLM_NOTONER   0x03
 
#define SLM_NOPAPER   0x04
 
#define udef_vs_color   vs_color
 
#define udef_vswr_mode   vswr_mode
 
#define udef_vsf_color   vsf_color
 
#define udef_vsf_interior   vsf_interior
 
#define udef_vsf_perimeter   vsf_perimeter
 
#define udef_vsf_xperimeter   vsf_xperimeter
 
#define udef_vsf_style   vsf_style
 
#define udef_vsf_udpat   vsf_udpat
 
#define udef_vsl_color   vsl_color
 
#define udef_vsl_ends   vsl_ends
 
#define udef_vsl_type   vsl_type
 
#define udef_vsl_udsty   vsl_udsty
 
#define udef_vsl_width   vsl_width
 
#define udef_vsm_color   vsm_color
 
#define udef_vsm_height   vsm_height
 
#define udef_vsm_type   vsm_type
 
#define udef_vst_alignment   vst_alignment
 
#define udef_vst_color   vst_color
 
#define udef_vst_effects   vst_effects
 
#define udef_vst_font   vst_font
 
#define udef_vst_height   vst_height
 
#define udef_vst_point   vst_point
 
#define udef_vst_rotation   vst_rotation
 
#define udef_vst_scratch   vst_scratch
 
#define udef_v_clrwk   v_clrwk
 
#define udef_v_clsvwk   v_clsvwk
 
#define udef_v_clswk   v_clswk
 
#define udef_v_flushcache   v_flushcache
 
#define udef_v_opnvwk   v_opnvwk
 
#define udef_v_opnwk   v_opnwk
 
#define udef_v_set_app_buff   v_set_app_buff
 
#define udef_v_updwk   v_updwk
 
#define udef_vs_clip   vs_clip
 
#define udef_vs_clip_pxy   vs_clip_pxy
 
#define udef_vs_clip_off   vs_clip_off
 
#define udef_vst_load_fonts   vst_load_fonts
 
#define udef_vst_unload_fonts   vst_unload_fonts
 
#define v_curaddress   vs_curaddress
 
#define udef_v_clear_disp_list   v_clear_disp_list
 
#define udef_v_copies   v_copies
 
#define udef_v_dspcur   v_dspcur
 
#define udef_v_form_adv   v_form_adv
 
#define udef_v_hardcopy   v_hardcopy
 
#define udef_v_orient   v_orient
 
#define udef_v_output_window   v_output_window
 
#define udef_v_page_size   v_page_size
 
#define udef_v_rmcur   v_rmcur
 
#define udef_v_trays   v_trays
 
#define udef_vq_calibrate   vq_calibrate
 
#define udef_vq_page_name   vq_page_name
 
#define udef_vq_scan   vq_scan
 
#define udef_vq_tabstatus   vq_tabstatus
 
#define udef_vq_tray_names   vq_tray_names
 
#define udef_vs_calibrate   vs_calibrate
 
#define udef_vs_palette   vs_palette
 
#define udef_v_sound   v_sound
 
#define udef_vs_mute   vs_mute
 
#define udef_vq_tdimensions   vq_tdimensions
 
#define udef_vt_alignment   vt_alignment
 
#define udef_vt_axis   vt_axis
 
#define udef_vt_origin   vt_origin
 
#define udef_vt_resolution   vt_resolution
 
#define udef_v_meta_extents   v_meta_extents
 
#define udef_v_write_meta   v_write_meta
 
#define udef_vm_coords   vm_coords
 
#define udef_vm_pagesize   vm_pagesize
 
#define udef_vsc_expose   vsc_expose
 
#define udef_vsp_film   vsp_film
 
#define udef_vqp_filmname   vqp_filmname
 
#define udef_v_offset   v_offset
 
#define udef_v_fontinit   v_fontinit
 
#define udef_v_escape2000   v_escape2000
 
#define udef_v_alpha_text16n   v_alpha_text16n
 
#define udef_v_curdown   v_curdown
 
#define udef_v_curhome   v_curhome
 
#define udef_v_curleft   v_curleft
 
#define udef_v_curright   v_curright
 
#define udef_v_curtext16n   v_curtext16n
 
#define udef_v_curup   v_curup
 
#define udef_v_eeol   v_eeol
 
#define udef_v_eeos   v_eeos
 
#define udef_v_enter_cur   v_enter_cur
 
#define udef_v_exit_cur   v_exit_cur
 
#define udef_v_rvoff   v_rvoff
 
#define udef_v_rvon   v_rvon
 
#define udef_vq_chcells   vq_chcells
 
#define udef_vq_curaddress   vq_curaddress
 
#define udef_vs_curaddress   vs_curaddress
 
#define udef_v_curaddress   udef_vs_curaddress
 
#define udef_vq_cellarray   vq_cellarray
 
#define udef_vq_color   vq_color
 
#define udef_vq_extnd   vq_extnd
 
#define udef_vqf_attributes   vqf_attributes
 
#define udef_vqin_mode   vqin_mode
 
#define udef_vql_attributes   vql_attributes
 
#define udef_vqm_attributes   vqm_attributes
 
#define udef_vqt_attributes   vqt_attributes
 
#define udef_vqt_cachesize   vqt_cachesize
 
#define udef_vqt_extent16   vqt_extent16
 
#define udef_vqt_extent16n   vqt_extent16n
 
#define udef_vqt_fontinfo   vqt_fontinfo
 
#define udef_vqt_get_table   vqt_get_table
 
#define udef_vqt_name   vqt_name
 
#define udef_vqt_width   vqt_width
 
#define udef_vq_gdos   vq_gdos
 
#define udef_vq_vgdos   vq_vgdos
 
#define udef_v_hide_c   v_hide_c
 
#define udef_v_show_c   v_show_c
 
#define udef_vex_butv   vex_butv
 
#define udef_vex_curv   vex_curv
 
#define udef_vex_motv   vex_motv
 
#define udef_vex_wheelv   vex_wheelv
 
#define udef_vex_timv   vex_timv
 
#define udef_vq_key_s   vq_key_s
 
#define udef_vq_mouse   vq_mouse
 
#define udef_vrq_choice   vrq_choice
 
#define udef_vrq_locator   vrq_locator
 
#define udef_vrq_valuator   vrq_valuator
 
#define udef_vsc_form   vsc_form
 
#define udef_vsin_mode   vsin_mode
 
#define udef_vsm_choice   vsm_choice
 
#define udef_vsm_locator   vsm_locator
 
#define udef_vsm_valuator   vsm_valuator
 
#define udef_v_arc   v_arc
 
#define udef_v_bar   v_bar
 
#define udef_v_cellarray   v_cellarray
 
#define udef_v_circle   v_circle
 
#define udef_v_contourfill   v_contourfill
 
#define udef_v_ellarc   v_ellarc
 
#define udef_v_ellipse   v_ellipse
 
#define udef_v_ellpie   v_ellpie
 
#define udef_v_fillarea   v_fillarea
 
#define udef_v_gtext16   v_gtext16
 
#define udef_v_gtext16n   v_gtext16n
 
#define udef_v_justified16n   v_justified16n
 
#define udef_v_pieslice   v_pieslice
 
#define udef_v_pline   v_pline
 
#define udef_v_pmarker   v_pmarker
 
#define udef_v_rbox   v_rbox
 
#define udef_v_rfbox   v_rfbox
 
#define udef_vr_recfl   vr_recfl
 
#define udef_v_get_pixel   v_get_pixel
 
#define udef_vr_trnfm   vr_trnfm
 
#define udef_vro_cpyfm   vro_cpyfm
 
#define udef_vrt_cpyfm   vrt_cpyfm
 
#define VDI_CNTRLMAX   15
 
#define VDI_INTINMAX   1024
 
#define VDI_INTOUTMAX   512
 
#define VDI_PTSINMAX   1024
 
#define VDI_PTSOUTMAX   256
 

Typedefs

typedef struct pEvntrec EVNTREC
 
typedef struct _mn_set MN_SET
 
typedef struct mouse_form MFORM
 
typedef struct point_coord PXY
 
typedef struct graphic_rectangle GRECT
 
typedef struct objc_colorword OBJC_COLORWORD
 
typedef struct text_edinfo TEDINFO
 
typedef struct icon_block ICONBLK
 
typedef struct bit_block BITBLK
 
typedef struct cicon_data CICON
 
typedef struct cicon_blk CICONBLK
 
typedef union obspecptr OBSPEC
 
typedef struct object OBJECT
 
typedef struct parm_block PARMBLK
 
typedef struct user_block USERBLK
 
typedef struct rshdr RSHDR
 
typedef struct _menu MENU
 
typedef struct mouse_event_type MOUSE_EVENT
 
typedef void __CDECL(* FSEL_CALLBACK) (short *msg)
 
typedef struct memory_form MFDB
 
typedef struct rgb_1000 RGB1000
 
typedef short VdiHdl
 

Functions

short mt_appl_bvset (short bvdisk, short bvhard, short *global_aes)
 
short mt_appl_control (short ap_cid, short ap_cwhat, void *ap_cout, short *global_aes)
 
short mt_appl_exit (short *global_aes)
 
short mt_appl_find (const char *name, short *global_aes)
 
short mt_appl_getinfo (short type, short *out1, short *out2, short *out3, short *out4, short *global_aes)
 
short mt_appl_getinfo_str (short type, char *out1, char *out2, char *out3, char *out4, short *global_aes)
 
short mt_appl_init (short *global_aes)
 
short mt_appl_read (short ap_id, short length, void *ap_pbuff, short *global_aes)
 
short mt_appl_search (short mode, char *fname, short *type, short *ap_id, short *global_aes)
 
short mt_appl_tplay (void *mem, short num, short scale, short *global_aes)
 
short mt_appl_trecord (void *mem, short count, short *global_aes)
 
short mt_appl_write (short ap_id, short length, void *ap_pbuff, short *global_aes)
 
short mt_appl_yield (short *global_aes)
 
short mt_appl_get_cicon (short type, const char *name, short size, short *cicon_width, short *cicon_height, CICON **cicon_data, short *global_aes)
 
short mt_evnt_button (short Clicks, short WhichButton, short WhichState, short *Mx, short *My, short *ButtonState, short *KeyState, short *global_aes)
 
short mt_evnt_dclick (short ToSet, short SetGet, short *global_aes)
 
short mt_evnt_keybd (short *global_aes)
 
short mt_evnt_mesag (short MesagBuf[], short *global_aes)
 
short mt_evnt_mouse (short EnterExit, short InX, short InY, short InW, short InH, short *OutX, short *OutY, short *ButtonState, short *KeyState, short *global_aes)
 
short mt_evnt_multi (short Type, short Clicks, short WhichButton, short WhichState, short EnterExit1, short In1X, short In1Y, short In1W, short In1H, short EnterExit2, short In2X, short In2Y, short In2W, short In2H, short MesagBuf[], unsigned long Interval, short *OutX, short *OutY, short *ButtonState, short *KeyState, short *Key, short *ReturnCount, short *global_aes)
 
short mt_evnt_multi_fast (const EVMULT_IN *em_i, short MesagBuf[], EVMULT_OUT *em_o, short *global_aes)
 
short mt_evnt_timer (unsigned long Interval, short *global_aes)
 
short mt_form_alert (short DefButton, const char *Str, short *global_aes)
 
short mt_form_button (OBJECT *, short Bobject, short Bclicks, short *Bnxtobj, short *global_aes)
 
short mt_form_center (OBJECT *, short *Cx, short *Cy, short *Cw, short *Ch, short *global_aes)
 
short mt_form_center_grect (OBJECT *, GRECT *r, short *global_aes)
 
short mt_form_dial (short Flag, short Sx, short Sy, short Sw, short Sh, short Bx, short By, short Bw, short Bh, short *global_aes)
 
short mt_form_do (OBJECT *, short StartObj, short *global_aes)
 
short mt_form_error (short ErrorCode, short *global_aes)
 
short mt_form_keybd (OBJECT *, short Kobject, short Kobnext, short Kchar, short *Knxtobject, short *Knxtchar, short *global_aes)
 
short mt_fsel_exinput (char *path, char *file, short *exit_button, const char *title, short *global)
 
short mt_fsel_input (char *path, char *file, short *exit_button, short *global)
 
short mt_fsel_boxinput (char *path, char *file, short *exit_button, const char *title, FSEL_CALLBACK callback, short *global)
 
short mt_graf_dragbox (short Sw, short Sh, short Sx, short Sy, short Bx, short By, short Bw, short Bh, short *Fw, short *Fh, short *global_aes)
 
short mt_graf_growbox (short Sx, short Sy, short Sw, short Sh, short Fx, short Fy, short Fw, short Fh, short *global_aes)
 
short mt_graf_growbox_grect (const GRECT *in, const GRECT *out, short *global_aes)
 
short mt_graf_handle (short *Wchar, short *Hchar, short *Wbox, short *Hbox, short *global_aes)
 
short mt_graf_xhandle (short *Wchar, short *Hchar, short *Wbox, short *Hbox, short *device, short *global_aes)
 
short mt_graf_mbox (short Sw, short Sh, short Sx, short Sy, short Dx, short Dy, short *global_aes)
 
short mt_graf_mkstate (short *Mx, short *My, short *ButtonState, short *KeyState, short *global_aes)
 
short mt_graf_mouse (short Form, const MFORM *FormAddress, short *global_aes)
 
short mt_graf_rubberbox (short Ix, short Iy, short Iw, short Ih, short *Fw, short *Fh, short *global_aes)
 
short mt_graf_multirubber (short bx, short by, short mw, short mh, GRECT *rec, short *rw, short *rh, short *global_aes)
 
short mt_graf_shrinkbox (short Fx, short Fy, short Fw, short Fh, short Sx, short Sy, short Sw, short Sh, short *global_aes)
 
short mt_graf_shrinkbox_grect (const GRECT *in, const GRECT *out, short *global_aes)
 
short mt_graf_slidebox (OBJECT *, short Parent, short Object, short Direction, short *global_aes)
 
short mt_graf_watchbox (OBJECT *, short Object, short InState, short OutState, short *global_aes)
 
short mt_graf_wwatchbox (OBJECT *, short Object, short InState, short OutState, short whandle, short *global_aes)
 
short mt_menu_attach (short me_flag, OBJECT *me_tree, short me_item, MENU *me_mdata, short *global)
 
short mt_menu_bar (OBJECT *me_tree, short me_mode, short *global)
 
short mt_menu_click (short click, short setit, short *global)
 
short mt_menu_icheck (OBJECT *me_tree, short me_item, short me_check, short *global)
 
short mt_menu_ienable (OBJECT *me_tree, short me_item, short me_enable, short *global)
 
short mt_menu_istart (short me_flag, OBJECT *me_tree, short me_imenu, short me_item, short *global)
 
short mt_menu_popup (MENU *me_menu, short me_xpos, short me_ypos, MENU *me_mdata, short *global)
 
short mt_menu_register (short ap_id, char *me_text, short *global)
 
short mt_menu_settings (short me_flag, MN_SET *me_values, short *global)
 
short mt_menu_text (OBJECT *me_tree, short me_item, char *me_text, short *global)
 
short mt_menu_tnormal (OBJECT *me_tree, short me_item, short me_normal, short *global)
 
short mt_menu_unregister (short id, short *global)
 
short mt_objc_add (OBJECT *, short Parent, short Child, short *global)
 
short mt_objc_change (OBJECT *, short Object, short Res, short Cx, short Cy, short Cw, short Ch, short NewState, short Redraw, short *global_aes)
 
short mt_objc_delete (OBJECT *, short Object, short *global_aes)
 
short mt_objc_draw (OBJECT *, short Start, short Depth, short Cx, short Cy, short Cw, short Ch, short *global_aes)
 
short mt_objc_draw_grect (OBJECT *, short Start, short Depth, const GRECT *r, short *global_aes)
 
short mt_objc_edit (OBJECT *, short Object, short Char, short *Index, short Kind, short *global_aes)
 
short mt_objc_find (OBJECT *, short Start, short Depth, short Mx, short My, short *global_aes)
 
short mt_objc_xfind (OBJECT *, short Start, short Depth, short Mx, short My, short *global_aes)
 
short mt_objc_offset (OBJECT *, short Object, short *X, short *Y, short *global_aes)
 
short mt_objc_order (OBJECT *, short Object, short NewPos, short *global_aes)
 
short mt_objc_sysvar (short mode, short which, short in1, short in2, short *out1, short *out2, short *global_aes)
 
short mt_rsrc_free (short *global_aes)
 
short mt_rsrc_gaddr (short Type, short Index, void *Address, short *global_aes)
 
short mt_rsrc_load (const char *Name, short *global_aes)
 
short mt_rsrc_obfix (OBJECT *, short Index, short *global_aes)
 
short mt_rsrc_rcfix (void *rc_header, short *global_aes)
 
short mt_rsrc_saddr (short Type, short Index, void *Address, short *global_aes)
 
short mt_scrp_clear (short *global_aes)
 
short mt_scrp_read (char *Scrappath, short *global_aes)
 
short mt_scrp_write (const char *Scrappath, short *global_aes)
 
short mt_shel_envrn (char **result, const char *param, short *global_aes)
 
short mt_shel_find (char *buf, short *global_aes)
 
short mt_shel_get (char *Buf, short Len, short *global_aes)
 
short mt_shel_help (short sh_hmode, const char *sh_hfile, const char *sh_hkey, short *global_aes)
 
short mt_shel_put (const char *Buf, short Len, short *global_aes)
 
short mt_shel_rdef (char *lpcmd, char *lpdir, short *global_aes)
 
short mt_shel_read (char *Command, char *Tail, short *global_aes)
 
short mt_shel_wdef (const char *lpcmd, const char *lpdir, short *global_aes)
 
short mt_shel_write (short Exit, short Graphic, short Aes, void *Command, char *Tail, short *global_aes)
 
short mt_wind_calc (short Type, short Parts, short InX, short InY, short InW, short InH, short *OutX, short *OutY, short *OutW, short *OutH, short *global_aes)
 
short mt_wind_close (short WindowHandle, short *global_aes)
 
short mt_wind_create (short Parts, short Wx, short Wy, short Ww, short Wh, short *global_aes)
 
short mt_wind_xcreate (short Parts, short Wx, short Wy, short Ww, short Wh, short *OutX, short *OutY, short *OutW, short *OutH, short *global_aes)
 
short mt_wind_delete (short WindowHandle, short *global_aes)
 
short mt_wind_draw (short WindowHandle, short startob, short *global_aes)
 
short mt_wind_find (short X, short Y, short *global_aes)
 
short mt_wind_get (short WindowHandle, short What, short *W1, short *W2, short *W3, short *W4, short *global_aes)
 
short mt_wind_new (short *global_aes)
 
short mt_wind_open (short WindowHandle, short Wx, short Wy, short Ww, short Wh, short *global_aes)
 
short mt_wind_set (short WindowHandle, short What, short W1, short W2, short W3, short W4, short *global_aes)
 
short mt_wind_update (short Code, short *global_aes)
 
short mt_wind_calc_grect (short Type, short Parts, const GRECT *In, GRECT *Out, short *global_aes)
 
short mt_wind_create_grect (short Parts, const GRECT *r, short *global_aes)
 
short mt_wind_xcreate_grect (short Parts, const GRECT *r, GRECT *ret, short *global_aes)
 
short mt_wind_get_grect (short WindowHandle, short What, GRECT *r, short *global_aes)
 
short mt_wind_xget_grect (short WindowHandle, short What, const GRECT *clip, GRECT *r, short *global_aes)
 
short mt_wind_open_grect (short WindowHandle, const GRECT *r, short *global_aes)
 
short mt_wind_set_grect (short WindowHandle, short What, const GRECT *r, short *global_aes)
 
short mt_wind_xset_grect (short WindowHandle, short What, const GRECT *s, GRECT *r, short *global_aes)
 
short mt_wind_set_str (short WindowHandle, short What, const char *str, short *global_aes)
 
short rc_copy (const GRECT *src, GRECT *dst)
 
short rc_equal (const GRECT *r1, const GRECT *r2)
 
short rc_intersect (const GRECT *src, GRECT *dst)
 
GRECTarray_to_grect (const short *array, GRECT *area)
 
short * grect_to_array (const GRECT *area, short *array)
 
void aes (AESPB *pb)
 
void vs_color (VdiHdl, short color_idx, short rgb[])
 
short vswr_mode (VdiHdl, short mode)
 
short vsf_color (VdiHdl, short color_idx)
 
short vsf_interior (VdiHdl, short style)
 
short vsf_perimeter (VdiHdl, short vis)
 
short vsf_xperimeter (VdiHdl, short vis, short style)
 
short vsf_style (VdiHdl, short style)
 
void vsf_udpat (VdiHdl, short pat[], short planes)
 
short vsl_color (VdiHdl, short color_idx)
 
void vsl_ends (VdiHdl, short begstyle, short endstyle)
 
short vsl_type (VdiHdl, short style)
 
void vsl_udsty (VdiHdl, short pat)
 
short vsl_width (VdiHdl, short width)
 
short vsm_color (VdiHdl, short color_idx)
 
short vsm_height (VdiHdl, short height)
 
short vsm_type (VdiHdl, short symbol)
 
void vst_alignment (VdiHdl, short hin, short vin, short *hout, short *vout)
 
short vst_color (VdiHdl, short color_idx)
 
short vst_effects (VdiHdl, short effects)
 
void vst_error (VdiHdl, short mode, short *errorvar)
 
short vst_font (VdiHdl, short font)
 
void vst_height (VdiHdl, short height, short *charw, short *charh, short *cellw, short *cellh)
 
short vst_point (VdiHdl, short point, short *charw, short *charh, short *cellw, short *cellh)
 
short vst_rotation (VdiHdl, short ang)
 
void vst_scratch (VdiHdl, short mode)
 
void udef_vst_error (VdiHdl, short mode, short *errorvar)
 
void v_clrwk (VdiHdl)
 
void v_clsvwk (VdiHdl)
 
void v_clswk (VdiHdl)
 
short v_flushcache (VdiHdl)
 
short v_loadcache (VdiHdl, const char *filename, short mode)
 
void v_opnvwk (short work_in[], VdiHdl *, short work_out[])
 
void v_opnwk (short work_in[], VdiHdl *, short work_out[])
 
short v_savecache (VdiHdl, const char *filename)
 
void v_set_app_buff (VdiHdl, void *buf_p, short size)
 
void v_updwk (VdiHdl)
 
void vs_clip (VdiHdl, short clip_flag, short pxy[])
 
void vs_clip_pxy (VdiHdl, PXY pxy[])
 
void vs_clip_off (VdiHdl)
 
short vst_load_fonts (VdiHdl, short)
 
void vst_unload_fonts (VdiHdl, short)
 
short udef_v_loadcache (VdiHdl, const char *filename, short mode)
 
short udef_v_savecache (VdiHdl, const char *filename)
 
void v_bit_image (VdiHdl, const char *filename, short aspect, short x_scale, short y_scale, short h_align, short v_align, short *pxy)
 
void v_clear_disp_list (VdiHdl)
 
short v_copies (VdiHdl, short count)
 
void v_dspcur (VdiHdl, short x, short y)
 
void v_form_adv (VdiHdl)
 
void v_hardcopy (VdiHdl)
 
short v_orient (VdiHdl, short orientation)
 
void v_output_window (VdiHdl, short *pxy)
 
short v_page_size (VdiHdl, short page_id)
 
void v_rmcur (VdiHdl)
 
short v_trays (VdiHdl, short input, short output, short *set_input, short *set_output)
 
short vq_calibrate (VdiHdl, short *flag)
 
short vq_page_name (VdiHdl, short page_id, char *page_name, long *page_width, long *page_height)
 
void vq_scan (VdiHdl, short *g_slice, short *g_page, short *a_slice, short *a_page, short *div_fac)
 
short vq_tabstatus (VdiHdl)
 
short vq_tray_names (VdiHdl, char *input_name, char *output_name, short *input, short *output)
 
short vs_calibrate (VdiHdl, short flag, short *rgb)
 
short vs_palette (VdiHdl, short palette)
 
void v_sound (VdiHdl, short freq, short duration)
 
short vs_mute (VdiHdl, short action)
 
void vq_tdimensions (VdiHdl, short *xdimension, short *ydimension)
 
void vt_alignment (VdiHdl, short dx, short dy)
 
void vt_axis (VdiHdl, short xres, short yres, short *xset, short *yset)
 
void vt_origin (VdiHdl, short xorigin, short yorigin)
 
void vt_resolution (VdiHdl, short xres, short yres, short *xset, short *yset)
 
void v_meta_extents (VdiHdl, short min_x, short min_y, short max_x, short max_y)
 
void v_write_meta (VdiHdl, short numvdi_intin, short *avdi_intin, short num_ptsin, short *a_ptsin)
 
void vm_coords (VdiHdl, short llx, short lly, short urx, short ury)
 
void vm_filename (VdiHdl, const char *filename)
 
void vm_pagesize (VdiHdl, short pgwidth, short pgheight)
 
void vsc_expose (VdiHdl, short state)
 
void vsp_film (VdiHdl, short color_idx, short lightness)
 
short vqp_filmname (VdiHdl, short _index, char *name)
 
void v_offset (VdiHdl, short offset)
 
void v_fontinit (VdiHdl, const void *font_header)
 
void v_escape2000 (VdiHdl, short times)
 
void v_alpha_text (VdiHdl, const char *str)
 
void v_alpha_text16n (VdiHdl, const short *wstr, short num)
 
void v_curdown (VdiHdl)
 
void v_curhome (VdiHdl)
 
void v_curleft (VdiHdl)
 
void v_curright (VdiHdl)
 
void v_curtext (VdiHdl, const char *str)
 
void v_curtext16n (VdiHdl, const short *wstr, short num)
 
void v_curup (VdiHdl)
 
void v_eeol (VdiHdl)
 
void v_eeos (VdiHdl)
 
void v_enter_cur (VdiHdl)
 
void v_exit_cur (VdiHdl)
 
void v_rvoff (VdiHdl)
 
void v_rvon (VdiHdl)
 
void vq_chcells (VdiHdl, short *n_rows, short *n_cols)
 
void vq_curaddress (VdiHdl, short *cur_row, short *cur_col)
 
void vs_curaddress (VdiHdl, short row, short col)
 
void udef_v_bit_image (VdiHdl, const char *filename, short aspect, short x_scale, short y_scale, short h_align, short v_align, short *pxy)
 
void udef_vm_filename (VdiHdl, const char *filename)
 
void udef_v_alpha_text (VdiHdl, const char *str)
 
void udef_v_curtext (VdiHdl, const char *str)
 
void vq_cellarray (VdiHdl, short pxy[], short row_len, short nrows, short *el_used, short *rows_used, short *status, short color[])
 
short vq_color (VdiHdl, short color_idx, short flag, short rgb[])
 
void vq_extnd (VdiHdl, short flag, short work_out[])
 
void vqf_attributes (VdiHdl, short atrib[])
 
void vqin_mode (VdiHdl, short dev, short *mode)
 
void vql_attributes (VdiHdl, short atrib[])
 
void vqm_attributes (VdiHdl, short atrib[])
 
void vqt_attributes (VdiHdl, short atrib[])
 
void vqt_cachesize (VdiHdl, short which_cache, long *size)
 
void vqt_extent (VdiHdl, const char *str, short extent[])
 
void vqt_extent16 (VdiHdl, const short *wstr, short extent[])
 
void vqt_extent16n (VdiHdl, const short *wstr, short num, short extent[])
 
void vqt_fontinfo (VdiHdl, short *minade, short *maxade, short distances[], short *maxwidth, short effects[])
 
void vqt_get_table (VdiHdl, short **map)
 
short vqt_name (VdiHdl, short element, char *name)
 
short vqt_width (VdiHdl, short chr, short *cw, short *ldelta, short *rdelta)
 
short vq_gdos (void)
 
long vq_vgdos (void)
 
void udef_vqt_extent (VdiHdl, const char *str, short extent[])
 
void v_hide_c (VdiHdl)
 
void v_show_c (VdiHdl, short reset)
 
void vex_butv (VdiHdl, void *pusrcode, void **psavcode)
 
void vex_curv (VdiHdl, void *pusrcode, void **psavcode)
 
void vex_motv (VdiHdl, void *pusrcode, void **psavcode)
 
void vex_wheelv (VdiHdl, void *pusrcode, void **psavcode)
 
void vex_timv (VdiHdl, void *time_addr, void **otime_addr, short *time_conv)
 
void vq_key_s (VdiHdl, short *state)
 
void vq_mouse (VdiHdl, short *pstatus, short *x, short *y)
 
void vrq_choice (VdiHdl, short cin, short *cout)
 
void vrq_locator (VdiHdl, short x, short y, short *xout, short *yout, short *term)
 
void vrq_string (VdiHdl, short len, short echo, short echoxy[], char *str)
 
void vrq_valuator (VdiHdl, short in, short *out, short *term)
 
void vsc_form (VdiHdl, short form[])
 
short vsin_mode (VdiHdl, short dev, short mode)
 
short vsm_choice (VdiHdl, short *choice)
 
short vsm_locator (VdiHdl, short x, short y, short *xout, short *yout, short *term)
 
short vsm_string (VdiHdl, short len, short echo, short echoxy[], char *str)
 
void vsm_valuator (VdiHdl, short in, short *out, short *term, short *status)
 
void udef_vrq_string (VdiHdl, short len, short echo, short echoxy[], char *str)
 
short udef_vsm_string (VdiHdl, short len, short echo, short echoxy[], char *str)
 
void v_arc (VdiHdl, short x, short y, short radius, short begang, short endang)
 
void v_bar (VdiHdl, short pxy[])
 
void v_cellarray (VdiHdl, short pxy[], short row_length, short elements, short nrows, short write_mode, short colarray[])
 
void v_circle (VdiHdl, short x, short y, short radius)
 
void v_contourfill (VdiHdl, short x, short y, short color_idx)
 
void v_ellarc (VdiHdl, short x, short y, short xrad, short yrad, short begang, short endang)
 
void v_ellipse (VdiHdl, short x, short y, short xrad, short yrad)
 
void v_ellpie (VdiHdl, short x, short y, short xrad, short yrad, short begang, short endang)
 
void v_fillarea (VdiHdl, short count, short pxy[])
 
void v_gtext (VdiHdl, short x, short y, const char *str)
 
void v_gtext16 (VdiHdl, short x, short y, const short *wstr)
 
void v_gtext16n (VdiHdl, PXY pos, const short *wstr, short num)
 
void v_justified (VdiHdl, short x, short y, const char *str, short len, short word_space, short char_space)
 
void v_justified16n (VdiHdl, short x, short y, const short *wstr, short num, short len, short word_space, short char_space)
 
void v_pieslice (VdiHdl, short x, short y, short radius, short begang, short endang)
 
void v_pline (VdiHdl, short count, short pxy[])
 
void v_pmarker (VdiHdl, short count, short pxy[])
 
void v_rbox (VdiHdl, short pxy[])
 
void v_rfbox (VdiHdl, short pxy[])
 
void vr_recfl (VdiHdl, short pxy[])
 
void udef_v_gtext (VdiHdl, short x, short y, const char *str)
 
void udef_v_justified (VdiHdl, short x, short y, const char *str, short len, short word_space, short char_space)
 
void v_get_pixel (VdiHdl, short x, short y, short *pel, short *color_idx)
 
void vr_trnfm (VdiHdl, MFDB *src, MFDB *dst)
 
void vro_cpyfm (VdiHdl, short mode, short pxy[], MFDB *src, MFDB *dst)
 
void vrt_cpyfm (VdiHdl, short mode, short pxy[], MFDB *src, MFDB *dst, short color[])
 
void vdi_array2str (const short *src, char *des, short len)
 
short vdi_str2array (const char *src, short *des)
 
short vdi_str2array_n (const char *src, short *des, int nmax)
 
short vdi_wstrlen (const short *wstr)
 
void vdi (VDIPB *pb)
 

Detailed Description

main GEMlib header

Macro Definition Documentation

#define __GEMLIB__   __GEMLIB_MAJOR__

tell the world this is GEMLIB

#define __GEMLIB_AES

told the compiler to parse AES prototypes

#define __GEMLIB_BETATAG__   ""

BETATAG of gemlib

#define __GEMLIB_DEFS

told the compiler to parse both AES and VDI definitions

#define __GEMLIB_MAJOR__   0

MAJOR version number of gemlib

#define __GEMLIB_MINOR__   44

MINOR version number of gemlib

#define __GEMLIB_REVISION__   0

REVISION version number of gemlib

#define __GEMLIB_VDI

told the compiler to parse VDI prototypes

#define __GRECT

TODO

#define __MGEMLIB__   44

another identifier for MGEMLIB

#define __PXY

TODO

#define AC_CLOSE   41

message received by a desk accessory when the accessory should be closed.

  • msg[0] = AC_CLOSE
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = menu ID of the accessory to close.
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

    The menu ID is the value returned by mt_menu_register()

    Do not close any windows your accessory had open, the system will do this for you. Also, do not require any feedback from the user when this is received. Treat this message as a 'Cancel' from the user.

#define AC_OPEN   40

message received when the user has selected a desk accessory to open

  • msg[0] = AC_OPEN
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] =
  • msg[4] = menu ID of the accessory to open
  • msg[5] =
  • msg[6] =
  • msg[7] =

    The menu ID is the value returned by mt_menu_register()

#define ACTBUTCOL   4

default color for activator objects, see mt_objc_sysvar()

#define AD3DVAL   6

number of extra pixels to accomodate 3D effects, see mt_objc_sysvar()

#define AES_APPL_OPTION   99
#define AES_EXTENDED   64
#define AES_FORM   14
#define AES_INQUIRE   6
#define AES_LANGUAGE   3
#define AES_LARGEFONT   0
#define AES_MENU   9
#define AES_MESSAGE   12
#define AES_MOUSE   8
#define AES_NAES   65
#define AES_OBJECT   13
#define AES_PCGEM   5
#define AES_PROCESS   4
#define AES_SHELL   10
#define AES_SMALLFONT   1
#define AES_SYSTEM   2
#define AES_VERSION   96
#define AES_WFORM   98
#define AES_WINDOW   11
#define AES_WINX   22360

AES WINX information, see mt_appl_getinfo()

#define AES_WOPTS   97
#define AESLANG_ENGLISH   0
#define AESLANG_FRENCH   2
#define AESLANG_GERMAN   1
#define AESLANG_ITALIAN   5
#define AESLANG_SPANISH   4
#define AESLANG_SWEDISH   6
#define ALL_BLACK   15

TODO

#define ALL_WHITE   0

TODO

#define AP_AESTERM   52 /* Mode 10: N.AES komplett terminieren. */

TODO

#define AP_DRAGDROP   63

message received when another apllication wishes to initiate a drag and drop session.

  • msg[0] = AP_DRAGDROP
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window which had an object dropped on, or -1 if no specific window was targeted
  • msg[4] = x
  • msg[5] = y position of the mouse when the object was dropped
  • msg[6] = keybord shift state at the time of the drop as in mt_evnt_keybd()
  • msg[7] = two bytes ASCII packed pipe identifier which gives the file extension of the pipe to open.

    TODO: add more informations about drag 'n drop protocol...

#define AP_RESCHG   57

indicates a resolution change, see AP_TERM

#define AP_TERM   50

message received when the system requests that the application terminate.

  • msg[0] = AP_TERM
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] =
  • msg[4] =
  • msg[5] = reason for the shut down:
  • msg[6] =
  • msg[7] =

    This message is usually the result of a resolution change, but it may laso occur if another application sends this message to gain total control of the system.

    The application should shutdown immediately after closing windows, freeing resources, etc... If for some reason your application cannot shutdown, you must inform the AES by sending an AP_TFAIL message by using mt_shel_write() mode SWM_AESMSG.

    Note: Desk accessory will always be sent AC_CLOSE message, not AP_TERM

    Since
    AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MESSAGE.
#define AP_TFAIL   51

message sent to the system when the application has received an AP_TERM message and cannot shutdown.

  • msg[0] = AP_TFAIL
  • msg[1] = application error code
  • msg[2] = 0
  • msg[3] =
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =
#define APC_APP_CONFIG   17

Change some way to manage application by AES most of them can be already set in configuration file – see mt_appl_control()

#define APC_HIDE   10

Hide application – see mt_appl_control()

#define APC_HIDENOT   13

Hide all applications except the one referred to by ap_cid – see mt_appl_control()

#define APC_INFO   14

Get the application parameter – see mt_appl_control()

#define APC_INFORM_MESAG   18

Request/Remove the sent an user Unix Signal to application when AES message is available – see mt_appl_control()

#define APC_MENU   15

The last used menu tree is returned – see mt_appl_control()

#define APC_SHOW   11

Show application – see mt_appl_control()

#define APC_TOP   12

Bring application to front – see mt_appl_control()

#define APC_WIDGETS   16

Inquires or sets the 'default' positions of the window widgets – see mt_appl_control()

#define APCI_HASDESK   0x04

the application has a own desk – subopcode for APC_INFO

#define APCI_HASMBAR   0x02

the application has a menu bar – subopcode for APC_INFO

#define APCI_HIDDEN   0x01

the application is hidden – subopcode for APC_INFO

#define APP_ACCESSORY   0x04
#define APP_APPLICATION   0x02
#define APP_DESK   2
#define APP_ERROR   0

TODO

#define APP_FIRST   0
#define APP_NEXT   1
#define APP_SHELL   0x08
#define APP_SYSTEM   0x01
#define APPEVNT_BUTTON   1

see struct pEvntrec

#define APPEVNT_KEYBOARD   3

see struct pEvntrec

#define APPEVNT_MOUSE   2

see struct pEvntrec

#define APPEVNT_TIMER   0

see struct pEvntrec

#define APR_NOWAIT   -1

Do not wait for message – see mt_appl_read()

#define ARROW   0
#define ARROWED   1

TODO

#define BACKDROP   0x2000

Window has a backdrop box

#define BACKGRCOL   5

default color for background objects, see mt_objc_sysvar()

#define BAD_FORMAT   10

TODO

#define BEE   2
#define BEG_MCTRL   3

mouse button message only sent to the application, see mt_wind_update()

#define BEG_UPDATE   1

lock the screen, see mt_wind_update()

#define BEVENT_INFO   0x0002

?????, see WF_BEVENT

#define BEVENT_WORK   0x0001

window not topped when click on the work area, see WF_BEVENT

#define BEZ_BEZIER   0x01

TODO

#define BEZ_NODRAW   0x02

TODO

#define BEZ_POLYLINE   0x00

TODO

#define BITMAP_FONT   0

TODO

#define BORDER   0x8000

Window has border-resizable capability (XaAES newer than Nov 8 2004)

#define BUSY_BEE   BEE

alias for BEE

#define BUSYBEE   BEE

alias for BEE

#define CACHE_CHAR   0

TODO

#define CACHE_FULL   11

TODO

#define CACHE_MISC   1

TODO

#define CH_EXIT   90

message received when a child process that this application has started returns.

  • msg[0] = CH_EXIT
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = child's application identifier
  • msg[4] = exit code of the child application
  • msg[5] =
  • msg[6] =
  • msg[7] =

    Since
    AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MESSAGE.
#define CHAR_NOT_FOUND   1

TODO

#define CHECK   1

set a check mark of a menu item, see mt_menu_icheck()

#define CL_NORMAL   0

command line passed normaly, see mt_shel_write()

#define CL_PARSE   1

command line passed in ARGV environment string, see mt_shel_write()

#define CLOSER   0x0002

Window has a close box

#define COLOR_ACTUAL   1

TODO

#define COLOR_REQUESTED   0

TODO

#define CT_KEY   53

TODO

#define CT_MOVE   51

TODO

#define CT_NEWTOP   52

TODO

#define CT_UPDATE   50

TODO

#define D_INVERT   10

TODO

#define D_ONLY   5

TODO

#define DASH   5

TODO

#define DASH2DOT   DASHDOTDOT

TODO

#define DASHDOT   4

TODO

#define DASHDOTDOT   6

TODO

#define DESK   DESKTOP_HANDLE

TODO

#define DESKTOP_HANDLE   0

TODO

#define DEV_INSTALLED   1

TODO

#define DEV_MISSING   0

TODO

#define DISABLE   0

disable a menu item, see mt_menu_ienable()

#define DNARROW   0x0080

Window has a down arrow

#define DOT   DOTTED

TODO

#define DOTTED   3

TODO

#define ED_CHAR   2

insert a character in the editable field, see mt_objc_ecit()

#define ED_CRSR   100

TO BE COMPLETED (MagiC), see mt_objc_edit()

#define ED_DRAW   103

TO BE COMPLETED (MagiC), see mt_objc_edit()

#define ED_END   3

turn OFF the cursor, see mt_objc_edit()

#define ED_INIT   1

turn ON the cursor, see mt_objc_edit()

#define ED_START   0

Reserved. Do not use, see mt_objc_edit()

#define EDC_INQUIRE   0

inquire double-clic rate, see mt_evnt_dclick()

#define EDC_SET   1

set double-clic rate, see mt_evnt_dclick()

#define EDCHAR   ED_CHAR

alias

#define EDEND   ED_END

alias

#define EDINIT   ED_INIT

alias

#define EDSTART   ED_START

alias

#define ENABLE   1

enable a menu item, see mt_menu_ienable()

#define END_MCTRL   2

release the mouse control to the AES, see mt_wind_update()

#define END_UPDATE   0

release the screen lock, see mt_wind_update()

#define ENVIRON_CHANGE   1

modify an environment variable, see mt_shel_write()

#define ENVIRON_COPY   2

copy the evironment string in a buffer, see mt_shel_write()

#define ENVIRON_SIZE   0

returns the current size of the environment string, see mt_shel_write()

#define FA_DISK   "[5]"

display Disk icon, see mt_form_alert()

#define FA_ERROR   "[1]"

display Exclamation icon, see mt_form_alert()

#define FA_INFO   "[4]"

display Info icon, see mt_form_alert()

#define FA_NOICON   "[0]"

display no icon, see mt_form_alert()

#define FA_QUESTION   "[2]"

display Question icon, see mt_form_alert()

#define FA_STOP   "[3]"

display Stop icon, see mt_form_alert()

#define FERR_ACCESSDENIED   5

Access Denied (GEMDOS error -36), see mt_form_error()

#define FERR_BADDRIVE   15

Invalid Drive Specification (GEMDOS error -46), see mt_form_error()

#define FERR_BADENVIRON   10

Invalid Environment (GEMDOS error -41), see mt_form_error()

#define FERR_BADFORMAT   11

Invalid Format (GEMDOS error -42)

#define FERR_DELETEDIR   16

Attempt To Delete Working Directory (GEMDOS error -47), see mt_form_error()

#define FERR_FILENOTFOUND   2

File Not Found (GEMDOS error -33), see mt_form_error()

#define FERR_LOWMEM   8

Insufficient Memory (GEMDOS error -39), see mt_form_error()

#define FERR_NOFILES   18

No More Files (GEMDOS error -49), see mt_form_error()

#define FERR_NOHANDLES   4

No More File Handles (GEMDOS error -35), see mt_form_error()

#define FERR_PATHNOTFOUND   3

Path Not Found (GEMDOS error -34), see mt_form_error()

#define FILE_OPENERR   9

TODO

#define FILE_READERR   8

TODO

#define FIS_HATCH   3

TODO

#define FIS_HOLLOW   0

TODO

#define FIS_PATTERN   2

TODO

#define FIS_SOLID   1

TODO

#define FIS_USER   4

TODO

#define FLAT_HAND   4
#define FMD_FINISH   3

releases the screen space for a dialog, see mt_form_dial()

#define FMD_GROW   1

draws an expanding box, see mt_form_dial()

#define FMD_SHRINK   2

draws a shrinking box, see mt_form_dial()

#define FMD_START   0

reserves the screen space for a dialog, see mt_form_dial()

#define FNT_CHANGED   83

TODO

#define FSEL_CANCEL   0

the fileselector has been closed by using the CANCEL button, see mt_fsel_exinput()

#define FSEL_OK   1

the fileselector has been closed by using the OK button, see mt_fsel_exinput()

#define FULLER   0x0004

Window has a fuller box

#define G_BLACK   1

TODO

#define G_BLUE   4

TODO

#define G_BOX   20

TODO

#define G_BOXCHAR   27

TODO

#define G_BOXTEXT   22

TODO

#define G_BUTTON   26

TODO

#define G_CICON   33

TODO

#define G_CYAN   5

TODO

#define G_EDIT   37

TODO

#define G_FBOXTEXT   30

TODO

#define G_FTEXT   29

TODO

#define G_GREEN   3

TODO

#define G_IBOX   25

TODO

#define G_ICON   31

TODO

#define G_IMAGE   23

TODO

#define G_LBLACK   9

TODO

#define G_LBLUE   12

TODO

#define G_LCYAN   13

TODO

#define G_LGREEN   11

TODO

#define G_LMAGENTA   15

TODO

#define G_LRED   10

TODO

#define G_LWHITE   8

TODO

#define G_LYELLOW   14

TODO

#define G_MAGENTA   7

TODO

#define G_POPUP   35

TODO

#define G_PROGDEF   G_USERDEF

TODO

#define G_RED   2

TODO

#define G_SHORTCUT   38

TODO

#define G_STRING   28

TODO

#define G_SWBUTTON   34

TODO

#define G_TEXT   21

TODO

#define G_TITLE   32

TODO

#define G_USERDEF   24

TODO

#define G_WHITE   0

TODO

#define G_WINTITLE   36

TODO

#define G_YELLOW   6

TODO

#define GDOS_BITM   2

TODO

#define GDOS_FNT   0x5F464E54L /* '_FNT' */

TODO

#define GDOS_FSM   0x5F46534DL /* '_FSM' */

TODO

#define GDOS_MONO   1

TODO

#define GDOS_NONE   (-2L) /* no GDOS installed */

TODO

#define GDOS_PROP   0

TODO

#define GEMAPP   1

application launched as GEM application, see mt_shel_write()

#define HIGHLIGHT   0

display the title in reverse mode, see mt_menu_tnormal()

#define HOTCLOSEBOX   0x1000

Window has "hot close box" box (GEM 2.x)

#define HOURGLASS   2
#define HSLIDE   0x0800

Window has a horizontal slider

#define IBM   3

TODO

#define ICONIFIER   SMALLER

Window has an iconifier

#define IMAGE_BOTTOM   2

TODO

#define IMAGE_CENTER   1

TODO

#define IMAGE_LEFT   0

TODO

#define IMAGE_RIGHT   2

TODO

#define IMAGE_TOP   0

TODO

#define INDBUTCOL   3

default color for indicator objects, see mt_objc_sysvar()

#define INFO   0x0010

Window has an information line

#define INT16   short

16 bits signed integer

#define IP_1PATT   1

TODO

#define IP_2PATT   2

TODO

#define IP_3PATT   3

TODO

#define IP_4PATT   4

TODO

#define IP_5PATT   5

TODO

#define IP_6PATT   6

TODO

#define IP_HOLLOW   0

TODO

#define IP_SOLID   7

TODO

#define JUSTIFY   1

TODO

#define K_ALT   0x0008

mask for alternate key, see mt_evnt_button()

#define K_CTRL   0x0004

mask for control key, see mt_evnt_button()

#define K_LSHIFT   0x0002

mask for left shift key, see mt_evnt_button()

#define K_RSHIFT   0x0001

mask for right shift key, see mt_evnt_button()

#define LDASHED   2

TODO

#define LE_ARROWED   ARROWED

TODO

#define LE_ROUNDED   ROUND

TODO

#define LE_SQUARED   SQUARE

TODO

#define LEFT_BUTTON   0x0001

mask for left mouse button, see mt_evnt_button()

#define LFARROW   0x0200

Window has a left arrow

#define LK3DACT   2

text of activator object moves when selected, see mt_objc_sysvar()

#define LK3DIND   1

text of indicator object moves when selected, see mt_objc_sysvar()

#define LONGDASH   LDASHED

TODO

#define LT_DASHDOT   DASHDOT

TODO

#define LT_DASHDOTDOT   DASHDOTDOT

TODO

#define LT_DASHED   DASH

TODO

#define LT_DOTTED   DOTTED

TODO

#define LT_LONGDASH   LDASHED

TODO

#define LT_SOLID   SOLID

TODO

#define LT_USERDEF   USERLINE

TODO

#define M_FORCE   0x8000
#define M_LAST   260
#define M_OFF   256
#define M_ON   257
#define M_PREVIOUS   M_LAST

alias for M_LAST

#define M_RESTORE   259
#define M_SAVE   258
#define MAP_ATARI   1

TODO

#define MAP_BITSTREAM   0

TODO

#define MAP_UNICODE   2 /* for vst_map_mode, NVDI 4 */

TODO

#define MAX_DEPTH   8 /* max depth of search or draw */

TODO

#define MAX_LEN   81 /* max string length */

TODO

#define MD_ERASE   4

TODO

#define MD_REPLACE   1

TODO

#define MD_TRANS   2

TODO

#define MD_XOR   3

TODO

#define ME_ATTACH   1

attach or change a sub-menu, see mt_menu_attach()

#define ME_INQUIRE   0

inquire information on a sub-menu attached, see mt_menu_attach()

#define ME_REMOVE   2

remove a sub-menu. see mt_menu_attach()

#define MENU_GETMODE   3

Get the menu bar mode, see mt_menu_bar()

#define MENU_HIDDEN   0x0001

menu bar only visible when needed, see MENU_GETMODE or MENU_SETMODE

#define MENU_INQUIRE   -1

inquire the AES application ID of the process which own the displayed menu, see mt_menu_bar()

#define MENU_INSTALL   1

install a menu bar, see mt_menu_bar()

#define MENU_INSTL   100

Install a menu without switching the top application (Magic), see mt_menu_bar()

#define MENU_PULLDOWN   0x0002

Pulldown-Menus, see MENU_GETMODE or MENU_SETMODE

#define MENU_REMOVE   0

remove a menu bar, see mt_menu_bar()

#define MENU_SETMODE   4

Set the menu bar mode, see mt_menu_bar()

#define MENU_SHADOWED   0x0004

menu bar with shadows, see MENU_GETMODE or MENU_SETMODE

#define MENU_UPDATE   5

Update the system part of the menu bar, see mt_menu_bar()

#define MENUBAR   0x1000

Window has a menu bar (XaAES)

#define MENUCOL   11

TO BE COMPLETED (MagiC 6), see mt_objc_sysvar()

#define MGEMLIB   44

this gemlib is compatible with MGEMLIB

#define MIDDLE_BUTTON   0x0004

mask for middle mouse button, see mt_evnt_button()

#define MIS_GETALIGN   0

get the alignment of a parent menu item with a sub-menu item, see mt_menu_istart()

#define MIS_SETALIGN   1

set the alignment of a parent menu item with a sub-menu item, see mt_menu_istart()

#define MISC_ERROR   (-1)

TODO

#define MN_CHANGE   1

set the menu settings, see mt_menu_settings()

#define MN_INQUIRE   0

inquire the current menu settings, see mt_menu_settings()

#define MN_SELECTED   10

message received when a menu entry has been selected

  • msg[0] = MN_SELECTED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = title menu index
  • msg[4] = item menu index
  • msg[5] = address of the menu root object (most significant bits)
  • msg[6] = address of the menu root object (less significant bits)
  • msg[7] = index of object parent's selected item

    Values of word 5, 6 and 7 are an extension of AES 3.3. This feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU.

#define MO_ENTER   0

Wait for mouse to enter rectangle, see mt_evnt_mouse()

#define MO_LEAVE   1

Wait for mouse to leave rectangle, see mt_evnt_mouse()

#define MOVER   0x0008

Window may be moved by the user

#define MRKR_ASTERISK   3

TODO

#define MRKR_BOX   4

TODO

#define MRKR_CROSS   5

TODO

#define MRKR_DIAMOND   6

TODO

#define MRKR_DOT   1

TODO

#define MRKR_PLUS   2

TODO

#define MT_ASTERISK   MRKR_ASTERISK

TODO

#define MT_DCROSS   MRKR_CROSS

TODO

#define MT_DIAMOND   MRKR_DIAMOND

TODO

#define MT_DOT   MRKR_DOT

TODO

#define MT_PLUS   MRKR_PLUS

TODO

#define MT_SQUARE   MRKR_BOX

TODO

#define MU_BUTTON   0x0002

Wait for the specified mouse button state, see mt_evnt_multi()

#define MU_DYNAMIC_KEYBD   0x0200

TODO (XaAES)

#define MU_KEYBD   0x0001

Wait for a user keypress, see mt_evnt_multi()

#define MU_M1   0x0004

Wait for a mouse/rectangle event as specified, see mt_evnt_multi()

Referenced by mt_EVNT_multi().

#define MU_M2   0x0008

Wait for a mouse/rectangle event as specified, see mt_evnt_multi()

Referenced by mt_EVNT_multi().

#define MU_MESAG   0x0010

Wait for a message, see mt_evnt_multi()

#define MU_MX   0x0080

TODO (XaAES)

#define MU_NORM_KEYBD   0x0100

TODO (XaAES)

#define MU_TIMER   0x0020

Wait the specified amount of time, see mt_evnt_multi()

#define MU_WHEEL   0x0040

TODO (XaAES)

#define MX_ENABLE3D   10

enable or disable the 3D look (MagiC 3), see mt_objc_sysvar()

#define NAME   0x0001

Window has a title bar

#define NIL   -1

Value for no more object in object tree

#define NM_APTERM   0x0001

the application understands AP_TERM messages, see mt_shel_write() and SWM_NEWMSG

#define NM_INHIBIT_HIDE   0x0002

the application won't be hidden, see mt_shel_write() and SWM_NEWMSG

#define NO_BLOCK   0x100

prevent the application from blocking, see mt_wind_update()

#define NO_DRAW   0

object will not be redrawn, see mt_objc_change()

#define NO_ERROR   0

TODO

#define NOJUSTIFY   0

TODO

#define NOT_D   10

TODO

#define NOT_S   12

TODO

#define NOT_SANDD   14

TODO

#define NOT_SORD   8

TODO

#define NOT_SXORD   9

TODO

#define NOTS_AND_D   4

TODO

#define NOTS_OR_D   13

TODO

#define OF_DEFAULT   0x0002

TODO

#define OF_EDITABLE   0x0008

TODO

#define OF_EXIT   0x0004

TODO

#define OF_FL3DACT   0x0600

TODO

#define OF_FL3DBAK   0x0400 /* bit 10 */

TODO

#define OF_FL3DIND   0x0200 /* bit 9 */

TODO

#define OF_FLAG11   OF_SUBMENU

TODO

#define OF_FLAG12   0x1000

TODO

#define OF_FLAG13   0x2000

TODO

#define OF_FLAG14   0x4000

TODO

#define OF_FLAG15   0x8000

TODO

#define OF_HIDETREE   0x0080

TODO

#define OF_INDIRECT   0x0100

TODO

#define OF_LASTOB   0x0020

TODO

#define OF_NONE   0x0000

TODO

#define OF_RBUTTON   0x0010

TODO

#define OF_SELECTABLE   0x0001

TODO

#define OF_SUBMENU   0x0800 /* bit 11 */

TODO

#define OF_TOUCHEXIT   0x0040

TODO

#define OO_FIRST   0

make object the first child, see mt_objc_order()

#define OO_LAST   -1

make object the last child, see mt_objc_order()

#define OS_CHECKED   0x0004

TODO

#define OS_CROSSED   0x0002

TODO

#define OS_DISABLED   0x0008

TODO

#define OS_DRAW3D   0x0080

TODO

#define OS_NORMAL   0x0000

TODO

#define OS_OUTLINED   0x0010

TODO

#define OS_SELECTED   0x0001

TODO

#define OS_SHADOWED   0x0020

TODO

#define OS_STATE08   0x0100

TODO

#define OS_STATE09   0x0200

TODO

#define OS_STATE10   0x0400

TODO

#define OS_STATE11   0x0800

TODO

#define OS_STATE12   0x1000

TODO

#define OS_STATE13   0x2000

TODO

#define OS_STATE14   0x4000

TODO

#define OS_STATE15   0x8000

TODO

#define OS_WHITEBAK   0x0040

TODO

#define OUTLINE_FONT   1
#define OUTLN_CROSS   7
#define PA_EXIT   89

TODO

#define PAIR_OFF   0

TODO

#define PAIR_ON   1

TODO

#define PERIMETER_OFF   0

TODO

#define PERIMETER_ON   1

TODO

Referenced by v_opnvwk().

#define POINT_HAND   3
#define PRN_CHANGED   82

TODO

#define R_BIPDATA   14

bi_pdata within BITBLKs, see mt_rsrc_gaddr()

#define R_BITBLK   4

BITBLK structure, see mt_rsrc_gaddr()

#define R_FRIMG   16

Free image, see mt_rsrc_gaddr()

#define R_FRSTR   15

Free string, see mt_rsrc_gaddr()

#define R_IBPDATA   12

ib_pdata within ICONBLKs, see mt_rsrc_gaddr()

#define R_IBPMASK   11

ib_pmask within ICONBLKs, see mt_rsrc_gaddr()

#define R_IBPTEXT   13

ib_ptext within ICONBLKs, see mt_rsrc_gaddr()

#define R_ICONBLK   3

ICONBLK structure, see mt_rsrc_gaddr()

#define R_IMAGEDATA   6

Free Image data, see mt_rsrc_gaddr()

#define R_OBJECT   1

Individual object, see mt_rsrc_gaddr()

#define R_OBSPEC   7

ob_spec field within OBJECTs, see mt_rsrc_gaddr()

#define R_STRING   5

Free String data, see mt_rsrc_gaddr()

#define R_TEDINFO   2

TEDINFO structure, see mt_rsrc_gaddr()

#define R_TEPTEXT   8

te_ptext within TEDINFOs, see mt_rsrc_gaddr()

#define R_TEPTMPLT   9

te_ptmplt within TEDINFOs, see mt_rsrc_gaddr()

#define R_TEPVALID   10

te_pvalid within TEDINFOs, see mt_rsrc_gaddr()

#define R_TREE   0

Object tree, see mt_rsrc_gaddr()

#define REDRAW   1

object will be redrawn, see mt_objc_change()

#define REG_NEWNAME   -1

register your application with a new name, see mt_menu_register()

#define RESCH_COMPLETED   RESCHG_COMPLETED
#define RESCHG_COMPLETED   61

message received by the application which requested a resolution change, when the resolution change is complete.

  • msg[0] = RESCHG_COMPLETED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = indicate the success of the resolution change:
    • 1 if the resolution change was succesful
    • 0 if an error occured.
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

    Since
    AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MESSAGE.
#define RIGHT_BUTTON   0x0002

mask for right mouse button, see mt_evnt_button()

#define ROOT   0

index of the root object of a formular

#define ROUND   2

TODO

#define RTARROW   0x0400

Window has a right arrow

#define S_AND_D   1

TODO

#define S_AND_NOTD   2

TODO

#define S_ONLY   3

TODO

#define S_OR_D   7

TODO

#define S_OR_NOTD   11

TODO

#define S_XOR_D   6

TODO

#define SC_CHANGED   80

TODO

#define SCRAP_CSV   0x0001

clipboard has a scrap.csv file, see mt_scrap_read()

#define SCRAP_DCA   0x0010

clipboard has a scrap.dca file, see mt_scrap_read()

#define SCRAP_DIF   0x0020

clipboard has a scrap.dif file, see mt_scrap_read()

#define SCRAP_GEM   0x0004

clipboard has a scrap.gem file, see mt_scrap_read()

#define SCRAP_IMG   0x0008

clipboard has a scrap.img file, see mt_scrap_read()

#define SCRAP_TXT   0x0002

clipboard has a scrap.txt file, see mt_scrap_read()

#define SCRAP_USR   0x8000

clipboard has a scrap.usr file, see mt_scrap_read()

#define SCRATCH_BITMAP   1

TODO

#define SCRATCH_BOTH   0

TODO

#define SCRATCH_NONE   2

TODO

#define SCREEN_ERROR   1

TODO

#define SCROLL_LISTBOX   -1

display a drop-down list (with slider) instead of popup menu, see MENU::mn_scroll

#define SCROLL_NO   0

the menu will not scroll, see MENU::mn_scroll structure

#define SCROLL_YES   1

menu may scroll if it is too high, see MENU::mn_scroll structure

#define SD_ABORT   0

Abort shutdown mode, see mt_shel_write()

#define SD_COMPLETE   2

Complete shutdown mode, see mt_shel_write()

#define SD_PARTIAL   1

Partial shutdown mode, see mt_shel_write()

#define SH_WDRAW   72

message sent to the desktop to ask it to update an open drive window.

  • msg[0] = SH_WDRAW
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = drive number to update (0=A, 1=B, etc...) or -1 to update all windows
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =
#define SHEL_BUFSIZE   (-1)

return the size of AES shell buffer, see mt_shel_read()

#define SHP_HELP   0
#define SHUT_COMPLETED   60

message received by the application which requested a shutdown, when the shutdown is complete and was successful.

  • msg[0] = SHUT_COMPLETED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] =
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

    Since
    AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MESSAGE.
#define SHW_AESSEND   SWM_AESMSG

alias

#define SHW_BROADCAST   SWM_BROADCAST

alias

#define SHW_CHAIN   1

TOS way, see mt_shel_write()

#define SHW_DOS   2

unsupported (PC-GEM 2.x)

#define SHW_EXEC   SWM_LAUNCHNOW

alias

#define SHW_EXEC_ACC   SWM_LAUNCHACC

alias

#define SHW_IMMED   0

unsupported (PC-GEM 2.x)

#define SHW_INFRECGN   SWM_NEWMSG

alias

#define SHW_NOEXEC   SWM_LAUNCH

alias

#define SHW_PARALLEL   100

create a new application to be ran in parallel, see mt_shel_write()

#define SHW_RESCHNG   SWM_REZCHANGE

alias

#define SHW_SHUTDOWN   SWM_SHUTDOWN

alias

#define SHW_SINGLE   101

run an application in single mode (all other applications but apid 0 and 1 are frozen), see mt_shel_write()

#define SHW_THR_CREATE   SWM_THRCREATE

alias

#define SHW_THR_EXIT   SWM_THREXIT

alias

#define SHW_THR_KILL   SWM_THRKILL

alias

#define SHW_XMDDEFDIR   SW_DEFDIR

alias

#define SHW_XMDENV   SW_ENVIRON

alias

#define SHW_XMDFLAGS   0x1000

magiC 6 extension, see XSHW_COMMAND::flags

#define SHW_XMDLIMIT   SW_PSETLIMIT

alias

#define SHW_XMDNICE   SW_PRENICE

alias

#define SIZER   0x0020

Window has a sizer box

#define SLM_ERROR   0x02

TODO

#define SLM_NOPAPER   0x04

TODO

#define SLM_NOTONER   0x03

TODO

#define SLM_OK   0x00

TODO

#define SM_M_RES2   102

MAG!X screen manager extension

#define SM_M_RES3   103

MAG!X screen manager extension

#define SM_M_RES4   104

MAG!X screen manager extension

#define SM_M_RES5   105

MAG!X screen manager extension

#define SM_M_RES6   106

MAG!X screen manager extension

#define SM_M_RES7   107

MAG!X screen manager extension

#define SM_M_RES8   108

MAG!X screen manager extension

#define SM_M_RES9   109

MAG!X screen manager extension

#define SM_M_SPECIAL   101

MAG!X screen manager extension

Applications may send such message to the MagiC Screen Manager (SCREENMGR, application ID = 1) to control AES applications. The message is [SM_M_SPECIAL apid 0 0 'MA' 'GX' SMC_XXX 0] where SMC_XXX contains the action SCREENMGR has to perform.

SMC_XXX may be one of the following value:

See also
mt_appl_control()
#define SMALL   5

TODO

#define SMALLER   0x4000

Window has an iconifier

#define SMC_FREEZE   3 /* MagiC 2 */

TODO

#define SMC_HIDEACT   8 /* MagiC 3.1 */

TODO

#define SMC_HIDEOTHERS   7 /* MagiC 3.1 */

TODO

#define SMC_RES5   5 /* MagiC 2 */

TODO

#define SMC_SWITCH   2 /* MagiC 2 */

TODO

#define SMC_TERMINATE   1 /* MagiC 2 */

TODO

#define SMC_TIDY_UP   0 /* MagiC 2 */

TODO

#define SMC_UNFREEZE   4 /* MagiC 2 */

TODO

#define SMC_UNHIDEALL   6 /* MagiC 3.1 */

TODO

#define SOLID   1

TODO

#define SQUARE   0

TODO

#define SV_INQUIRE   0

inquire sysvar data, see mt_objc_sysvar()

#define SV_SET   1

set sysvar data, see mt_objc_sysvar()

#define SW_DEFDIR   0x0400

Default Directory , see SHELW::defdir

#define SW_ENVIRON   0x0800

Environment , see SHELW::env

#define SW_GID   0x2000

Set group id of launched child, see SHELW::gid

#define SW_PRENICE   0x0200

Initial Prenice() , see SHELW::prenice

#define SW_PSETLIMIT   0x0100

Initial Psetlimit() , see SHELW::psetlimit

#define SW_UID   0x1000

Set user id of launched child, see SHELW::uid

#define SWM_AESMSG   10

Send a message to the AES, see mt_shel_write()

#define SWM_BROADCAST   7

Broadcast an AES message to all processes, see mt_shel_write()

#define SWM_ENVIRON   8

Manipulate the AES environment, see mt_shel_write()

#define SWM_LAUNCH   0

Launch a GEM or TOS application or GEM desk accessory depending on the extension of the file. See mt_shel_write()

#define SWM_LAUNCHACC   3

Launch a GEM desk accessory, see mt_shel_write()

#define SWM_LAUNCHNOW   1

Launch a GEM or TOS application based on the value of wisgr, see mt_shel_write()

#define SWM_NEWMSG   9

Inform the AES of a new message the current application understands, see mt_shel_write()

#define SWM_REZCHANGE   5

Change screen resolution, see mt_shel_write()

#define SWM_SHUTDOWN   4

Manipulate 'Shutdown' mode, see mt_shel_write()

#define SWM_THRCREATE   20

create a new thread, see mt_shel_write()

#define SWM_THREXIT   21

thread terminates itself, see mt_shel_write()

#define SWM_THRKILL   22

parent kills a thread, see mt_shel_write()

#define SYSTEM_FONT   0
#define TA_ASCENT   2

TODO

#define TA_BASE   0 /* vertical */

TODO

#define TA_BOTTOM   3

TODO

#define TA_CENTER   1

TODO

#define TA_DESCENT   4

TODO

#define TA_HALF   1

TODO

#define TA_LEFT   0 /* horizontal */

TODO

#define TA_RIGHT   2

TODO

#define TA_TOP   5

TODO

#define TE_CNTR   2

TODO

#define TE_LEFT   0

TODO

#define TE_RIGHT   1

TODO

#define TEXT_CRSR   1
#define TF_LIGHTENED   TXT_LIGHT

TODO

#define TF_NORMAL   TXT_NORMAL

TODO

#define TF_OUTLINED   TXT_OUTLINED

TODO

#define TF_SHADOWED   TXT_SHADOWED

TODO

#define TF_SLANTED   TXT_SKEWED

TODO

#define TF_THICKENED   TXT_THICKENED

TODO

#define TF_UNDERLINED   TXT_UNDERLINED

TODO

#define THICK_CROSS   6
#define THIN_CROSS   5
#define THR_EXIT   88

message received when a child thread that this application has started returns.

  • msg[0] = THR_EXIT
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = application identifier of the terminated thread
  • msg[4] = exit code of the thread (HIGH WORD)
  • msg[5] = exit code of the thread (LOW WORD)
  • msg[6] =
  • msg[7] =

    Warning: the error code is a LONG (32 bits) value !

    Since
    MagiC (?).
#define TOSAPP   0

application launched as TOS application, see mt_shel_write()

#define TRACK_NONE   0

TODO

#define TRACK_NORMAL   1

TODO

#define TRACK_TIGHT   2

TODO

#define TRACK_VERYTIGHT   3

TODO

#define TXT_LIGHT   0x0002

TODO

#define TXT_NORMAL   0x0000

TODO

#define TXT_OUTLINED   0x0010

TODO

#define TXT_SHADOWED   0x0020

TODO

#define TXT_SKEWED   0x0004

TODO

#define TXT_THICKENED   0x0001

TODO

#define TXT_UNDERLINED   0x0008

TODO

#define udef_v_alpha_text16n   v_alpha_text16n

UDEF version of v_alpha_text16n(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_arc   v_arc

UDEF version of v_arc(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_bar   v_bar

UDEF version of v_bar(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_cellarray   v_cellarray

UDEF version of v_cellarray(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_circle   v_circle

UDEF version of v_circle(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_clear_disp_list   v_clear_disp_list

UDEF version of v_clear_disp_list(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_clrwk   v_clrwk

UDEF version of v_clrwk(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_clsvwk   v_clsvwk

UDEF version of v_clsvwk(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_clswk   v_clswk

UDEF version of v_clswk(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_contourfill   v_contourfill

UDEF version of v_contourfill(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_copies   v_copies

UDEF version of v_copies(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_curaddress   udef_vs_curaddress

UDEF version of vs_curaddress(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_curdown   v_curdown

UDEF version of v_curdown(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_curhome   v_curhome

UDEF version of v_curhome(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_curleft   v_curleft

UDEF version of v_curleft(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_curright   v_curright

UDEF version of v_curright(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_curtext16n   v_curtext16n

UDEF version of v_curtext16n(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_curup   v_curup

UDEF version of v_curup(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_dspcur   v_dspcur

UDEF version of v_dspcur(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_eeol   v_eeol

UDEF version of v_eeol(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_eeos   v_eeos

UDEF version of v_eeos(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_ellarc   v_ellarc

UDEF version of v_ellarc(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_ellipse   v_ellipse

UDEF version of v_ellipse(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_ellpie   v_ellpie

UDEF version of v_ellpie(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_enter_cur   v_enter_cur

UDEF version of v_enter_cur(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_escape2000   v_escape2000

UDEF version of v_escape2000(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_exit_cur   v_exit_cur

UDEF version of v_exit_cur(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_fillarea   v_fillarea

UDEF version of v_fillarea(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_flushcache   v_flushcache

UDEF version of v_flushcache(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_fontinit   v_fontinit

UDEF version of v_fontinit(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_form_adv   v_form_adv

UDEF version of v_form_adv(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_get_pixel   v_get_pixel

UDEF version of v_get_pixel(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_gtext16   v_gtext16

UDEF version of v_gtext16(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_gtext16n   v_gtext16n

UDEF version of v_gtext16n(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_hardcopy   v_hardcopy

UDEF version of v_hardcopy(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_hide_c   v_hide_c

UDEF version of v_hide_c(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_justified16n   v_justified16n

UDEF version of v_justified16n(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_meta_extents   v_meta_extents

UDEF version of v_meta_extents(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_offset   v_offset

UDEF version of v_offset(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_opnvwk   v_opnvwk

UDEF version of v_opnvwk(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_opnwk   v_opnwk

UDEF version of v_opnwk(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_orient   v_orient

UDEF version of v_orient(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_output_window   v_output_window

UDEF version of v_output_window(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_page_size   v_page_size

UDEF version of v_page_size(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_pieslice   v_pieslice

UDEF version of v_pieslice(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_pline   v_pline

UDEF version of v_pline(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_pmarker   v_pmarker

UDEF version of v_pmarker(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_rbox   v_rbox

UDEF version of v_rbox(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_rfbox   v_rfbox

UDEF version of v_rfbox(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_rmcur   v_rmcur

UDEF version of v_rmcur(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_rvoff   v_rvoff

UDEF version of v_rvoff(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_rvon   v_rvon

UDEF version of v_rvon(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_set_app_buff   v_set_app_buff

UDEF version of v_set_app_buff(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_show_c   v_show_c

UDEF version of v_show_c(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_sound   v_sound

UDEF version of v_sound(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_trays   v_trays

UDEF version of v_trays(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_updwk   v_updwk

UDEF version of v_updwk(). See UDEF version of VDI functions for details about UDEF feature

#define udef_v_write_meta   v_write_meta

UDEF version of v_write_meta(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vex_butv   vex_butv

UDEF version of vex_butv(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vex_curv   vex_curv

UDEF version of vex_curv(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vex_motv   vex_motv

UDEF version of vex_motv(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vex_timv   vex_timv

UDEF version of vex_timv(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vex_wheelv   vex_wheelv

UDEF version of vex_wheelv(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vm_coords   vm_coords

UDEF version of vm_coords(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vm_pagesize   vm_pagesize

UDEF version of vm_pagesize(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_calibrate   vq_calibrate

UDEF version of vq_calibrate(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_cellarray   vq_cellarray

UDEF version of vq_cellarray(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_chcells   vq_chcells

UDEF version of vq_chcells(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_color   vq_color

UDEF version of vq_color(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_curaddress   vq_curaddress

UDEF version of vq_curaddress(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_extnd   vq_extnd

UDEF version of vq_extnd(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_gdos   vq_gdos

UDEF version of vq_gdos(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_key_s   vq_key_s

UDEF version of vq_key_s(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_mouse   vq_mouse

UDEF version of vq_mouse(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_page_name   vq_page_name

UDEF version of vq_page_name(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_scan   vq_scan

UDEF version of vq_scan(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_tabstatus   vq_tabstatus

UDEF version of vq_tabstatus(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_tdimensions   vq_tdimensions

UDEF version of vq_tdimensions(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_tray_names   vq_tray_names

UDEF version of vq_tray_names(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vq_vgdos   vq_vgdos

UDEF version of vq_vgdos(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqf_attributes   vqf_attributes

UDEF version of vqf_attributes(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqin_mode   vqin_mode

UDEF version of vqin_mode(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vql_attributes   vql_attributes

UDEF version of vql_attributes(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqm_attributes   vqm_attributes

UDEF version of vqm_attributes(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqp_filmname   vqp_filmname

UDEF version of vqp_filmname(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqt_attributes   vqt_attributes

UDEF version of vqt_attributes(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqt_cachesize   vqt_cachesize

UDEF version of vqt_cachesize(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqt_extent16   vqt_extent16

UDEF version of vqt_extent16(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqt_extent16n   vqt_extent16n

UDEF version of vqt_extent16n(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqt_fontinfo   vqt_fontinfo

UDEF version of vqt_fontinfo(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqt_get_table   vqt_get_table

UDEF version of vqt_get_table(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqt_name   vqt_name

UDEF version of vqt_name(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vqt_width   vqt_width

UDEF version of vqt_width(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vr_recfl   vr_recfl

UDEF version of vr_recfl(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vr_trnfm   vr_trnfm

UDEF version of vr_trnfm(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vro_cpyfm   vro_cpyfm

UDEF version of vro_cpyfm(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vrq_choice   vrq_choice

UDEF version of vrq_choice(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vrq_locator   vrq_locator

UDEF version of vrq_locator(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vrq_valuator   vrq_valuator

UDEF version of vrq_valuator(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vrt_cpyfm   vrt_cpyfm

UDEF version of vrt_cpyfm(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vs_calibrate   vs_calibrate

UDEF version of vs_calibrate(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vs_clip   vs_clip

UDEF version of vs_clip(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vs_clip_off   vs_clip_off

UDEF version of vs_clip_off(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vs_clip_pxy   vs_clip_pxy

UDEF version of vs_clip_pxy(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vs_color   vs_color

UDEF version of vs_color(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vs_curaddress   vs_curaddress

UDEF version of vs_curaddress(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vs_mute   vs_mute

UDEF version of vs_mute(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vs_palette   vs_palette

UDEF version of vs_palette(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsc_expose   vsc_expose

UDEF version of vsc_expose(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsc_form   vsc_form

UDEF version of vsc_form(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsf_color   vsf_color

UDEF version of vsf_color(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsf_interior   vsf_interior

UDEF version of vsf_interior(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsf_perimeter   vsf_perimeter

UDEF version of vsf_perimeter(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsf_style   vsf_style

UDEF version of vsf_style(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsf_udpat   vsf_udpat

UDEF version of vsf_udpat(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsf_xperimeter   vsf_xperimeter

UDEF version of vsf_xperimeter(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsin_mode   vsin_mode

UDEF version of vsin_mode(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsl_color   vsl_color

UDEF version of vsl_color(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsl_ends   vsl_ends

UDEF version of vsl_ends(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsl_type   vsl_type

UDEF version of vsl_type(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsl_udsty   vsl_udsty

UDEF version of vsl_udsty(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsl_width   vsl_width

UDEF version of vsl_width(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsm_choice   vsm_choice

UDEF version of vsm_choice(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsm_color   vsm_color

UDEF version of vsm_color(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsm_height   vsm_height

UDEF version of vsm_height(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsm_locator   vsm_locator

UDEF version of vsm_locator(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsm_type   vsm_type

UDEF version of vsm_type(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsm_valuator   vsm_valuator

UDEF version of vsm_valuator(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vsp_film   vsp_film

UDEF version of vsp_film(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vst_alignment   vst_alignment

UDEF version of vst_alignment(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vst_color   vst_color

UDEF version of vst_color(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vst_effects   vst_effects

UDEF version of vst_effects(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vst_font   vst_font

UDEF version of vst_font(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vst_height   vst_height

UDEF version of vst_height(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vst_load_fonts   vst_load_fonts

UDEF version of vst_load_fonts(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vst_point   vst_point

UDEF version of vst_point(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vst_rotation   vst_rotation

UDEF version of vst_rotation(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vst_scratch   vst_scratch

UDEF version of vst_scratch(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vst_unload_fonts   vst_unload_fonts

UDEF version of vst_unload_fonts(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vswr_mode   vswr_mode

UDEF version of vswr_mode(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vt_alignment   vt_alignment

UDEF version of vt_alignment(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vt_axis   vt_axis

UDEF version of vt_axis(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vt_origin   vt_origin

UDEF version of vt_origin(). See UDEF version of VDI functions for details about UDEF feature

#define udef_vt_resolution   vt_resolution

UDEF version of vt_resolution(). See UDEF version of VDI functions for details about UDEF feature

#define UNCHECK   0

remove the check mark of a menu item, see mt_menu_icheck()

#define UNHIGHLIGHT   1

display the title in normal mode, see mt_menu_tnormal()

#define UPARROW   0x0040

Window has an up arrow

#define USER_DEF   255
#define USERLINE   7

TODO

#define VINMODE_CHOICE   3

TODO

#define VINMODE_LOCATOR   1

TODO

#define VINMODE_STRING   4

TODO

#define VINMODE_VALUATOR   2

TODO

#define VSLIDE   0x0100

Window has a vertical slider

#define W_BOTTOMER   20

widget index of ???, see WF_COLOR

#define W_BOX   0

widget index of ???, see WF_COLOR

#define W_CLOSER   2

widget index of ???, see WF_COLOR

#define W_DATA   6

widget index of ???, see WF_COLOR

#define W_DNARROW   11

widget index of ???, see WF_COLOR

#define W_FULLER   4

widget index of ???, see WF_COLOR

#define W_HBAR   14

widget index of ???, see WF_COLOR

#define W_HELEV   18

widget index of ???, see WF_COLOR

#define W_HIDER   30

widget index of ???, see WF_COLOR

#define W_HSLIDE   17

widget index of ???, see WF_COLOR

#define W_INFO   5

widget index of ???, see WF_COLOR

#define W_LFARROW   15

widget index of ???, see WF_COLOR

#define W_NAME   3

widget index of ???, see WF_COLOR

#define W_RTARROW   16

widget index of ???, see WF_COLOR

#define W_SIZER   8

widget index of ???, see WF_COLOR

#define W_SMALLER   19

widget index of ???, see WF_COLOR

#define W_TITLE   1

widget index of ???, see WF_COLOR

#define W_UPARROW   10

widget index of ???, see WF_COLOR

#define W_VBAR   9

widget index of ???, see WF_COLOR

#define W_VELEV   13

widget index of ???, see WF_COLOR

#define W_VSLIDE   12

widget index of ???, see WF_COLOR

#define W_WORK   7

widget index of ???, see WF_COLOR

#define WA_DNLINE   3

Row Down, see WM_ARROWED

#define WA_DNPAGE   1

Page Down, see WM_ARROWED

#define WA_LFLINE   6

Column Left, see WM_ARROWED

#define WA_LFPAGE   4

Page Left , see WM_ARROWED

#define WA_RTLINE   7

Column Right, see WM_ARROWED

#define WA_RTPAGE   5

Page Right, see WM_ARROWED

#define WA_UPLINE   2

Row Up, see WM_ARROWED

#define WA_UPPAGE   0

Page Up, see WM_ARROWED

#define WA_WHEEL   8

deprecated (introduced in XaAES release 0.964)

#define WC_BORDER   0

compute the extent of a window from its work area, see mt_wind_calc()

#define WC_WORK   1

compute the work_area of a window from its extent, see mt_wind_calc()

#define WF_BEVENT   24

get/set window feature on mouse button event, see mt_wind_get() and mt_wind_set()

#define WF_BITMAP   233

MyAES 0.96 get bitmap of the window, see mt_wind_get()

#define WF_BOTTOM   25

get/set bottom window, see mt_wind_get() and mt_wind_set()

#define WF_BOTTOMALL   22368

TODO (WINX 2.3)

#define WF_CALCF2U   44

Convert FULL coordinates to USER coordinates

#define WF_CALCF2W   42

Convert FULL coordinates to WORK coordinates

#define WF_CALCU2F   45

Convert USER coordinates to FULL coordinates

#define WF_CALCW2F   43

Convert WORK coordinates to FULL coordinates

#define WF_COLOR   18

get/set current color of widget, see mt_wind_get() and mt_wind_set()

Referenced by mt_wind_get().

#define WF_CURRXYWH   5

get/set current coordinates of the window (external area), see mt_wind_get() and mt_wind_set()

#define WF_DCOLOR   19

get/set default color of widget, see mt_wind_get() and mt_wind_set()

Referenced by mt_wind_get().

#define WF_DDELAY   22362

TODO

#define WF_FIRSTAREAXYWH   13

get the first rectangle in the list of rectangles for this window, see mt_wind_xget()

#define WF_FIRSTXYWH   11

get the first rectangle in the list of rectangles for this window, see mt_wind_get()

#define WF_FTOOLBAR   31

get the first rectangle of the toolbar area, see mt_wind_get()

#define WF_FULLSCREEN   235

MyAES 0.96 set window in fullscreen without widget, see mt_wind_set()

#define WF_FULLXYWH   7

get the coordinates of the window when "fulled" the screen, see mt_wind_get()

#define WF_HSLIDE   8

get/set position of the horizontal slider, see mt_wind_get() and mt_wind_set()

#define WF_HSLSIZE   15

get/set size of the horizontal slider, see mt_wind_get() and mt_wind_set()

#define WF_ICONIFY   26

get/set iconification of the window, see mt_wind_get() and mt_wind_set()

#define WF_INFO   3

get/set info line of the window, see mt_wind_get() and mt_wind_set()

Referenced by mt_wind_get().

#define WF_INFOXYWH   104

TODO (MagiC 6.10)

#define WF_KIND   1

get the actual window attributes, see mt_wind_get()

#define WF_M_BACKDROP   100

TODO (KAOS 1.4)

#define WF_M_OWNER   101

TODO (KAOS 1.4)

#define WF_M_WINDLIST   102

TODO (KAOS 1.4)

#define WF_MAXWORKXYWH   46

Get MAX coordinates for this window - WCOWORK mode only

#define WF_MENU   33

TODO (XaAES)

#define WF_MINXYWH   103

TODO (MagiC 6)

#define WF_NAME   2

get/set title name of the window, see mt_wind_get() and mt_wind_set()

Referenced by mt_wind_get().

#define WF_NEWDESK   14

get/set OBJECT tree installed as desktop, see mt_wind_get() and mt_wind_set()

#define WF_NEXTXYWH   12

get the next rectangle in the list of rectangles for this window, see mt_wind_get()

#define WF_NTOOLBAR   32

get the next rectangle of the toolbar area, see mt_wind_get()

#define WF_OBFLAG   1001

get/set (doc: TODO) (FreeGEM)

#define WF_OBSPEC   1003

get/set (doc: TODO) (FreeGEM)

#define WF_OBTYPE   1002

get (doc: TODO) (FreeGEM)

#define WF_OPTIONS   234

MyAES 0.96 at this time use only to request automaticaly close if application lost focus and appear when focus is back, see mt_wind_set()

#define WF_OPTS   41

get/set window options. See mt_wind_set() and mt_wind_get() for details.

#define WF_OWNER   20

get the owner of the window, see mt_wind_get()

#define WF_PREVXYWH   6

get the previous coordinates of the window (external area), see mt_wind_get()

#define WF_SCREEN   17

get current AES menu/alert buffer and its size, see mt_wind_get()

#define WF_SHADE   22365

TODO (WINX 2.3)

#define WF_STACK   22366

TODO (WINX 2.3)

#define WF_TOOLBAR   30

get/set tool bar attached to a window, see mt_wind_get() and mt_wind_set()

#define WF_TOP   10

get/set top window, see mt_wind_get() and mt_wind_set()

#define WF_TOPALL   22367

TODO (WINX 2.3)

#define WF_TOPMOST   232

MyAES set actual window at TOPMOST level, see mt_wind_set()

#define WF_UNICONIFY   27

get/set un-iconification of the window, see mt_wind_get() and mt_wind_set()

#define WF_UNICONIFYXYWH   28

set window coordinates when uniconified , see mt_wind_set()

#define WF_USER_POINTER   230

MyAES - attach a 32 bit value to window see mt_wind_set() see mt_wind_get()

#define WF_VSLIDE   9

get/set position of the vertical slider, see mt_wind_get() and mt_wind_set()

#define WF_VSLSIZE   16

get/set size of the vertical slider, see mt_wind_get() and mt_wind_set()

#define WF_WHEEL   40

set window feature on mouse wheel event, see mt_wind_set()

#define WF_WIDGETS   200

get/set actual positions of the slider widgets, see mt_wind_get() and mt_wind_set()

#define WF_WIND_ATTACH   231

MyAES - attach a window to another, see mt_wind_set()

#define WF_WINX   22360

TODO

#define WF_WINXCFG   22361

TODO

#define WF_WORKXYWH   4

get the work area coordinates of the work area, see mt_wind_get()

#define WF_XAAES   0x5841

TODO (XaAES) : 'XA'

#define WHEEL_ARROWED   1

AES will send WM_ARROWED messages

#define WHEEL_MESAG   0

AES will send WM_WHEEL messages

#define WHEEL_SLIDER   2

AES will convert mouse wheel events to slider events

#define WM_ALLICONIFY   36

message received when the user clicks on the SMALLER window gadget while the CONTROL key is pressed.

  • msg[0] = WM_ALLICONIFY
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x
  • msg[5] = y
  • msg[6] = w
  • msg[7] = h : position of the iconified window

    The application should then close all opened windows, and open a new iconified window at the position indicated which represents the application.

    Since
    AES version 4.1. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MESSAGE.
#define WM_ARROWED   24

message received when the user clicks on one of the slider gadgets of a window.

  • msg[0] = WM_ARROWED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = one of the following operation code:
  • msg[5] = either 'MW' (0x4d57) on the first wheel click or 'Mw' (0x4d77) on subsequent wheel clicks.
  • msg[6] = 0
  • msg[7] = original wheel amount

    msg[5] to msg[7] are only available since XaAES with mouse wheel support. These fields are filled by the AES when the AES automatically transforms mouse wheel event (that appears on a window with arrow widget) to arrow messages.

    A row or column message is sent when a slider arrow is selected. A 'page' message is sent when a darkened area of the scroll bar is clicked. This usually indicates that the application should adjust the window's contents by a larger amount than with the row or column messages.

    If the application manage itself wheel event on a particular window (see mt_wind_set() with WF_WHEEL parameter and WHEEL_ARROWED mode), then on mouse wheel events, the window receives the following message:

  • msg[0] = WM_ARROWED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = WA_WHEEL
  • msg[5] = 0
  • msg[6] = wheel number
  • msg[7] = wheel amount
#define WM_BOTTOM   33

message received when the user act on the window to sent it to the bottom of the window stack.

  • msg[0] = WM_BOTTOM
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

    The application should then sent the window to the bottom of the windows stack by calling mt_wind_set() with WF_BOTTOM command.

    Note: the way the user may send a window to the bottom depend on the AES and its configuration.

    Since
    AES version 4.1. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MESSAGE.
#define WM_BOTTOMED   WM_BOTTOM

see WM_BOTTOM

#define WM_CLOSED   22

message received when the user clicks on a window's close box.

  • msg[0] = WM_CLOSED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

    When an application received this message, it should closes the window by calling mt_wind_close()

#define WM_FULLED   23

message received when the user clicks on a window's full box.

  • msg[0] = WM_FULLED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

    When an application received this message, if the window is not at full size, the window should ne resized using mt_wind_set() and WF_CURRXYWH to occupy the entire screen area minus the menu bar (see mt_wind_get()). If the window was previously 'fulled' and has not been resized since, the application should return the window to its previous size.

#define WM_HSLID   25

message received when the user moves the horizontal slider of a window.

  • msg[0] = WM_HSLID
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = new slider position from 0 to 1000.
  • msg[5] =
  • msg[6] =
  • msg[7] =

    Note: Slider position is relative and not related to slider size.

#define WM_ICONIFY   34

message received when the user clicks on the SMALLER window gadget

  • msg[0] = WM_ICONIFY
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x
  • msg[5] = y
  • msg[6] = w
  • msg[7] = h : position of the iconified window

    The application should then iconify the window by calling mt_wind_set() with WF_ICONIFY command.

    Since
    AES version 4.1. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MESSAGE.
#define WM_M_BDROPPED   100 /* KAOS 1.4 */

TODO

#define WM_MOVED   28

message received when the user moves the window by dragging the window title bar.

  • msg[0] = WM_MOVED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x
  • msg[5] = y
  • msg[6] = w
  • msg[7] = h of the new window location

    Use mt_wind_set() with the command WF_CURRXYWH to change the size of the window.

    WM_SIZED and WM_MOVED usually share common handling code.

#define WM_NEWTOP   29

message received when the user has topped a window

  • msg[0] = WM_NEWTOP
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =
#define WM_ONTOP   31

message received when the window is brought to the front on a multitasking AES.

  • msg[0] = WM_ONTOP
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

    The application need take no action. The message is for informational use only.

    Since
    AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MESSAGE.
#define WM_REDRAW   20

message received when a portion of the screen has to be redrawn

  • msg[0] = WM_REDRAW
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window to redraw
  • msg[4] = x,
  • msg[5] = y,
  • msg[6] = w,
  • msg[7] = h: rectangle of the area to be redrawn.

    When the message is received the window contents should be drawn (or a representative icon if the window is iconified).

#define WM_REPOSED   38

Message received when the user resizes the window using the left/upper parts of the window border.

  • msg[0] = WM_REPOSED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x
  • msg[5] = y
  • msg[6] = w
  • msg[7] = h of the new window location

    See mt_wind_set() with command WF_OPTS, bit WO0_SENDREPOS for details about the availability of this message.

    Use mt_wind_set() with the command WF_CURRXYWH to change the position of the window.

#define WM_SHADED   22360

TODO [WM_SHADED apid 0 win 0 0 0 0]

#define WM_SIZED   27

message received when the user drags the window sizing gadget.

  • msg[0] = WM_SIZED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x
  • msg[5] = y
  • msg[6] = w
  • msg[7] = h of the new window location

    Use mt_wind_set() with the command WF_CURRXYWH to change the size of the window.

    WM_SIZED and WM_MOVED usually share common handling code.

#define WM_TOOLBAR   37

message received when the user clicks on a toolbar object

  • msg[0] = WM_TOOLBAR
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = index of the object clicked
  • msg[5] = number of clicks
  • msg[6] = state of the keyboard shift keys (see mt_evnt_keybd())
  • msg[7] =

    Since
    AES version 4.1. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MENU (BUG?FIXME!).
#define WM_TOPPED   21

message received when a window which is not the top window has been clicked on by the user.

  • msg[0] = WM_TOPPED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

    When an application received this message, it should sets the window to the top by calling mt_wind_set() with WF_TOP parameter.

#define WM_UNICONIFY   35

message received when the user double-clicks on the iconified window

  • msg[0] = WM_UNICONIFY
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x
  • msg[5] = y
  • msg[6] = w
  • msg[7] = h : position of the iconified window

    The application should then uniconify the window by calling mt_wind_set() with WF_UNICONIFY command.

    Since
    AES version 4.1. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MESSAGE.
#define WM_UNSHADED   22361

TODO [WM_UNSHADED apid 0 win 0 0 0 0]

#define WM_UNTOPPED   30

message received when the window is sent behind one or more windows as the result of another window being topped.

  • msg[0] = WM_UNTOPPED
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] =
  • msg[5] =
  • msg[6] =
  • msg[7] =

    The application need take no action. The message is for informational use only.

    Since
    AES version 4.0. The availability of this feature could be check by calling mt_appl_getinfo() with the parameter AES_MESSAGE.
#define WM_VSLID   26

message received when the user moves the vertical slider of a window.

  • msg[0] = WM_VSLID
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = new slider position from 0 to 1000.
  • msg[5] =
  • msg[6] =
  • msg[7] =

    Note: Slider position is relative and not related to slider size.

#define WM_WHEEL   345

Message received when an event occurs on mouse wheel.

  • msg[0] = WM_WHEEL
  • msg[1] = AES application ID of the sender
  • msg[2] = 0
  • msg[3] = handle of the window
  • msg[4] = x-position of the mouse
  • msg[5] = y-position of the mouse
  • msg[6] = keyboard shift status
  • msg[7] = wheel info

'wheel info' consists of the following data;

  • bits 0-7 - Wheel amount
  • bits 8-11 - orient
  • bits 12-15 - Wheel ID

'orient' is a bitmask where bit 0 indicates direction, and bit 1 indicates orientation;

  • bit 0 : 0 = up or left; 1 = down or right
  • bit 1 : 0 = vertical (bit 0 indicates UP/DOWN); 1 = horizontal (bit 0 indicates LEFT/RIGHT)

'wheel ID' contains the wheel number. 0 is wheel #1, etc.. 'wheel amount' holds the number of wheel-turns.

See mt_wind_set() with command WF_WHEEL for details about the availability of this message.

#define WO0_FULLREDRAW   0x0002

see mt_wind_set() with WF_OPTS mode

#define WO0_NOBLITH   0x0008

see mt_wind_set() with WF_OPTS mode

#define WO0_NOBLITW   0x0004

see mt_wind_set() with WF_OPTS mode

#define WO0_SENDREPOS   0x0010

see mt_wind_set() with WF_OPTS mode

#define WO0_WHEEL   0x0001

see mt_wind_set() with WF_OPTS mode

#define WO1_NONE   0x0000

see mt_wind_set() with WF_OPTS mode

#define WO2_NONE   0x0000

see mt_wind_set() with WF_OPTS mode

#define X_WF_DCOLSTAT   8448

get/set (doc: TODO) (Geneva)

#define X_WF_DFLTDESK   5376

set (doc: TODO) (Geneva)

#define X_WF_DIALEDIT   9182

get/set (doc: TODO) (Geneva)

#define X_WF_DIALFLGS   7680

get/set (doc: TODO) (Geneva)

#define X_WF_DIALHT   5120

set (doc: TODO) (Geneva)

#define X_WF_DIALOG   4608

set (doc: TODO) (Geneva)

#define X_WF_DIALWID   4864

set (doc: TODO) (Geneva)

#define X_WF_HSLIDE2   6656

get/set (doc: TODO) (Geneva)

#define X_WF_HSLSIZE2   7168

get/set (doc: TODO) (Geneva)

#define X_WF_HSPLIT   5888

get/set (doc: TODO) (Geneva)

#define X_WF_MENU   4352

set (doc: TODO) (Geneva)

#define X_WF_MINMAX   5632

get/set (doc: TODO) (Geneva)

#define X_WF_OBJHAND   7936

get/set (doc: TODO) (Geneva)

#define X_WF_SPLMIN   6400

get/set (doc: TODO) (Geneva)

#define X_WF_VSLIDE2   6144

get/set (doc: TODO) (Geneva)

#define X_WF_VSLSIZE2   7424

get/set (doc: TODO) (Geneva)

#define X_WF_VSPLIT   6144

get/set (doc: TODO) (Geneva)

Typedef Documentation

typedef struct bit_block BITBLK

TODO

typedef struct cicon_data CICON

TODO

typedef struct cicon_blk CICONBLK

TODO

typedef struct pEvntrec EVNTREC

struct used by mt_appl_trecord() and mt_appl_tplay()

ap_event defines the required interpretation of ap_value as follows:

ap_event ap_value
APPEVNT_TIMER (0) Elapsed Time (in milliseconds)
APPEVNT_BUTTON (1) low word = state (1 = down), high word = # of clicks
APPEVNT_MOUSE (2) low word = X pos, high word = Y pos
APPEVNT_KEYBOARD (3)

bits 0-7 = ASCII code, bits 8-15 = scan code, bits 16-31 = shift key

Please read documentation of mt_appl_trecord() and mt_appl_tplay() for more details and known bugs related to this structure.

typedef struct graphic_rectangle GRECT

TODO

typedef struct icon_block ICONBLK

TODO

typedef struct _menu MENU

MENU structure, used by mt_menu_attach() and mt_menu_popup()

typedef struct memory_form MFDB

VDI Memory Form Definition Block

typedef struct mouse_form MFORM

Mouse Form Definition Block, see mt_graf_mouse()

typedef struct _mn_set MN_SET

menu_settings uses a new structure for setting and inquiring the submenu delay values and the menu scroll height.

typedef struct mouse_event_type MOUSE_EVENT

TODO

TODO

typedef struct object OBJECT

TODO

typedef union obspecptr OBSPEC

TODO

typedef struct parm_block PARMBLK

TODO

typedef struct point_coord PXY

TODO

typedef struct rgb_1000 RGB1000

RGB intesities in promille

typedef struct rshdr RSHDR

TODO

typedef struct text_edinfo TEDINFO

TODO

typedef struct user_block USERBLK

TODO

typedef short VdiHdl

for better readability