Up: GEOS SDK TechDocs| Up | Prev: MediumUnitType ... | Next: NULL ...

MixMode

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.

ModemResultCode

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.

MonoTransfer

typedef struct {
byte MT_gray[256];
} MonoTransfer;

 

MouseReturnFlags

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.

MouseReturnParams

typedef struct {
word 				unused;
MouseReturnFlags 				flags;
optr 				ptrImage;
} MouseReturnParams;

This structure is used in certain areas of the system which work with mouse input.

NameArrayAddFlags

typedef WordFlags NameArrayAddFlags;
#define NAAF_SET_DATA_ON_REPLACE 0x8000

 

NameArrayElement

typedef struct {
RefElementHeader NAE_meta;
} NameArrayElement;

 

NameArrayHeader

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.

NameArrayMaxElement

typedef struct {
RefElementHeader NAME_meta;
byte NAME_data[NAME_ARRAY_MAX_DATA_SIZE];
char NAME_name[NAME_ARRAY_MAX_NAME_SIZE];
} NameArrayMaxElement;

 

NO_ERROR_RETURNED

#define NO_ERROR_RETURNED				0

 

NoteType

typedef ByteEnum NoteType;
#define NT_INK			0
#define NT_TEXT			1

 

NotificationType

typedef struct {
ManufacturerID			NT_manuf;
word			NT_type;
} NotificationType;

 

NotifyInkHasTarget

typedef struct {
optr	NIHT_optr;
} NotifyInkHasTarget;

 


Up: GEOS SDK TechDocs| Up | Prev: MediumUnitType ... | Next: NULL ...