C# Class MoodSwingGUI.MSFacadePanel

Inheritance: MSPanel
ファイルを表示 Open project: verngutz/MoodSwing

Protected Properties

Property Type Description
currentHovered MSGUIClickable
currentKeyboardFocused MSGUITypable
oldMouseState Microsoft.Xna.Framework.Input.MouseState

Public Methods

Method Description
Draw ( GameTime gameTime ) : void
HandleKeyboardInput ( KeyboardState oldKeyboardState ) : void
HandleMouseInput ( ) : bool
HandleMouseInput ( bool careIfMouseHasMoved ) : bool
MSFacadePanel ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, Color highlight, MSToolTip toolTip, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MSFacadePanel ( Microsoft.Xna.Framework.Graphics.Texture2D background, Rectangle boundingRectangle, MSToolTip toolTip, Shape shape, SpriteBatch spriteBatch, Microsoft.Xna.Framework.Game game ) : System
MSFacadePanel ( 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
MSFacadePanel ( 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
ResetHovers ( ) : void
Update ( GameTime gameTime ) : void

Method Details

Draw() public method

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

HandleKeyboardInput() public method

public HandleKeyboardInput ( KeyboardState oldKeyboardState ) : void
oldKeyboardState Microsoft.Xna.Framework.Input.KeyboardState
return void

HandleMouseInput() public method

public HandleMouseInput ( ) : bool
return bool

HandleMouseInput() public method

public HandleMouseInput ( bool careIfMouseHasMoved ) : bool
careIfMouseHasMoved bool
return bool

MSFacadePanel() public method

public MSFacadePanel ( 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
return System

MSFacadePanel() public method

public MSFacadePanel ( 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
return System

MSFacadePanel() public method

public MSFacadePanel ( 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
return System

MSFacadePanel() public method

public MSFacadePanel ( 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
return System

ResetHovers() public method

public ResetHovers ( ) : void
return void

Update() public method

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

Property Details

currentHovered protected_oe property

protected MSGUIClickable,MoodSwingGUI currentHovered
return MSGUIClickable

currentKeyboardFocused protected_oe property

protected MSGUITypable,MoodSwingGUI currentKeyboardFocused
return MSGUITypable

oldMouseState protected_oe property

protected MouseState,Microsoft.Xna.Framework.Input oldMouseState
return Microsoft.Xna.Framework.Input.MouseState