Structure to describe a Gadget
Source position: intuition.pas line 144
type TGadget = record |
||
NextGadget: PGadget; |
|
Next Gadget in the list |
LeftEdge: SmallInt; |
|
Left edge of Hitbox |
TopEdge: SmallInt; |
|
Top edge of Hitbox |
Width: SmallInt; |
|
Width of Hitbox |
Height: SmallInt; |
|
Height of Hitbox |
Flags: Word; |
|
Flag for Gadget (GFLG_*) |
Activation: Word; |
|
Activation flag (GACT_*) |
GadgetType: Word; |
|
Gadget typ (GTYP_*) |
GadgetRender: Pointer; |
|
Application can specify that the Gadget be rendered as either as Border or an Image. This variable points to which (or equals nil if there's nothing to be rendered about this Gadget) |
SelectRender: Pointer; |
|
Application can specify "highlighted" imagery rather than algorithmic this can point to either Border or Image data |
GadgetText: PIntuiText; |
|
Text for this gadget |
MutualExclude: NativeUInt; |
|
obsolete |
SpecialInfo: Pointer; |
|
A pointer to a structure of special data required by Proportional, String and LongInt Gadgets |
GadgetID: Word; |
|
User-definable ID field |
UserData: Pointer; |
|
A pointer to general purpose User data (ignored by Intuition) |
end; |
|
Requesters The following struct is used for standard intuition requesters |
|
|
Window structure |
|
|
New window structure |
|
|
Future TNewWindow |
|
|
Basic screen structure |
|
|
Description of a new screen |
|
|
Extended TNewScreen structure |
|
|
GadgetClass Tag. [I..] (PGadget) Pointer to previous gadget. |
|
|
GadgetClass Tag. [I..] (PGadget) Next gadget in the linked list. Currently not implemented. |
|
|
String gadget message |
|
|
Method parameter for SDM_LAYOUT_SCREENGADGETS |
|
|
Method parameter for WDM_LAYOUT_BORDERGADGETS |
|
|
Method parameter for WDM_DRAW_BORDERPROPBACK |
|
|
Method parameter for WDM_DRAW_BORDERPROPKNOB |
|
|
Activate a (string or custom) gadget. |
|
|
Add a gadget to the gadget list of a window. |
|
|
Add a linked list of gadgets to a window or requester. |
|
|
Invoke method on a boopsi gadget. |
|
|
Calculate gadget-relative mouse position. |
|
|
Modify the current parameters of a proportional gadget. |
|
|
Set up a RastPort for a custom gadget. |
|
|
Disable the specified gadget. |
|
|
Enable the specified gadget. |
|
|
Refresh (redraw) the gadget display. |
|
|
Refresh (redraw) a chosen number of gadgets. |
|
|
Remove a gadget from a window. |
|
|
Remove a sublist of gadgets from a window. |
|
|
Specify attribute values for a boopsi gadget. |
|
|
Get bounding box of a gadget |
|
|
Casts MutualExclude for easy assignment of a hook pointer to the unused MutualExclude field of a custom gadget |