typedef ByteEnum MixMode; #define MM_CLEAR 0 /* clear destination */ #define MM_COPY 1 /* new drawing is opaque */ #define MM_NOP 2 /* no drawing */ #define MM_AND 3 /* logical AND of new and old colors */ #define MM_INVERT 4 /* inverse of old color */ #define MM_XOR 5 /* XOR of new and old colors */ #define MM_SET 6 /* set destination black */ #define MM_OR 7 /* logical OR of new and old colors */
The
MixMode
determines what the graphics system will do when drawing one thing on top of another.
typedef enum {
MRC_NOT_SUPPORTED = 1,
MRC_DRIVER_IN_USE,
MRC_TIMEOUT,
MRC_UNKNOWN_RESPONSE,
MRC_OK,
RC_ERROR,
MRC_BUSY,
MRC_NO_DIALTONE,
MRC_NO_ANSWER,
MRC_NO_CARRIER,
MRC_CONNECT,
MRC_CONNECT_1200,
MRC_CONNECT_2400,
MRC_CONNECT_4800,
MRC_CONNECT_9600,
MRC_BLACKLISTED,
MRC_DELAYED,
} ModemResultCode;
Error codes returned by modem routines.
typedef WordFlags MouseReturnFlags; #define MRF_PROCESSED 0x8000 #define MRF_REPLAY 0x4000 #define MRF_PREVENT_PASS_THROUGH 0x2000 #define MRF_SET_POINTER_IMAGE 0x1000 #define MRF_CLEAR_POINTER_IMAGE 0x0800
These flags are used in various parts of the system that work with mouse input. Which values are appropriate to pass will vary based on context.
typedef struct {
word unused;
MouseReturnFlags flags;
optr ptrImage;
} MouseReturnParams;
This structure is used in certain areas of the system which work with mouse input.
typedef struct{
ElementArrayHeader NAH_meta;
word NAH_dataSize; /* Size of data section of
* each element */
} NameArrayHeader;
Every name array must begin with a
NameArrayHeader
. Since name arrays are special kinds of element arrays, the
NameArrayHeader
must itself begin with an
ElementArrayHeader
. The structure contains one additional field,
NAH_dataSize
. This field specifies how long the data section of every element is. Applications may examine this field, but they must not change it.
typedef struct {
RefElementHeader NAME_meta;
byte NAME_data[NAME_ARRAY_MAX_DATA_SIZE];
char NAME_name[NAME_ARRAY_MAX_NAME_SIZE];
} NameArrayMaxElement;
GEOS SDK TechDocs|
|
MediumUnitType ... |
NULL ...