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 | DrawPanel (SpriteBatch spriteBatch, Texture2D texture, Color color) |
CalculatedStyle | GetDimensionsBasedOnParentDimensions (CalculatedStyle parentDimensions) |
Private Attributes | |
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 | |
static readonly RasterizerState | OverflowHiddenRasterizerState |
static int | _idCounter = 0 |
Definition at line 8 of file UIPanel.cs.