C# Class Flood.GUI.Controls.WindowControl

Movable window with title bar.
Inheritance: Flood.GUI.Controls.ResizableControl
Afficher le fichier Open project: FloodProject/flood Class Usage Examples

Méthodes publiques

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

Méthodes protégées

Méthode Description
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).

Method Details

CloseButtonPressed() protected méthode

protected CloseButtonPressed ( Control control ) : void
control Control
Résultat void

MakeModal() public méthode

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

Render() protected méthode

Renders the control using specified skin.
protected Render ( Skins skin ) : void
skin Skins Skin to use.
Résultat void

RenderFocus() protected méthode

Renders the focus overlay.
protected RenderFocus ( Skins skin ) : void
skin Skins Skin to use.
Résultat void

RenderUnder() protected méthode

Renders under the actual control (shadows etc).
protected RenderUnder ( Skins skin ) : void
skin Skins Skin to use.
Résultat void

Touch() public méthode

public Touch ( ) : void
Résultat void

WindowControl() public méthode

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.
Résultat System