C# Class MoodSwingGUI.MSGUIClickable

MSGUIClickable is a GUI component that is both drawable and clickable
Inheritance: MoodSwingCoreComponents.MS2DClickable, MSGUIObject
Afficher le fichier Open project: verngutz/MoodSwing Class Usage Examples

Protected Properties

Свойство Type Description
toolTip MSToolTip

Méthodes publiques

Méthode Description
Hover ( ) : void

What to do when this MSGUIClickable has been hovered.

LeftClick ( ) : void

What to do when this MSGUIClickable has been left-clicked.

MSGUIClickable ( Rectangle boundingRectangle, Shape shape, MSToolTip toolTip, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MiddleClick ( ) : void

What to do when this MSGUIClickable has been middle-clicked.

RightClick ( ) : void

What to do when this MSGUIClickable has been right-clicked.

UnHover ( ) : void

What to do when this MSGUIClickable has previously been hovered but now isn't.

UnLeftClick ( ) : void

What to do when this MSGUIClickable has previously been left-clicked and is now released.

UnMiddleClick ( ) : void

What to do when this MSGUIClickable has previously been middle-clicked and is now released.

UnRightClick ( ) : void

What to do when this MSGUIClickable has previously been right-clicked and is now released.

Method Details

Hover() public abstract méthode

What to do when this MSGUIClickable has been hovered.
public abstract Hover ( ) : void
Résultat void

LeftClick() public abstract méthode

What to do when this MSGUIClickable has been left-clicked.
public abstract LeftClick ( ) : void
Résultat void

MSGUIClickable() public méthode

public MSGUIClickable ( Rectangle boundingRectangle, Shape shape, MSToolTip toolTip, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
boundingRectangle Microsoft.Xna.Framework.Rectangle
shape Shape
toolTip MSToolTip
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
Résultat System

MiddleClick() public abstract méthode

What to do when this MSGUIClickable has been middle-clicked.
public abstract MiddleClick ( ) : void
Résultat void

RightClick() public abstract méthode

What to do when this MSGUIClickable has been right-clicked.
public abstract RightClick ( ) : void
Résultat void

UnHover() public abstract méthode

What to do when this MSGUIClickable has previously been hovered but now isn't.
public abstract UnHover ( ) : void
Résultat void

UnLeftClick() public abstract méthode

What to do when this MSGUIClickable has previously been left-clicked and is now released.
public abstract UnLeftClick ( ) : void
Résultat void

UnMiddleClick() public abstract méthode

What to do when this MSGUIClickable has previously been middle-clicked and is now released.
public abstract UnMiddleClick ( ) : void
Résultat void

UnRightClick() public abstract méthode

What to do when this MSGUIClickable has previously been right-clicked and is now released.
public abstract UnRightClick ( ) : void
Résultat void

Property Details

toolTip protected_oe property

protected MSToolTip,MoodSwingGUI toolTip
Résultat MSToolTip