C# Class idTech4.UI.idSliderWindow

Inheritance: idWindow
Afficher le fichier Open project: iainmckay/idtech4.net Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

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

Private Methods

Méthode Description
Init ( ) : void
InitCvar ( ) : void
UpdateConsoleVariables ( bool read, bool force = false ) : void

Method Details

Activate() public méthode

public Activate ( bool activate, string &act ) : void
activate bool
act string
Résultat void

Draw() public méthode

public Draw ( float x, float y ) : void
x float
y float
Résultat void

DrawBackground() protected méthode

protected DrawBackground ( idRectangle drawRect ) : void
drawRect idRectangle
Résultat void

GetVariableByName() public méthode

public GetVariableByName ( string name, bool fixup, DrawWindow &owner ) : idWindowVariable
name string
fixup bool
owner DrawWindow
Résultat idWindowVariable

HandleEvent() public méthode

public HandleEvent ( SystemEvent e, bool &updateVisuals ) : string
e SystemEvent
updateVisuals bool
Résultat string

InitWithDefaults() public méthode

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
Résultat void

ParseInternalVariable() protected méthode

protected ParseInternalVariable ( string name, Text parser ) : bool
name string
parser Text
Résultat bool

PostParse() protected méthode

protected PostParse ( ) : void
Résultat void

RouteMouseCoordinates() protected méthode

protected RouteMouseCoordinates ( float x, float y ) : string
x float
y float
Résultat string

RunNamedEvent() public méthode

public RunNamedEvent ( string name ) : void
name string
Résultat void

SetRange() public méthode

public SetRange ( float low, float high, float step ) : void
low float
high float
step float
Résultat void

idSliderWindow() public méthode

public idSliderWindow ( idDeviceContext context, idUserInterface gui ) : System
context idDeviceContext
gui idUserInterface
Résultat System

idSliderWindow() public méthode

public idSliderWindow ( idUserInterface gui ) : System
gui idUserInterface
Résultat System