home *** CD-ROM | disk | FTP | other *** search
- {$if not def DEVICES_CONUNIT_H} CONST DEVICES_CONUNIT_H=0;
-
-
- { *******************************************************************
- ** KickPascal-Include-Datei "devices/conunit.h" zu Kickstart 3.0 **
- ******************************************************************* }
-
- TYPE p_ConUnit = ^ConUnit;
-
-
- {$if not def EXEC_PORTS_H;incl "exec/ports.h";endif}
- {$if not def DEVICES_CONSOLE_H;incl "devices/console.h";endif}
- {$if not def DEVICES_KEYMAP_H;incl "devices/keymap.h";endif}
- {$if not def DEVICES_INPUTEVENT_H;incl "devices/inputevent.h";endif}
-
- CONST
- CONU_LIBRARY = -1;
- CONU_STANDARD = 0;
-
- CONST
- CONU_CHARMAP = 1;
- CONU_SNIPMAP = 3;
-
- CONST
- CONFLAG_DEFAULT = 0;
- CONFLAG_NODRAW_ON_NEWSIZE = 1;
-
-
- CONST
- PMB_ASM = (M_LNM+19);
- PMB_AWM = (PMB_ASM+1);
- MAXTABS = 80;
-
- TYPE ConUnit = RECORD
- cu_MP : MsgPort;
- cu_Window : p_Window;
- cu_XCP : Integer;
- cu_YCP : Integer;
- cu_XMax : Integer;
- cu_YMax : Integer;
- cu_XRSize : Integer;
- cu_YRSize : Integer;
- cu_XROrigin : Integer;
- cu_YROrigin : Integer;
- cu_XRExtant : Integer;
- cu_YRExtant : Integer;
- cu_XMinShrink : Integer;
- cu_YMinShrink : Integer;
- cu_XCCP : Integer;
- cu_YCCP : Integer;
- cu_KeyMapStruct : Keymap;
- cu_TabStops : ARRAY[0..MAXTABS-1] OF Word;
- cu_Mask : Short;
- cu_FgPen : Short;
- cu_BgPen : Short;
- cu_AOLPen : Short;
- cu_DrawMode : Short;
- cu_Obsolete1 : Short;
- cu_Obsolete2 : Ptr;
- cu_Minterms : ARRAY[0..7] OF Byte;
- cu_Font : p_TextFont;
- cu_AlgoStyle : Byte;
- cu_TxFlags : Byte;
- cu_TxHeight : Word;
- cu_TxWidth : Word;
- cu_TxBaseline : Word;
- cu_TxSpacing : Integer;
- cu_Modes0 : Byte; { Der Array besteht aus 3 Bytes, KickPascal }
- cu_Modes1 : Byte; { richtet den anschließenden Byte-Array auf Wordgrenze aus }
- cu_Modes2 : Byte;
- cu_RawEvents0 : Byte;
- cu_RawEvents1 : Byte;
- cu_RawEvents2 : Byte;
- END;
-
- {$endif}
-