Class SpellIconPickerWindow
Daggerfall Unity spell icon picker interface.
Inheritance
SpellIconPickerWindow
Assembly: Assembly-CSharp.dll
Syntax
public class SpellIconPickerWindow : DaggerfallPopupWindow, IUserInterfaceWindow
Constructors
|
Improve this Doc
View Source
SpellIconPickerWindow(IUserInterfaceManager, DaggerfallBaseWindow)
Declaration
public SpellIconPickerWindow(IUserInterfaceManager uiManager, DaggerfallBaseWindow previous = null)
Parameters
Fields
|
Improve this Doc
View Source
mainPanel
Declaration
protected Panel mainPanel
Field Value
|
Improve this Doc
View Source
mainPanelSize
Declaration
protected Vector2 mainPanelSize
Field Value
|
Improve this Doc
View Source
Declaration
protected VerticalScrollBar scroller
Field Value
|
Improve this Doc
View Source
Declaration
protected Vector2 scrollerPosition
Field Value
|
Improve this Doc
View Source
Declaration
protected Vector2 scrollerSize
Field Value
|
Improve this Doc
View Source
Declaration
protected SpellIconPickerWindow.ScrollingPanel scrollingPanel
Field Value
|
Improve this Doc
View Source
Declaration
protected Vector2 scrollingPanelPosition
Field Value
|
Improve this Doc
View Source
Declaration
protected Vector2 scrollingPanelSize
Field Value
|
Improve this Doc
View Source
selectedIcon
Declaration
protected SpellIcon? selectedIcon
Field Value
Properties
|
Improve this Doc
View Source
SelectedIcon
Declaration
public SpellIcon? SelectedIcon { get; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
protected virtual void AddHeaderLabel(Panel parent, ref int xpos, ref int ypos, string text)
Parameters
|
Improve this Doc
View Source
AddIcon(SpellIconCollection, SpellIconCollection.SpellIconPack, String, Int32, Panel, ref Int32, ref Int32, ref Int32, ref Int32)
Declaration
protected virtual void AddIcon(SpellIconCollection iconCollection, SpellIconCollection.SpellIconPack pack, string key, int index, Panel parent, ref int rowCount, ref int startX, ref int xpos, ref int ypos)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void AddIconPacks(SpellIconPickerWindow.ScrollingPanel parent, ref int xpos, ref int ypos)
Parameters
|
Improve this Doc
View Source
CancelWindow()
Declaration
public override void CancelWindow()
Overrides
|
Improve this Doc
View Source
OnPush()
Declaration
public override void OnPush()
Overrides
|
Improve this Doc
View Source
Declaration
public void ResetScrollPosition()
|
Improve this Doc
View Source
Declaration
protected virtual void Scroller_OnScroll()
|
Improve this Doc
View Source
Declaration
protected virtual void ScrollingPanel_OnMouseClick(BaseScreenComponent sender, Vector2 position)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void ScrollingPanel_OnMouseMove(int x, int y)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void ScrollingPanel_OnMouseScrollDown(BaseScreenComponent sender)
Parameters
|
Improve this Doc
View Source
Declaration
protected virtual void ScrollingPanel_OnMouseScrollUp(BaseScreenComponent sender)
Parameters
|
Improve this Doc
View Source
Setup()
Declaration
protected override void Setup()
Overrides
|
Improve this Doc
View Source
UpdateSelectedIcon()
Declaration
protected virtual void UpdateSelectedIcon()
Implements