C# Class Gonzo.Elements.UISkinBrowser

A skin browser is used to browse through thumbnails of heads and bodies. This is the base class for UIHeadBrowser and UIBodyBrowser.
Inheritance: UIControl
Afficher le fichier Open project: Afr0Games/Project-Dollhouse

Protected Properties

Свойство Type Description
m_BtnWidth int
m_Collections List
m_Counter int
m_DarkAppearances List
m_DarkFemaleAppearances List
m_Depth float
m_LightAppearances List
m_LightFemaleAppearances List
m_Map ].int[
m_MediumAppearances List
m_MediumFemaleAppearances List
m_SelectedSkintype SkinType
m_Sex AvatarSex
m_SkinBrowserArrowLeft UIButton
m_SkinBtns List
m_Thumb Microsoft.Xna.Framework.Graphics.Texture2D

Méthodes publiques

Méthode Description
Draw ( SpriteBatch SBatch, float LayerDepth ) : void
UISkinBrowser ( UIScreen Screen, UIControl Ctrl, int SkinType, AvatarSex Sex ) : System

Constructs a new instance of UISkinBrowser.

Update ( InputHelper Helper, GameTime GTime ) : void

Méthodes protégées

Méthode Description
IsMouseOverButton ( InputHelper Input, SkinBtnContainer Button, Vector2 BtnPosition ) : bool

Checks if the mouse cursor is over a skin button.

Private Methods

Méthode Description
M_SkinBrowserArrowLeft_OnButtonClicked ( object Sender ) : void
M_SkinBrowserArrowRight_OnButtonClicked ( object Sender ) : void

Method Details

Draw() public méthode

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

IsMouseOverButton() protected méthode

Checks if the mouse cursor is over a skin button.
protected IsMouseOverButton ( InputHelper Input, SkinBtnContainer Button, Vector2 BtnPosition ) : bool
Input InputHelper The InputHelper instance used to get the mouse curor's position.
Button SkinBtnContainer A SkinBtnContainer representing the button to check.
BtnPosition Vector2 Position of the button.
Résultat bool

UISkinBrowser() public méthode

Constructs a new instance of UISkinBrowser.
public UISkinBrowser ( UIScreen Screen, UIControl Ctrl, int SkinType, AvatarSex Sex ) : System
Screen UIScreen A UIScreen instance that this UISkinBrowser belongs to.
Ctrl UIControl A UIControl instance that this UISkinBrowser should be created from.
SkinType int The type of skin initially displayed by this UISkinBrowser. 0 = light, 1 = medium, 2 = dark.
Sex AvatarSex
Résultat System

Update() public méthode

public Update ( InputHelper Helper, GameTime GTime ) : void
Helper InputHelper
GTime Microsoft.Xna.Framework.GameTime
Résultat void

Property Details

m_BtnWidth protected_oe property

protected int m_BtnWidth
Résultat int

m_Collections protected_oe property

protected List m_Collections
Résultat List

m_Counter protected_oe property

protected int m_Counter
Résultat int

m_DarkAppearances protected_oe property

protected List m_DarkAppearances
Résultat List

m_DarkFemaleAppearances protected_oe property

protected List m_DarkFemaleAppearances
Résultat List

m_Depth protected_oe property

protected float m_Depth
Résultat float

m_LightAppearances protected_oe property

protected List m_LightAppearances
Résultat List

m_LightFemaleAppearances protected_oe property

protected List m_LightFemaleAppearances
Résultat List

m_Map protected_oe property

protected int[,] m_Map
Résultat ].int[

m_MediumAppearances protected_oe property

protected List m_MediumAppearances
Résultat List

m_MediumFemaleAppearances protected_oe property

protected List m_MediumFemaleAppearances
Résultat List

m_SelectedSkintype protected_oe property

protected SkinType m_SelectedSkintype
Résultat SkinType

m_Sex protected_oe property

protected AvatarSex m_Sex
Résultat AvatarSex

m_SkinBrowserArrowLeft protected_oe property

protected UIButton,Gonzo.Elements m_SkinBrowserArrowLeft
Résultat UIButton

m_SkinBtns protected_oe property

protected List m_SkinBtns
Résultat List

m_Thumb protected_oe property

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