C# Class MoodSwingGUI.MSCheckbox

MSCheckbox represents a checkbox that has two discrete states, ticked and unticked.
Inheritance: MSGUIClickable
Afficher le fichier Open project: verngutz/MoodSwing

Protected Properties

Свойство Type Description
current MSButton

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void
Hover ( ) : void
LeftClick ( ) : void
MSCheckbox ( MSButton unticked, MSButton ticked, bool isTicked ) : System

Creates an MSCheckbox using two MSButtons

MiddleClick ( ) : void
RightClick ( ) : void
UnHover ( ) : void
UnLeftClick ( ) : void
UnMiddleClick ( ) : void
UnRightClick ( ) : void

Method Details

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

Hover() public méthode

public Hover ( ) : void
Résultat void

LeftClick() public méthode

public LeftClick ( ) : void
Résultat void

MSCheckbox() public méthode

Creates an MSCheckbox using two MSButtons
public MSCheckbox ( MSButton unticked, MSButton ticked, bool isTicked ) : System
unticked MSButton an MSButton representing the unticked state of this MSCheckbox and which will become invisible once this MSCheckbox is ticked
ticked MSButton an MSButton representing the ticked state of this MSCheckbox and which will become invisible once this MSCheckbox is unticked
isTicked bool true if this MSCheckbox is initially ticked, false otherwise
Résultat System

MiddleClick() public méthode

public MiddleClick ( ) : void
Résultat void

RightClick() public méthode

public RightClick ( ) : void
Résultat void

UnHover() public méthode

public UnHover ( ) : void
Résultat void

UnLeftClick() public méthode

public UnLeftClick ( ) : void
Résultat void

UnMiddleClick() public méthode

public UnMiddleClick ( ) : void
Résultat void

UnRightClick() public méthode

public UnRightClick ( ) : void
Résultat void

Property Details

current protected_oe property

protected MSButton,MoodSwingGUI current
Résultat MSButton