C# Class idTech4.UI.idSliderWindow

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

Public Methods

Method Description
Activate ( bool activate, string &act ) : void
Draw ( float x, float y ) : void
GetVariableByName ( string name, bool fixup, DrawWindow &owner ) : idWindowVariable
HandleEvent ( SystemEvent e, bool &updateVisuals ) : string
InitWithDefaults ( string name, idRectangle rect, Vector4 foreColor, Vector4 materialColor, string background, string thumbMaterial, bool vertical, bool scrollbar ) : void
RunNamedEvent ( string name ) : void
SetRange ( float low, float high, float step ) : void
idSliderWindow ( idDeviceContext context, idUserInterface gui ) : System
idSliderWindow ( idUserInterface gui ) : System

Protected Methods

Method Description
DrawBackground ( idRectangle drawRect ) : void
ParseInternalVariable ( string name, Text parser ) : bool
PostParse ( ) : void
RouteMouseCoordinates ( float x, float y ) : string

Private Methods

Method Description
Init ( ) : void
InitCvar ( ) : void
UpdateConsoleVariables ( bool read, bool force = false ) : void

Method Details

Activate() public method

public Activate ( bool activate, string &act ) : void
activate bool
act string
return void

Draw() public method

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

DrawBackground() protected method

protected DrawBackground ( idRectangle drawRect ) : void
drawRect idRectangle
return void

GetVariableByName() public method

public GetVariableByName ( string name, bool fixup, DrawWindow &owner ) : idWindowVariable
name string
fixup bool
owner DrawWindow
return idWindowVariable

HandleEvent() public method

public HandleEvent ( SystemEvent e, bool &updateVisuals ) : string
e SystemEvent
updateVisuals bool
return string

InitWithDefaults() public method

public InitWithDefaults ( string name, idRectangle rect, Vector4 foreColor, Vector4 materialColor, string background, string thumbMaterial, bool vertical, bool scrollbar ) : void
name string
rect idRectangle
foreColor Vector4
materialColor Vector4
background string
thumbMaterial string
vertical bool
scrollbar bool
return void

ParseInternalVariable() protected method

protected ParseInternalVariable ( string name, Text parser ) : bool
name string
parser Text
return bool

PostParse() protected method

protected PostParse ( ) : void
return void

RouteMouseCoordinates() protected method

protected RouteMouseCoordinates ( float x, float y ) : string
x float
y float
return string

RunNamedEvent() public method

public RunNamedEvent ( string name ) : void
name string
return void

SetRange() public method

public SetRange ( float low, float high, float step ) : void
low float
high float
step float
return void

idSliderWindow() public method

public idSliderWindow ( idDeviceContext context, idUserInterface gui ) : System
context idDeviceContext
gui idUserInterface
return System

idSliderWindow() public method

public idSliderWindow ( idUserInterface gui ) : System
gui idUserInterface
return System