| Class TDDScreen (unit DirectDraw) |
TObject
| Constructors |
constructor Create ( Width, Height, Depth: DWORD ; hform : HWND; bFullScreen : boolean) ;| Functions |
destructor Destroy ;
procedure Flip ;
procedure WindowMove;| Properties |
property BackSurface : IDirectDrawSurface
property FrontSurface : IDirectDrawSurface
property FullScreen : boolean
property height : integer
property width : integer| Events |
| Variables |
bcanStretch : boolean;
bHasColorKey : boolean;
bHasOverlay : boolean;
bSWRender : Boolean;
DDraw : IDirectDraw ;
FBackSurface : IDirectDrawSurface ;
FFrontSurface : IDirectDrawSurface ;
FFullScreen : boolean;
FiHeight : integer;
FiWidth : integer;
mClipper : IDirectDrawClipper;
mhForm : HWND;
mrcFront : TRect;| Constructors |
constructor Create ( Width, Height, Depth: DWORD ; hform : HWND; bFullScreen : boolean) ;----------------------------------------------------------- | | TDDSCREEN.CREATE | | Set up DirectDrawSurface objects | -----------------------------------------------------------
| Functions |
destructor Destroy ;----------------------------------------------------------- | | TDDSCREEN.DESTROY | | Release DirectDrawSurface objects | -----------------------------------------------------------
procedure Flip ;----------------------------------------------------------- | | TDDSCREEN.FLIP | | Flip to a new display buffer | -----------------------------------------------------------
procedure WindowMove;| Properties |
property BackSurface : IDirectDrawSurface
property FrontSurface : IDirectDrawSurface
property FullScreen : boolean
property height : integer
property width : integer| Events |
| Variables |
bcanStretch : boolean;
bHasColorKey : boolean;
bHasOverlay : boolean;
bSWRender : Boolean;
DDraw : IDirectDraw ;
FBackSurface : IDirectDrawSurface ;
FFrontSurface : IDirectDrawSurface ;
FFullScreen : boolean;
FiHeight : integer;
FiWidth : integer;
mClipper : IDirectDrawClipper;
mhForm : HWND;
mrcFront : TRect;