C# 클래스 idTech4.UI.idWindow

상속: IDisposable
파일 보기 프로젝트 열기: iainmckay/idtech4.net 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_backColor idWinVector4
_background idTech4.Renderer.idMaterial
_backgroundName idWinBackground
_borderColor idWinVector4
_foreColor idWinVector4
_hideCursor idWinBool
_hoverColor idWinVector4
_materialColor idWinVector4
_noEvents idWinBool
_noTime idWinBool
_rect idWinRectangle
_rotate idWinFloat
_text idWinString
_textScale idWinFloat
_visible idWinBool

공개 메소드들

메소드 설명
Activate ( bool activate, string &act ) : void
AddChild ( idWindow child ) : void
AddCommand ( string command ) : void
AddDefinedVariable ( idWindowVariable var ) : void
AddTransition ( idWindowVariable dest, Vector4 from, Vector4 to, int time, float accelTime, float decelTime ) : void
AddUpdateVariable ( idWindowVariable var ) : void
BringToTop ( idWindow window ) : void
ClientToScreen ( idRectangle &rect ) : void
Contains ( float x, float y ) : bool
Contains ( idRectangle rect, float x, float y ) : bool
Dispose ( ) : void
Draw ( float x, float y ) : void
EvaluateRegisters ( ) : float
EvaluateRegisters ( int test ) : float
EvaluateRegisters ( int test, bool force ) : float
EvaluateRegisters ( float &registers ) : void

Parameters are taken from the localSpace and the renderView, then all expressions are evaluated, leaving the shader registers set to their apropriate values.

FindChildByName ( string name ) : DrawWindow
FixupParameters ( ) : void
GetChild ( int index ) : idWindow

Returns the child window at the given index.

GetChildIndex ( idWindow window ) : int
GetVariableByName ( string name ) : idWindowVariable
GetVariableByName ( string name, bool fixup ) : idWindowVariable
GetVariableByName ( string name, bool fixup, DrawWindow &owner ) : idWindowVariable
HandleBuddyUpdate ( idWindow buddy ) : void
HandleEvent ( SystemEvent e, bool &updateVisuals ) : string
InsertChild ( idWindow window, idWindow before ) : bool

Inserts the given window as a child into the given location in the zorder.

Parse ( idScriptParser parser, bool rebuild ) : bool
ParseExpression ( idScriptParser parser ) : int

Returns a register index.

ParseExpression ( idScriptParser parser, idWindowVariable var ) : int

Returns a register index.

ParseExpression ( idScriptParser parser, idWindowVariable var, int component ) : int

Returns a register index.

ResetTime ( int time ) : void
RunNamedEvent ( string name ) : void
RunScript ( ScriptName name ) : bool
RunScriptList ( idGuiScriptList list ) : bool
ScreenToClient ( idRectangle &rect ) : void
SetFocus ( idWindow window, bool scripts = true ) : idWindow
SetupFromState ( ) : void
StartTransition ( ) : void
StateChanged ( bool redraw ) : void
Trigger ( ) : void
idWindow ( idUserInterface gui ) : System
idWindow ( idUserInterface gui, idDeviceContext context ) : System

보호된 메소드들

메소드 설명
DrawBackground ( idRectangle drawRect ) : void
OnFocusGained ( ) : void
OnFocusLost ( ) : void
ParseInternalVariable ( string name, idScriptParser parser ) : bool
ParseString ( idScriptParser parser ) : string
PostParse ( ) : void
RouteMouseCoordinates ( float x, float y ) : string
RunTimeEvents ( int time ) : bool
SetFont ( ) : void
SetInitialState ( string name ) : void

비공개 메소드들

메소드 설명
CalculateClientRectangle ( float offsetX, float offsetY ) : void
CalculateRectangles ( float x, float y ) : void
CleanUp ( ) : void
DisableRegister ( string name ) : void
Dispose ( bool disposing ) : void
DrawBorderAndCaption ( idRectangle drawRect ) : void
DrawDebug ( int time, float x, float y ) : void
DrawText ( int time, float x, float y ) : void
EmitOperation ( object a, int b, WindowExpressionOperationType opType ) : int
EmitOperation ( object a, int b, WindowExpressionOperationType opType, WindowExpressionOperation &op ) : int
ExpressionConstant ( float f ) : int
HandleCaptureGained ( ) : void
HandleCaptureLost ( ) : void
HandleFocusGained ( ) : void
HandleFocusLost ( ) : void
HandleKeyEvent ( SystemEvent e, Keys key, bool down, bool &updateVisuals ) : string
HandleMouseEnter ( ) : void
HandleMouseEvent ( int deltaX, int deltaY, bool &updateVisuals ) : string
HandleMouseExit ( ) : void
Init ( ) : void
ParseEmitOperation ( idScriptParser parser, int a, WindowExpressionOperationType opType, int priority ) : int
ParseEmitOperation ( idScriptParser parser, int a, WindowExpressionOperationType opType, int priority, WindowExpressionOperation &op ) : int
ParseExpressionPriority ( idScriptParser parser, int priority, idWindowVariable var = null, int component ) : int
ParseRegisterEntry ( string name, idScriptParser parser ) : bool
ParseScript ( idScriptParser parser, idGuiScriptList list, bool elseBlock = false ) : bool
ParseScriptEntry ( idToken token, idScriptParser parser ) : bool
ParseTerm ( idScriptParser parser, idWindowVariable var, int component ) : int

