Class TGraphMng (unit Usprite)

Inherits from

TObject

Constructors


constructor create;

TGraphMng


Functions

procedure AddGraph(AGraph:TGraph);


destructor destroy;


procedure RedrawScreen(hdc:Thandle);


procedure BorderEvent(Sender:Tobject);


procedure EventRect(Sender:Tobject);


function GetCount:integer;


function GetGraph(const Idx:integer):TGraph;


function ValidGraph(Agraph:TGraph):boolean;


Properties

property Count : integer

main procedure called by timer

Events

event OnBeginValidEvent : TNotifyEvent


event OnBorderEvent : TNotifyEvent


event OnEndValidEvent : TNotifyEvent


event OnEventRect : TNotifyEvent


Variables

FFirstDraw : Boolean;

List of modified rect on HdcBgdRef

FList : Tlist;


FOnBeginValidEvent : TNotifyEvent;


FOnBorderEvent : TNotifyEvent;


FOnEndValidEvent : TNotifyEvent;


FOnEventRect : TNotifyEvent;


FRecList : TList;

list of sprites object


Constructors


constructor create;

TGraphMng


Functions


procedure AddGraph(AGraph:TGraph);


destructor destroy;


procedure RedrawScreen(hdc:Thandle);


procedure BorderEvent(Sender:Tobject);


procedure EventRect(Sender:Tobject);


function GetCount:integer;


function GetGraph(const Idx:integer):TGraph;


function ValidGraph(Agraph:TGraph):boolean;


Properties


property Count : integer

main procedure called by timer


Events


event OnBeginValidEvent : TNotifyEvent


event OnBorderEvent : TNotifyEvent


event OnEndValidEvent : TNotifyEvent


event OnEventRect : TNotifyEvent


Variables


FFirstDraw : Boolean;

List of modified rect on HdcBgdRef


FList : Tlist;


FOnBeginValidEvent : TNotifyEvent;


FOnBorderEvent : TNotifyEvent;


FOnEndValidEvent : TNotifyEvent;


FOnEventRect : TNotifyEvent;


FRecList : TList;

list of sprites object