|
Terraria v1.4.4.9
Terraria source code documentation
|
Public Attributes | |
| 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 | |
| CalculatedStyle | GetDimensionsBasedOnParentDimensions (CalculatedStyle parentDimensions) |
Private Attributes | |
| Asset< Texture2D > | _texture |
| float | _visibilityActive = 1f |
| float | _visibilityInactive = 0.4f |
| Asset< Texture2D > | _borderTexture |
| bool | _isInitialized |
| CalculatedStyle | _innerDimensions |
| CalculatedStyle | _dimensions |
| CalculatedStyle | _outerDimensions |
| SnapPoint | _snapPoint |
Static Private Attributes | |
| static readonly RasterizerState | OverflowHiddenRasterizerState |
| static int | _idCounter = 0 |
Definition at line 9 of file UIImageButton.cs.