Terraria v1.4.4.9
Terraria source code documentation
|
Public Attributes | |
Color | BorderColor = Color.Black |
Color | BackgroundColor = new Color(63, 82, 151) * 0.7f |
StyleDimension | Top |
StyleDimension | Left |
StyleDimension | Width |
StyleDimension | Height |
StyleDimension | MaxWidth = StyleDimension.Fill |
StyleDimension | MaxHeight = StyleDimension.Fill |
StyleDimension | MinWidth = StyleDimension.Empty |
StyleDimension | MinHeight = StyleDimension.Empty |
bool | IgnoresMouseInteraction |
bool | OverflowHidden |
SamplerState | OverrideSamplerState |
float | PaddingTop |
float | PaddingLeft |
float | PaddingRight |
float | PaddingBottom |
float | MarginTop |
float | MarginLeft |
float | MarginRight |
float | MarginBottom |
float | HAlign |
float | VAlign |
bool | UseImmediateMode |
Protected Member Functions | |
override void | DrawSelf (SpriteBatch spriteBatch) |
virtual void | DrawChildren (SpriteBatch spriteBatch) |
Protected Attributes | |
readonly List< UIElement > | Elements = new List<UIElement>() |
Properties | |
UIElement | Parent [get, private set] |
int | UniqueId [get, private set] |
IEnumerable< UIElement > | Children [get] |
bool | IsMouseHovering [get, private set] |
Private Member Functions | |
void | UpdateIconFrame () |
void | DrawPanelTop (SpriteBatch spriteBatch, Vector2 position, float width, Color color) |
void | DrawPanelBottom (SpriteBatch spriteBatch, Vector2 position, float width, Color color) |
Tuple< decimal, decimal > | GetTrackerValues () |
void | DrawProgressBar (SpriteBatch spriteBatch, float progress, Vector2 spot, float Width=169f, Color BackColor=default(Color), Color FillingColor=default(Color), Color BlipColor=default(Color)) |
void | DrawPanel (SpriteBatch spriteBatch, Texture2D texture, Color color) |
CalculatedStyle | GetDimensionsBasedOnParentDimensions (CalculatedStyle parentDimensions) |
Private Attributes | |
Achievement | _achievement |
UIImageFramed | _achievementIcon |
UIImage | _achievementIconBorders |
int | _iconIndex |
Rectangle | _iconFrame |
Rectangle | _iconFrameUnlocked |
Rectangle | _iconFrameLocked |
Asset< Texture2D > | _innerPanelTopTexture |
Asset< Texture2D > | _innerPanelBottomTexture |
Asset< Texture2D > | _categoryTexture |
bool | _locked |
bool | _large |
int | _cornerSize = 12 |
int | _barSize = 4 |
Asset< Texture2D > | _borderTexture |
Asset< Texture2D > | _backgroundTexture |
bool | _isInitialized |
CalculatedStyle | _innerDimensions |
CalculatedStyle | _dimensions |
CalculatedStyle | _outerDimensions |
SnapPoint | _snapPoint |
Static Private Attributes | |
const int | _iconSize = 64 |
const int | _iconSizeWithSpace = 66 |
const int | _iconsPerRow = 8 |
static readonly RasterizerState | OverflowHiddenRasterizerState |
static int | _idCounter = 0 |
Definition at line 12 of file UIAchievementListItem.cs.