C# Class idTech4.UI.idSimpleWindow

显示文件 Open project: iainmckay/idtech4.net Class Usage Examples

Public Methods

Method Description
Draw ( float x, float y ) : void
GetVariableByName ( string name ) : idWindowVariable
StateChanged ( bool redraw ) : void
idSimpleWindow ( idWindow win ) : System

Private Methods

Method Description
CalculateClientRectangle ( float offsetX, float offsetY ) : void
DrawBackground ( idRectangle drawRect ) : void
DrawBorderAndCaption ( idRectangle drawRect ) : void
SetupTransforms ( float x, float y ) : void

Method Details

Draw() public method

public Draw ( float x, float y ) : void
x float
y float
return void

GetVariableByName() public method

public GetVariableByName ( string name ) : idWindowVariable
name string
return idWindowVariable

StateChanged() public method

public StateChanged ( bool redraw ) : void
redraw bool
return void

idSimpleWindow() public method

public idSimpleWindow ( idWindow win ) : System
win idWindow
return System