RestoreExpressionParseState ( ) : void
SaveExpressionParseState ( ) : void
SetupBackground ( ) : void
SetupTransforms ( float x, float y ) : void
Time ( ) : void
Transition ( ) : void
UpdateVariables ( ) : void
idWindow ( ) : System

메소드 상세

Activate() 공개 메소드

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

AddChild() 공개 메소드

public AddChild ( idWindow child ) : void
child idWindow
리턴 void

AddCommand() 공개 메소드

public AddCommand ( string command ) : void
command string
리턴 void

AddDefinedVariable() 공개 메소드

public AddDefinedVariable ( idWindowVariable var ) : void
var idWindowVariable
리턴 void

AddTransition() 공개 메소드

public AddTransition ( idWindowVariable dest, Vector4 from, Vector4 to, int time, float accelTime, float decelTime ) : void
dest idWindowVariable
from Vector4
to Vector4
time int
accelTime float
decelTime float
리턴 void

AddUpdateVariable() 공개 메소드

public AddUpdateVariable ( idWindowVariable var ) : void
var idWindowVariable
리턴 void

BringToTop() 공개 메소드

public BringToTop ( idWindow window ) : void
window idWindow
리턴 void

ClientToScreen() 공개 메소드

public ClientToScreen ( idRectangle &rect ) : void
rect idRectangle
리턴 void

Contains() 공개 메소드

public Contains ( float x, float y ) : bool
x float
y float
리턴 bool

Contains() 공개 메소드

public Contains ( idRectangle rect, float x, float y ) : bool
rect idRectangle
x float
y float
리턴 bool

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( float x, float y ) : void
x float
y float
리턴 void

DrawBackground() 보호된 메소드

protected DrawBackground ( idRectangle drawRect ) : void
drawRect idRectangle
리턴 void

EvaluateRegisters() 공개 메소드

public EvaluateRegisters ( ) : float
리턴 float

EvaluateRegisters() 공개 메소드

public EvaluateRegisters ( int test ) : float
test int
리턴 float

EvaluateRegisters() 공개 메소드

public EvaluateRegisters ( int test, bool force ) : float
test int
force bool
리턴 float

EvaluateRegisters() 공개 메소드

Parameters are taken from the localSpace and the renderView, then all expressions are evaluated, leaving the shader registers set to their apropriate values.
public EvaluateRegisters ( float &registers ) : void
registers float
리턴 void

FindChildByName() 공개 메소드

public FindChildByName ( string name ) : DrawWindow
name string
리턴 DrawWindow

FixupParameters() 공개 메소드

public FixupParameters ( ) : void
리턴 void

GetChild() 공개 메소드

Returns the child window at the given index.
public GetChild ( int index ) : idWindow
index int
리턴 idWindow

GetChildIndex() 공개 메소드

public GetChildIndex ( idWindow window ) : int
window idWindow
리턴 int

GetVariableByName() 공개 메소드

public GetVariableByName ( string name ) : idWindowVariable
name string
리턴 idWindowVariable

GetVariableByName() 공개 메소드

public GetVariableByName ( string name, bool fixup ) : idWindowVariable
name string
fixup bool
리턴 idWindowVariable

GetVariableByName() 공개 메소드

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

HandleBuddyUpdate() 공개 메소드

public HandleBuddyUpdate ( idWindow buddy ) : void
buddy idWindow
리턴 void

HandleEvent() 공개 메소드

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

InsertChild() 공개 메소드

Inserts the given window as a child into the given location in the zorder.
public InsertChild ( idWindow window, idWindow before ) : bool
window idWindow
before idWindow
리턴 bool

OnFocusGained() 보호된 메소드

protected OnFocusGained ( ) : void
리턴 void

OnFocusLost() 보호된 메소드

protected OnFocusLost ( ) : void
리턴 void

Parse() 공개 메소드

public Parse ( idScriptParser parser, bool rebuild ) : bool
parser idTech4.Text.idScriptParser
rebuild bool
리턴 bool

ParseExpression() 공개 메소드

Returns a register index.
public ParseExpression ( idScriptParser parser ) : int
parser idTech4.Text.idScriptParser
리턴 int

