Requesters The following struct is used for standard intuition requesters
Source position: intuition.pas line 720
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: Pointer; |
|
Window, which the requester belongs to |
ReqImage: Pointer; |
|
corresponds to USEREQIMAGE |
ReqPad2: array [0..31] of Byte; |
|
Private |
end; |
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
|
Requesters The following struct is used for standard intuition requesters |
|
|
Window structure |
|
|
The TGadgetInfo structure contains information about the display on which the gadget needs to render itself |
|
|
Activate a (string or custom) gadget. |
|
|
Add a linked list of gadgets to a window or requester. |
|
|
Invoke method on a boopsi gadget. |
|
|
Remove a currently active requester. |
|
|
Initialize a Requester structure. |
|
|
Modify the current parameters of a proportional gadget. |
|
|
ModifyProp(), but with selective refresh. |
|
|
Disable the specified gadget. |
|
|
Enable the specified gadget. |
|
|
Refresh (redraw) the gadget display. |
|
|
Refresh (redraw) a chosen number of gadgets. |
|
|
Activate a requester. |
|
|
Set the DMRequest of a window. |
|
|
Specify attribute values for a boopsi gadget. |