typedef enum {
TO_NULL,
TO_SELF,
TO_OBJ_BLOCK_OUTPUT,
TO_PROCESS
} TravelOption;
/* VisClass defines one other travel option: */
typedef enum {
TO_VIS_PARENT=_FIRST_VisClass
} VisTravelOption;
/* GenClass defines some more travel options: */
typedef enum /* word */ {
TO_GEN_PARENT=_FIRST_GenClass,
TO_FOCUS,
TO_TARGET,
TO_MODEL,
TO_APP_FOCUS,
TO_APP_TARGET,
TO_APP_MODEL,
TO_SYS_FOCUS,
TO_SYS_TARGET,
TO_SYS_MODEL
} GenTravelOption;
This enumerated type can be used to specify the recipient of a message. Note that the values set up in the
TravelOption
,
VisTravelOption
, and
GenTravelOption
have been set up as descrete values.
word TypeFromFormatID(type);
ClipboardItemFormatID type;
This macro extracts the format ID from the given clipboard format ID and manufacturer value.
typedef ByteFlags UIFunctionsActive; #define UIFA_SELECT 0x80 #define UIFA_MOVE_COPY 0x40 #define UIFA_FEATURES 0x20 #define UIFA_CONSTRAIN 0x10 #define UIFA_PREF_A 0x08 #define UIFA_PREF_B 0x04 #define UIFA_PREF_C 0x02 #define UIFA_IN 0x01 #define UIFA_ADJUST 0x08 #define UIFA_EXTEND 0x04 #define UIFA_MOVE 0x08 #define UIFA_COPY 0x04 #define UIFA_POPUP 0x08 #define UIFA_PAN 0x04
These flags describe the context of the user's input, providing some modal information.
typedef enum /* word */ {
UADT_FLAGS,
UADT_PTR,
UADT_VM_CHAIN,
} UndoActionDataType;
typedef union {
/* To find out the type of data stored in this
* union, check the value of the UndoActionStruct's
* UAS_dataType field. */
UndoActionDataFlags UADU_flags;
UndoActionDataPtr UADU_ptr;
UndoActionDataVMChain UADU_vmChain;
} UndoActionDataUnion;
#define NULL_UNDO_CONTEXT 0
typedef struct {
/* This structure is filled in by the code for
* MSG_META_UNDO. VMChains passed to
* MSG_GEN_PROCESS_UNDO_ADD_ACTION should lie in the undo
* file (which can be obtained by sending
* MSG_GEN_PROCESS_UNDO_GET_FILE). */
VMChain UADVMC_vmChain;
VMFileHandle UADVMC_file;
} UndoActionDataVMChain;
GEOS SDK TechDocs
|
|
TimerHandle ...
|
UndoActionStruct ...