Graphical informations for the 3D look
Source position: intuition.pas line 1919
type TDrawInfo = record |
||
dri_Version: Word; |
|
Version of the structure, will be DRI_VERSION |
dri_NumPens: Word; |
|
Guaranteed to be >= numDrIPens |
dri_Pens: PWord; |
|
pointer to pen array |
dri_Font: PTextFont; |
|
Screen default font |
dri_Depth: Word; |
|
(initial) depth of screen bitmap |
dri_Resolution: record |
|
from DisplayInfo database for initial display mode |
x: Word; |
|
|
y: Word; |
|
|
end; |
||
dri_Flags: LongWord; |
|
Draw Flags (DIRF_*) |
dri_CheckMark: PImage; |
|
pointer to scaled checkmark image Will be nil if DRI_VERSION < 2 |
dri_AmigaKey: PImage; |
|
pointer to scaled Amiga-key image Will be nil if DRI_VERSION < 2 |
dri_Screen: PScreen; |
||
dri_Prefs: Pointer; |
||
dri_Reserved: array [0..2] of LongWord; |
|
Place for future extensions |
end; |
The DrawInfo structure provides information Intuition uses to support the 3D look and specifies graphical information for applications that use the screen. The information includes such items as aspect ratio (resolution), font, number of colors and drawing pens.
|
The TGadgetInfo structure contains information about the display on which the gadget needs to render itself |
|
|
GadgetClass Tag. [I..] (PDrawInfo) Some gadgets need a DrawInfo structure to be able to perform correct rendering. |
|
|
Message argument for IM_FRAMEBOX |
|
|
Message argument for IM_DRAW or IM_DRAWFRAME |
|
|
Draw an (extended) Intuition Image with special visual state. |
|
|
Finish using a DrawInfo structure. |
|
|
Get pointer to rendering information. |