C# Class FlatRedBall.Gui.ToggleButton

Summary description for ToggleButton.
Inheritance: Button
Afficher le fichier Open project: vchelaru/FlatRedBall Class Usage Examples

Méthodes publiques

Свойство Type Description
radioGroup WindowArray

Méthodes publiques

Méthode Description
AddToRadioGroup ( ToggleButton buttonToAdd ) : void
Press ( ) : void

Presses the ToggleButton down and calls the onClick event.

PressNoCall ( ) : void

Presses the ToggleButton down but does not call the onClick event.

SetOneAlwaysDown ( bool OneAlwaysDown ) : void
SetOverlayTextures ( Microsoft.Xna.Framework.Graphics.Texture2D upTexture, Microsoft.Xna.Framework.Graphics.Texture2D downTexture ) : void
SetText ( string unpressedText, string PressedText ) : void
TestCollision ( Cursor cursor ) : void
Toggle ( ) : void
ToggleButton ( Cursor cursor ) : System
Unpress ( ) : void

Private Methods

Méthode Description
RestoreToStateBefore ( Window callingWindow ) : void
UndoRestoreToStateBefore ( Window callingWindow ) : void

Method Details

AddToRadioGroup() public méthode

public AddToRadioGroup ( ToggleButton buttonToAdd ) : void
buttonToAdd ToggleButton
Résultat void

Press() public méthode

Presses the ToggleButton down and calls the onClick event.
public Press ( ) : void
Résultat void

PressNoCall() public méthode

Presses the ToggleButton down but does not call the onClick event.
public PressNoCall ( ) : void
Résultat void

SetOneAlwaysDown() public méthode

public SetOneAlwaysDown ( bool OneAlwaysDown ) : void
OneAlwaysDown bool
Résultat void

SetOverlayTextures() public méthode

public SetOverlayTextures ( Microsoft.Xna.Framework.Graphics.Texture2D upTexture, Microsoft.Xna.Framework.Graphics.Texture2D downTexture ) : void
upTexture Microsoft.Xna.Framework.Graphics.Texture2D
downTexture Microsoft.Xna.Framework.Graphics.Texture2D
Résultat void

SetText() public méthode

public SetText ( string unpressedText, string PressedText ) : void
unpressedText string
PressedText string
Résultat void

TestCollision() public méthode

public TestCollision ( Cursor cursor ) : void
cursor Cursor
Résultat void

Toggle() public méthode

public Toggle ( ) : void
Résultat void

ToggleButton() public méthode

public ToggleButton ( Cursor cursor ) : System
cursor Cursor
Résultat System

Unpress() public méthode

public Unpress ( ) : void
Résultat void

Property Details

radioGroup public_oe property

public WindowArray radioGroup
Résultat WindowArray