[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'Intuition' (#aros)

TGadget

Structure to describe a Gadget

Declaration

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: APTR;

  

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: APTR;

  

Application can specify "highlighted" imagery rather than algorithmic this can point to either Border or Image data

  GadgetText: PIntuiText;

  

Text for this gadget

  MutualExclude: IPTR;

  

obsolete

  SpecialInfo: APTR;

  

A pointer to a structure of special data required by Proportional, String and LongInt Gadgets

  GadgetID: Word;

  

User-definable ID field

  UserData: APTR;

  

A pointer to general purpose User data (ignored by Intuition)

end;

See also

TRequester

  

Requesters The following struct is used for standard intuition requesters

TWindow

  

Window structure

TNewWindow

  

New window structure

TExtNewWindow

  

Future TNewWindow

TScreen

  

Basic screen structure

TNewScreen

  

Description of a new screen

TExtNewScreen

  

Extended TNewScreen structure

GA_Previous

  

GadgetClass Tag. [I..] (PGadget) Pointer to previous gadget.

GA_Next

  

GadgetClass Tag. [I..] (PGadget) Next gadget in the linked list. Currently not implemented.

TSGWork

  

String gadget message

TsdpLayoutScreenGadgets

  

Method parameter for SDM_LAYOUT_SCREENGADGETS

TwdpLayoutBorderGadgets

  

Method parameter for WDM_LAYOUT_BORDERGADGETS

TwdpDrawBorderPropBack

  

Method parameter for WDM_DRAW_BORDERPROPBACK

TwdpDrawBorderPropKnob

  

Method parameter for WDM_DRAW_BORDERPROPKNOB

ActivateGadget

  

Activate a (string or custom) gadget.

AddGadget

  

Add a gadget to the gadget list of a window.

AddGList

  

Add a linked list of gadgets to a window or requester.

DoGadgetMethodA

  

Invoke method on a boopsi gadget.

GadgetMouse

  

Calculate gadget-relative mouse position.

ModifyProp

  

Modify the current parameters of a proportional gadget.

ObtainGIRPort

  

Set up a RastPort for a custom gadget.

OffGadget

  

Disable the specified gadget.

OnGadget

  

Enable the specified gadget.

RefreshGadgets

  

Refresh (redraw) the gadget display.

RefreshGList

  

Refresh (redraw) a chosen number of gadgets.

RemoveGadget

  

Remove a gadget from a window.

RemoveGList

  

Remove a sublist of gadgets from a window.

SetGadgetAttrsA

  

Specify attribute values for a boopsi gadget.

GADGET_BOX

  

Get bounding box of a gadget

CUSTOM_HOOK

  

Casts MutualExclude for easy assignment of a hook pointer to the unused MutualExclude field of a custom gadget


Documentation generated on: 2017-01-10