|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Attributes | |
| readonly ResourcePack | ResourcePack |
| 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 | |
| int | Order [get, set] |
| UIElement | ContentPanel [get, private set] |
| UIElement | Parent [get, private set] |
| int | UniqueId [get, private set] |
| IEnumerable< UIElement > | Children [get] |
| bool | IsMouseHovering [get, private set] |
Private Member Functions | |
| void | BuildChildren () |
| void | DrawIcon (SpriteBatch spriteBatch) |
| void | DrawPanel (SpriteBatch spriteBatch, Texture2D texture, Color color) |
| CalculatedStyle | GetDimensionsBasedOnParentDimensions (CalculatedStyle parentDimensions) |
Private Attributes | |
| readonly Asset< Texture2D > | _iconBorderTexture |
| 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 | PANEL_PADDING = 5 |
| const int | ICON_SIZE = 64 |
| const int | ICON_BORDER_PADDING = 4 |
| const int | HEIGHT_FLUFF = 10 |
| const float | HEIGHT = 102f |
| const float | MIN_WIDTH = 102f |
| static readonly Color | DefaultBackgroundColor = new Color(26, 40, 89) * 0.8f |
| static readonly Color | DefaultBorderColor = new Color(13, 20, 44) * 0.8f |
| static readonly Color | HoverBackgroundColor = new Color(46, 60, 119) |
| static readonly Color | HoverBorderColor = new Color(20, 30, 56) |
| static readonly RasterizerState | OverflowHiddenRasterizerState |
| static int | _idCounter = 0 |
Definition at line 10 of file UIResourcePack.cs.