C# Class MoodSwingGUI.MSPanel

Inheritance: MSGUITypable
Afficher le fichier Open project: verngutz/MoodSwing Class Usage Examples

Protected Properties

Свойство Type Description
background Microsoft.Xna.Framework.Graphics.Texture2D
components List
highlight Color

Méthodes publiques

Méthode Description
AddComponent ( MSGUIClickable component ) : void
AddComponent ( MSGUIClickable component, Alignment alignment ) : void
AddComponent ( MSGUIUnclickable component ) : void
AddComponent ( MSGUIUnclickable component, Alignment alignment ) : void
AddComponent ( MSPanel panel ) : void
AddComponent ( MSPanel panel, Alignment alignment ) : void
Draw ( GameTime gameTime ) : void
HandleKeyboardInput ( KeyboardState oldKeyboardState ) : void
Hover ( ) : void
LeftClick ( ) : void
MSPanel ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, Color highlight, MSToolTip toolTip, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MSPanel ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, MSToolTip toolTip, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MSPanel ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, float topPadding, float bottomPadding, float leftPadding, float rightPadding, Color highlight, MSToolTip toolTip, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MSPanel ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, float topPadding, float bottomPadding, float leftPadding, float rightPadding, MSToolTip toolTip, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MiddleClick ( ) : void
RemoveComponent ( MSGUIClickable component ) : void
RemoveComponent ( MSGUIUnclickable component ) : void
RemoveComponent ( MSPanel panel ) : void
RightClick ( ) : void
UnHover ( ) : void
UnLeftClick ( ) : void
UnMiddleClick ( ) : void
UnRightClick ( ) : void
Update ( GameTime gameTime ) : void

Method Details

AddComponent() public méthode

public AddComponent ( MSGUIClickable component ) : void
component MSGUIClickable
Résultat void

AddComponent() public méthode

public AddComponent ( MSGUIClickable component, Alignment alignment ) : void
component MSGUIClickable
alignment Alignment
Résultat void

AddComponent() public méthode

public AddComponent ( MSGUIUnclickable component ) : void
component MSGUIUnclickable
Résultat void

AddComponent() public méthode

public AddComponent ( MSGUIUnclickable component, Alignment alignment ) : void
component MSGUIUnclickable
alignment Alignment
Résultat void

AddComponent() public méthode

public AddComponent ( MSPanel panel ) : void
panel MSPanel
Résultat void

AddComponent() public méthode

public AddComponent ( MSPanel panel, Alignment alignment ) : void
panel MSPanel
alignment Alignment
Résultat void

Draw() public méthode

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

HandleKeyboardInput() public méthode

public HandleKeyboardInput ( KeyboardState oldKeyboardState ) : void
oldKeyboardState Microsoft.Xna.Framework.Input.KeyboardState
Résultat void

Hover() public méthode

public Hover ( ) : void
Résultat void

LeftClick() public méthode

public LeftClick ( ) : void
Résultat void

MSPanel() public méthode

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

MSPanel() public méthode

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

MSPanel() public méthode

public MSPanel ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, float topPadding, float bottomPadding, float leftPadding, float rightPadding, Color highlight, MSToolTip toolTip, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
background Microsoft.Xna.Framework.Graphics.Texture2D
boundingRectangle Microsoft.Xna.Framework.Rectangle
topPadding float
bottomPadding float
leftPadding float
rightPadding float
highlight Color
toolTip MSToolTip
shape Shape
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
Résultat System

MSPanel() public méthode

public MSPanel ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, float topPadding, float bottomPadding, float leftPadding, float rightPadding, MSToolTip toolTip, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
background Microsoft.Xna.Framework.Graphics.Texture2D
boundingRectangle Microsoft.Xna.Framework.Rectangle
topPadding float
bottomPadding float
leftPadding float
rightPadding float
toolTip MSToolTip
shape Shape
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
game Microsoft.Xna.Framework.Game
Résultat System

MiddleClick() public méthode

public MiddleClick ( ) : void
Résultat void

RemoveComponent() public méthode

public RemoveComponent ( MSGUIClickable component ) : void
component MSGUIClickable
Résultat void

RemoveComponent() public méthode

public RemoveComponent ( MSGUIUnclickable component ) : void
component MSGUIUnclickable
Résultat void

RemoveComponent() public méthode

public RemoveComponent ( MSPanel panel ) : void
panel MSPanel
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

Update() public méthode

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

Property Details

background protected_oe property

protected Texture2D,Microsoft.Xna.Framework.Graphics background
Résultat Microsoft.Xna.Framework.Graphics.Texture2D

components protected_oe property

protected List components
Résultat List

highlight protected_oe property

protected Color highlight
Résultat Color