C# Class Gonzo.Elements.UIControl

A control is most often used to represent images, but can represent anything.
Inheritance: UIElement
Mostrar archivo Open project: Afr0Games/Project-Dollhouse Class Usage Examples

Protected Properties

Property Type Description
m_LeftArrowImage string
m_ThumbButtonImage string
m_ThumbImageOffsets Microsoft.Xna.Framework.Vector2
m_ThumbImageSize Microsoft.Xna.Framework.Vector2
m_ThumbMargins Microsoft.Xna.Framework.Vector2
m_ThumbSize Microsoft.Xna.Framework.Vector2

Public Methods

Method Description
Draw ( SpriteBatch SBatch, float LayerDepth ) : void
UIControl ( SetControlPropsNode Node, UIScreen Screen, UIParser State ) : Microsoft.Xna.Framework
UIControl ( UIControl Ctrl, UIScreen Screen ) : Microsoft.Xna.Framework

Copy constructor for the UIControl class. This constructor will deep copy another UIControl instance.

Method Details

Draw() public method

public Draw ( SpriteBatch SBatch, float LayerDepth ) : void
SBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
LayerDepth float
return void

UIControl() public method

public UIControl ( SetControlPropsNode Node, UIScreen Screen, UIParser State ) : Microsoft.Xna.Framework
Node UIParser.Nodes.SetControlPropsNode
Screen UIScreen
State UIParser
return Microsoft.Xna.Framework

UIControl() public method

Copy constructor for the UIControl class. This constructor will deep copy another UIControl instance.
public UIControl ( UIControl Ctrl, UIScreen Screen ) : Microsoft.Xna.Framework
Ctrl UIControl A UIControl instance to copy.
Screen UIScreen A UIScreen instance that this UIControl belongs to.
return Microsoft.Xna.Framework

Property Details

m_LeftArrowImage protected_oe property

protected string m_LeftArrowImage
return string

m_ThumbButtonImage protected_oe property

The thumbnail button image for an image-browsing control.
protected string m_ThumbButtonImage
return string

m_ThumbImageOffsets protected_oe property

Offsets for images inside thumbnails in an image-browsing control.
protected Vector2,Microsoft.Xna.Framework m_ThumbImageOffsets
return Microsoft.Xna.Framework.Vector2

m_ThumbImageSize protected_oe property

The size of an image inside a thumbnail in an image-browsing control.
protected Vector2,Microsoft.Xna.Framework m_ThumbImageSize
return Microsoft.Xna.Framework.Vector2

m_ThumbMargins protected_oe property

The thumbnail margins for an image-browsing control.
protected Vector2,Microsoft.Xna.Framework m_ThumbMargins
return Microsoft.Xna.Framework.Vector2

m_ThumbSize protected_oe property

The size of a thumbnail for an image-browsing control.
protected Vector2,Microsoft.Xna.Framework m_ThumbSize
return Microsoft.Xna.Framework.Vector2