C# Класс idTech4.UI.idSliderWindow

Наследование: idWindow
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Защищенные методы

Метод Описание
DrawBackground ( idRectangle drawRect ) : void
ParseInternalVariable ( string name, Text parser ) : bool
PostParse ( ) : void
RouteMouseCoordinates ( float x, float y ) : string

Приватные методы

Метод Описание
Init ( ) : void
InitCvar ( ) : void
UpdateConsoleVariables ( bool read, bool force = false ) : void

Описание методов

Activate() публичный Метод

public Activate ( bool activate, string &act ) : void
activate bool
act string
Результат void

Draw() публичный Метод

public Draw ( float x, float y ) : void
x float
y float
Результат void

DrawBackground() защищенный Метод

protected DrawBackground ( idRectangle drawRect ) : void
drawRect idRectangle
Результат void

GetVariableByName() публичный Метод

public GetVariableByName ( string name, bool fixup, DrawWindow &owner ) : idWindowVariable
name string
fixup bool
owner DrawWindow
Результат idWindowVariable

HandleEvent() публичный Метод

public HandleEvent ( SystemEvent e, bool &updateVisuals ) : string
e SystemEvent
updateVisuals bool
Результат string

InitWithDefaults() публичный Метод

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
Результат void

ParseInternalVariable() защищенный Метод

protected ParseInternalVariable ( string name, Text parser ) : bool
name string
parser Text
Результат bool

PostParse() защищенный Метод

protected PostParse ( ) : void
Результат void

RouteMouseCoordinates() защищенный Метод

protected RouteMouseCoordinates ( float x, float y ) : string
x float
y float
Результат string

RunNamedEvent() публичный Метод

public RunNamedEvent ( string name ) : void
name string
Результат void

SetRange() публичный Метод

public SetRange ( float low, float high, float step ) : void
low float
high float
step float
Результат void

idSliderWindow() публичный Метод

public idSliderWindow ( idDeviceContext context, idUserInterface gui ) : System
context idDeviceContext
gui idUserInterface
Результат System

idSliderWindow() публичный Метод

public idSliderWindow ( idUserInterface gui ) : System
gui idUserInterface
Результат System