C# 클래스 Flood.GUI.Controls.WindowControl

Movable window with title bar.
상속: Flood.GUI.Controls.ResizableControl
파일 보기 프로젝트 열기: FloodProject/flood 1 사용 예제들

공개 메소드들

메소드 설명
MakeModal ( bool dim = false ) : void

Makes the window modal: covers the whole canvas and gets all input.

Touch ( ) : void
WindowControl ( Control parent, String caption = "", bool modal = false ) : System

Initializes a new instance of the WindowControl class.

보호된 메소드들

메소드 설명
CloseButtonPressed ( Control control ) : void
Render ( Skins skin ) : void

Renders the control using specified skin.

RenderFocus ( Skins skin ) : void

Renders the focus overlay.

RenderUnder ( Skins skin ) : void

Renders under the actual control (shadows etc).

메소드 상세

CloseButtonPressed() 보호된 메소드

protected CloseButtonPressed ( Control control ) : void
control Control
리턴 void

MakeModal() 공개 메소드

Makes the window modal: covers the whole canvas and gets all input.
public MakeModal ( bool dim = false ) : void
dim bool Determines whether all the background should be dimmed.
리턴 void

Render() 보호된 메소드

Renders the control using specified skin.
protected Render ( Skins skin ) : void
skin Skins Skin to use.
리턴 void

RenderFocus() 보호된 메소드

Renders the focus overlay.
protected RenderFocus ( Skins skin ) : void
skin Skins Skin to use.
리턴 void

RenderUnder() 보호된 메소드

Renders under the actual control (shadows etc).
protected RenderUnder ( Skins skin ) : void
skin Skins Skin to use.
리턴 void

Touch() 공개 메소드

public Touch ( ) : void
리턴 void

WindowControl() 공개 메소드

Initializes a new instance of the WindowControl class.
public WindowControl ( Control parent, String caption = "", bool modal = false ) : System
parent Control Parent control.
caption String Window caption.
modal bool Determines whether the window should be modal.
리턴 System