ParseExpression() 공개 메소드

Returns a register index.
public ParseExpression ( idScriptParser parser, idWindowVariable var ) : int
parser idTech4.Text.idScriptParser
var idWindowVariable
리턴 int

ParseExpression() 공개 메소드

Returns a register index.
public ParseExpression ( idScriptParser parser, idWindowVariable var, int component ) : int
parser idTech4.Text.idScriptParser
var idWindowVariable
component int
리턴 int

ParseInternalVariable() 보호된 메소드

protected ParseInternalVariable ( string name, idScriptParser parser ) : bool
name string
parser idTech4.Text.idScriptParser
리턴 bool

ParseString() 보호된 메소드

protected ParseString ( idScriptParser parser ) : string
parser idTech4.Text.idScriptParser
리턴 string

PostParse() 보호된 메소드

protected PostParse ( ) : void
리턴 void

ResetTime() 공개 메소드

public ResetTime ( int time ) : void
time int
리턴 void

RouteMouseCoordinates() 보호된 메소드

protected RouteMouseCoordinates ( float x, float y ) : string
x float
y float
리턴 string

RunNamedEvent() 공개 메소드

public RunNamedEvent ( string name ) : void
name string
리턴 void

RunScript() 공개 메소드

public RunScript ( ScriptName name ) : bool
name ScriptName
리턴 bool

RunScriptList() 공개 메소드

public RunScriptList ( idGuiScriptList list ) : bool
list idGuiScriptList
리턴 bool

RunTimeEvents() 보호된 메소드

protected RunTimeEvents ( int time ) : bool
time int
리턴 bool

ScreenToClient() 공개 메소드

public ScreenToClient ( idRectangle &rect ) : void
rect idRectangle
리턴 void

SetFocus() 공개 메소드

public SetFocus ( idWindow window, bool scripts = true ) : idWindow
window idWindow
scripts bool
리턴 idWindow

SetFont() 보호된 메소드

protected SetFont ( ) : void
리턴 void

SetInitialState() 보호된 메소드

protected SetInitialState ( string name ) : void
name string
리턴 void

SetupFromState() 공개 메소드

public SetupFromState ( ) : void
리턴 void

StartTransition() 공개 메소드

public StartTransition ( ) : void
리턴 void

StateChanged() 공개 메소드

public StateChanged ( bool redraw ) : void
redraw bool
리턴 void

Trigger() 공개 메소드

public Trigger ( ) : void
리턴 void

idWindow() 공개 메소드

public idWindow ( idUserInterface gui ) : System
gui idUserInterface
리턴 System

idWindow() 공개 메소드

public idWindow ( idUserInterface gui, idDeviceContext context ) : System
gui idUserInterface
context idDeviceContext
리턴 System

프로퍼티 상세

_backColor 보호되어 있는 프로퍼티

protected idWinVector4,idTech4.UI _backColor
리턴 idWinVector4

_background 보호되어 있는 프로퍼티

protected idMaterial,idTech4.Renderer _background
리턴 idTech4.Renderer.idMaterial

_backgroundName 보호되어 있는 프로퍼티

protected idWinBackground,idTech4.UI _backgroundName
리턴 idWinBackground

_borderColor 보호되어 있는 프로퍼티

protected idWinVector4,idTech4.UI _borderColor
리턴 idWinVector4

_foreColor 보호되어 있는 프로퍼티

protected idWinVector4,idTech4.UI _foreColor
리턴 idWinVector4

_hideCursor 보호되어 있는 프로퍼티

protected idWinBool,idTech4.UI _hideCursor
리턴 idWinBool

_hoverColor 보호되어 있는 프로퍼티

protected idWinVector4,idTech4.UI _hoverColor
리턴 idWinVector4

_materialColor 보호되어 있는 프로퍼티

protected idWinVector4,idTech4.UI _materialColor
리턴 idWinVector4

_noEvents 보호되어 있는 프로퍼티

protected idWinBool,idTech4.UI _noEvents
리턴 idWinBool

_noTime 보호되어 있는 프로퍼티

protected idWinBool,idTech4.UI _noTime
리턴 idWinBool

_rect 보호되어 있는 프로퍼티

protected idWinRectangle,idTech4.UI _rect
리턴 idWinRectangle

_rotate 보호되어 있는 프로퍼티

protected idWinFloat,idTech4.UI _rotate
리턴 idWinFloat

_text 보호되어 있는 프로퍼티

protected idWinString,idTech4.UI _text
리턴 idWinString

_textScale 보호되어 있는 프로퍼티

protected idWinFloat,idTech4.UI _textScale
리턴 idWinFloat

_visible 보호되어 있는 프로퍼티

protected idWinBool _visible
리턴 idWinBool