|
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 | |
| float | ViewPosition [get, set] |
| bool | CanScroll [get] |
| UIElement | Parent [get, private set] |
| int | UniqueId [get, private set] |
| IEnumerable< UIElement > | Children [get] |
| bool | IsMouseHovering [get, private set] |
Private Member Functions | |
| Rectangle | GetHandleRectangle () |
| void | DrawBar (SpriteBatch spriteBatch, Texture2D texture, Rectangle dimensions, Color color) |
| CalculatedStyle | GetDimensionsBasedOnParentDimensions (CalculatedStyle parentDimensions) |
Private Attributes | |
| float | _viewPosition |
| float | _viewSize = 1f |
| float | _maxViewSize = 20f |
| bool | _isDragging |
| bool | _isHoveringOverHandle |
| float | _dragYOffset |
| Asset< Texture2D > | _texture |
| Asset< Texture2D > | _innerTexture |
| 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 UIScrollbar.cs.