Class SpellIconPickerWindow.ScrollingPanel
Allow for vertically scrolling panel layouts. Only used by spell icon picker at this time with a design specific for that UI. Might split out later with upgrades to use as a generic control.
Inherited Members
Namespace: DaggerfallWorkshop.Game.UserInterfaceWindows
Assembly: Assembly-CSharp.dll
Syntax
public class ScrollingPanel : Panel, IDisposable
Properties
| Improve this Doc View SourceScrollIndex
Declaration
public int ScrollIndex { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ScrollSteps
Gets or
Declaration
public int ScrollSteps { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ScrollTransform
Gets or sets the number of pixels scrolled per step. Without good clipping/scissoring support for panel-in-panel, DagUI cannot smoothly scroll ad-hoc items in a panel. This property aligns all scrolling to a fixed partition so that items are either wholly inside or outside of display area. Works best with lots of smaller items such as scrolling icons.
Declaration
public int ScrollTransform { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
| Improve this Doc View SourceDraw()
Custom override to draw clipped scrolling items.
Declaration
public override void Draw()