Class TDirectDrawDisplay (unit DXDraws)

Inherits from

TPersistent

Constructors


constructor Create(ADXDraw: TCustomDXDraw);

TDirectDrawDisplay


Functions

procedure Assign(Source: TPersistent);


destructor Destroy;


function IndexOf(Width, Height, BitCount: Integer): Integer;


function DynSetSize(AWidth, AHeight, ABitCount: Integer): Boolean;


function GetCount: Integer;


function GetMode: TDirectDrawDisplayMode;


function GetMode2(Index: Integer): TDirectDrawDisplayMode;


procedure LoadDisplayModes;


procedure SetBitCount(Value: Integer);

The change is unconditionally attempted.

procedure SetHeight(Value: Integer);


function SetSize(AWidth, AHeight, ABitCount: Integer): Boolean;


procedure SetWidth(Value: Integer);


Properties

property BitCount : Integer


property FixedBitCount : Boolean


property FixedRatio : Boolean


property FixedSize : Boolean


property Height : Integer


property Width : Integer


property Count : Integer


property Mode : TDirectDrawDisplayMode


property Modes : TDirectDrawDisplayMode


Events

Variables

FBitCount : Integer;


FDXDraw : TCustomDXDraw;


FFixedBitCount : Boolean;


FFixedRatio : Boolean;


FFixedSize : Boolean;


FHeight : Integer;


FModes : TCollection;


FWidth : Integer;



Constructors


constructor Create(ADXDraw: TCustomDXDraw);

TDirectDrawDisplay


Functions


procedure Assign(Source: TPersistent);


destructor Destroy;


function IndexOf(Width, Height, BitCount: Integer): Integer;


function DynSetSize(AWidth, AHeight, ABitCount: Integer): Boolean;


function GetCount: Integer;


function GetMode: TDirectDrawDisplayMode;


function GetMode2(Index: Integer): TDirectDrawDisplayMode;


procedure LoadDisplayModes;


procedure SetBitCount(Value: Integer);

The change is unconditionally attempted.


procedure SetHeight(Value: Integer);


function SetSize(AWidth, AHeight, ABitCount: Integer): Boolean;


procedure SetWidth(Value: Integer);


Properties


property BitCount : Integer


property FixedBitCount : Boolean


property FixedRatio : Boolean


property FixedSize : Boolean


property Height : Integer


property Width : Integer


property Count : Integer


property Mode : TDirectDrawDisplayMode


property Modes : TDirectDrawDisplayMode


Events


Variables


FBitCount : Integer;


FDXDraw : TCustomDXDraw;


FFixedBitCount : Boolean;


FFixedRatio : Boolean;


FFixedSize : Boolean;


FHeight : Integer;


FModes : TCollection;


FWidth : Integer;