Previous Book Contents Book Index Next

Inside Macintosh: Apple Game Sprockets Guide /
Chapter 3 - InputSprocket / InputSprocket Reference
Data Structures


Element Information Structure

The element information structure provides basic information about an element that is common to all elements, regardless of kind. An element information structure is defined by the ISpElementInfo data type.

typedef struct ISpElementInfo {
   ISpElementLabel theLabel;
   ISpElementKind theKind;
   Str63          theString;
   UInt32         reserved1;
   UInt32         reserved2;
} ISpElementInfo, *ISpElementInfoPtr;
Field Description
theLabel
The label of the element. See "Built-in Element Labels" (page 3-19) for built-in values.
theKind
The kind of data produced by the element. See "Built-in Element Kinds" (page 3-18) for built-in values.
theString
The localized human readable identifier for use in the user interface.
reserved1
Reserved. Always set this field to 0.
reserved2
Reserved. Always set this field to 0.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
2 JUL 1996