Unit 'intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#morphunits]

TRequester

Requesters The following struct is used for standard intuition requesters

Declaration

Source position: intuition.pas line 480

type TRequester = record

  OlderRequest: PRequester;

  

  LeftEdge: SmallInt;

  

dimensions of the entire box

  TopEdge: SmallInt;

  

  Width: SmallInt;

  

  Height: SmallInt;

  

  RelLeft: SmallInt;

  

For Pointer relativity offsets

  RelTop: SmallInt;

  

  ReqGadget: PGadget;

  

First gadget of the requester

  ReqBorder: PBorder;

  

First border of the requester

  ReqText: PIntuiText;

  

First intuitext of the requester

  Flags: Word;

  

Flags for requester (e.g. POINTREL, PREDRAWN, NOISYREQ, SIMPLEREQ, USEREQIMAGE, NOREQBACKFILL, REQOFFWINDOW,REQACTIVE, SYSREQUEST or DEFERREFRESH)

  BackFill: Byte;

  

Pen number for back-plane fill before draws

  ReqLayer: PLayer;

  

Layer in place of clip rect

  ReqPad1: array [0..31] of Byte;

  

Private

  ImageBMap: PBitMap;

  

you may use this to fill the requester with your own image

  RWindow: PWindow;

  

Window, which the requester belongs to

  ReqImage: PImage;

  

corresponds to USEREQIMAGE

  ReqPad2: array [0..31] of ShortInt;

  

Private

end;

Description

The ClipRect and BitMap and used for rendering the requester

If the BitMap plane pointers are non-zero, this tells the system that the image comes pre-drawn (if the appliprog wants to define it's own box, in any shape or size it wants!); this is OK by Intuition as long as there's a good correspondence between the image and the specified Gadgets

See also

PRequester

  

Requesters The following struct is used for standard intuition requesters

TWindow

  

Window structure

TGadgetInfo

  

The TGadgetInfo structure contains information about the display on which the gadget needs to render itself

ActivateGadget

  

Activate a (string or custom) gadget.

AddGList

  

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

DoGadgetMethodA

  

Invoke method on a boopsi gadget.

EndRequest

  

Remove a currently active requester.

InitRequester

  

Initialize a Requester structure.

ModifyProp

  

Modify the current parameters of a proportional gadget.

NewModifyProp

  

ModifyProp(), but with selective refresh.

OffGadget

  

Disable the specified gadget.

OnGadget

  

Enable the specified gadget.

RefreshGadgets

  

Refresh (redraw) the gadget display.

RefreshGList

  

Refresh (redraw) a chosen number of gadgets.

Request

  

Activate a requester.

SetDMRequest

  

Set the DMRequest of a window.

SetGadgetAttrsA

  

Specify attribute values for a boopsi gadget.


Documentation generated on: 2021-07-30