C# Class MoodSwingGUI.MSCheckbox

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

Protected Properties

Property Type Description
current MSButton

Public Methods

Method 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 method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

Hover() public method

public Hover ( ) : void
return void

LeftClick() public method

public LeftClick ( ) : void
return void

MSCheckbox() public method

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
return System

MiddleClick() public method

public MiddleClick ( ) : void
return void

RightClick() public method

public RightClick ( ) : void
return void

UnHover() public method

public UnHover ( ) : void
return void

UnLeftClick() public method

public UnLeftClick ( ) : void
return void

UnMiddleClick() public method

public UnMiddleClick ( ) : void
return void

UnRightClick() public method

public UnRightClick ( ) : void
return void

Property Details

current protected_oe property

protected MSButton,MoodSwingGUI current
return MSButton