Layer Structure
Source position: agraphics.pas line 158
type TLayer = record |
||
Front: PLayer; |
|
Link to next layer (in front of the current one) |
Back: PLayer; |
|
Link to the previous layer (behind the current one) |
ClipRect: PClipRect; |
|
Read by roms to find first cliprect |
Rp: PRastPort; |
|
Ignored by roms, I hope |
Bounds: TRectangle; |
|
Ignored by roms |
Reserved: array [0..3] of Byte; |
|
|
Priority: Word; |
|
system use only |
Flags: Word; |
|
obscured ?, Virtual BitMap? |
SuperBitMap: PBitMap; |
|
|
SuperClipRect: PClipRect; |
|
Super bitmap cliprects if VBitMap <> 0 else damage cliprect list for refresh |
Window: Pointer; |
|
Reserved for user interface use |
Scroll_X: Word; |
|
|
Scroll_Y: Word; |
|
|
Cr: PClipRect; |
|
used by dedice |
Cr2: PClipRect; |
|
used by dedice |
CrNew: PClipRect; |
|
used by dedice |
SuperSaveClipRects: PClipRect; |
|
preallocated Clip rects |
_ClipRects: PClipRect; |
|
System use during refresh |
LayerInfo: Pointer; |
|
Points to head of the list |
Lock: TSignalSemaphore; |
|
|
BackFill: PHook; |
|
|
Reserved1: LongWord; |
|
|
ClipRegion: PRegion; |
|
|
SaveClipRects: PRegion; |
|
Used to back out when in trouble |
Width: SmallInt; |
|
Width of layer |
Height: SmallInt; |
|
Height of Layer |
Reserved2: array [0..17] of Byte; |
|
|
DamageList: PRegion; |
|
List of rectangles to refreshthrough |
end; |