Show / Hide Table of Contents

Class Panel

A screen component that contains other screen components.

Inheritance
Object
BaseScreenComponent
Panel
Button
Checkbox
EnchantmentListPicker
EnchantmentListPicker.EnchantmentPanel
EscortingNPCFacePanel
FacePicker
FLCPlayer
FolderBrowser
HUDActiveSpells
HUDBreathBar
HUDLarge
HUDPlaceMarker
HUDQuestDebugger
HUDVitals
ItemListScroller
LeftRightSpinner
MultiTextBox
Paginator
PaperDoll
PauseOptionsDropdown
PopupText
ReflexPicker
SkillsRollout
StatsRollout
TextBox
UpDownSpinner
SpellIconPickerWindow.ScrollingPanel
Inherited Members
BaseScreenComponent.rectRestrictedRenderArea
BaseScreenComponent.restrictedRenderAreaCustomParent
BaseScreenComponent.restrictedRenderAreaCoordinateType
BaseScreenComponent.backgroundTexture
BaseScreenComponent.animatedBackgroundTextures
BaseScreenComponent.backgroundTextureLayout
BaseScreenComponent.OnKeyboardEvent
BaseScreenComponent.OnMouseEnter
BaseScreenComponent.OnMouseLeave
BaseScreenComponent.OnMouseMove
BaseScreenComponent.OnMouseDown
BaseScreenComponent.OnMouseUp
BaseScreenComponent.OnMouseClick
BaseScreenComponent.OnMouseDoubleClick
BaseScreenComponent.OnRightMouseDown
BaseScreenComponent.OnRightMouseUp
BaseScreenComponent.OnRightMouseClick
BaseScreenComponent.OnRightMouseDoubleClick
BaseScreenComponent.OnMiddleMouseDown
BaseScreenComponent.OnMiddleMouseUp
BaseScreenComponent.OnMiddleMouseClick
BaseScreenComponent.OnMiddleMouseDoubleClick
BaseScreenComponent.OnMouseScrollUp
BaseScreenComponent.OnMouseScrollDown
BaseScreenComponent.Enabled
BaseScreenComponent.UseFocus
BaseScreenComponent.OverridesHotkeySequences
BaseScreenComponent.Name
BaseScreenComponent.Tag
BaseScreenComponent.Position
BaseScreenComponent.Size
BaseScreenComponent.RootSize
BaseScreenComponent.Parent
BaseScreenComponent.Rectangle
BaseScreenComponent.HorizontalAlignment
BaseScreenComponent.VerticalAlignment
BaseScreenComponent.RestrictedRenderAreaCoordinateType
BaseScreenComponent.RectRestrictedRenderArea
BaseScreenComponent.RestrictedRenderAreaCustomParent
BaseScreenComponent.UseRestrictedRenderArea
BaseScreenComponent.CustomMousePosition
BaseScreenComponent.MousePosition
BaseScreenComponent.LastMousePosition
BaseScreenComponent.ScaledMousePosition
BaseScreenComponent.BackgroundColor
BaseScreenComponent.MouseOverBackgroundColor
BaseScreenComponent.BackgroundColorTexture
BaseScreenComponent.BackgroundTexture
BaseScreenComponent.BackgroundCroppedRect
BaseScreenComponent.AnimatedBackgroundTextures
BaseScreenComponent.AnimationDelayInSeconds
BaseScreenComponent.BackgroundTextureLayout
BaseScreenComponent.InteriorWidth
BaseScreenComponent.InteriorHeight
BaseScreenComponent.Scale
BaseScreenComponent.AutoSize
BaseScreenComponent.LocalScale
BaseScreenComponent.ToolTip
BaseScreenComponent.ToolTipText
BaseScreenComponent.SuppressToolTip
BaseScreenComponent.MinAutoScale
BaseScreenComponent.MaxAutoScale
BaseScreenComponent.MouseOverComponent
BaseScreenComponent.TopMargin
BaseScreenComponent.BottomMargin
BaseScreenComponent.LeftMargin
BaseScreenComponent.RightMargin
BaseScreenComponent.ScreenToLocal(Vector2)
BaseScreenComponent.ScreenToLocal(Rect)
BaseScreenComponent.TriggerMouseClick()
BaseScreenComponent.KeyboardEvent(Event)
BaseScreenComponent.MouseClick(Vector2)
BaseScreenComponent.RightMouseClick(Vector2)
BaseScreenComponent.MiddleMouseClick(Vector2)
BaseScreenComponent.MouseDoubleClick(Vector2)
BaseScreenComponent.RightMouseDoubleClick(Vector2)
BaseScreenComponent.MiddleMouseDoubleClick(Vector2)
BaseScreenComponent.MouseEnter()
BaseScreenComponent.MouseLeave(BaseScreenComponent)
BaseScreenComponent.MouseMove(Int32, Int32)
BaseScreenComponent.MouseScrollUp()
BaseScreenComponent.MouseScrollDown()
BaseScreenComponent.Dispose()
BaseScreenComponent.SetMargins(Margins, Int32)
BaseScreenComponent.OffsetFrom(BaseScreenComponent, Sides, Int32)
BaseScreenComponent.SetFocus()
BaseScreenComponent.HasFocus()
Namespace: DaggerfallWorkshop.Game.UserInterface
Assembly: Assembly-CSharp.dll
Syntax
public class Panel : BaseScreenComponent, IDisposable

Constructors

| Improve this Doc View Source

Panel()

Declaration
public Panel()

Properties

| Improve this Doc View Source

Components

Declaration
public ScreenComponentCollection Components { get; }
Property Value
Type Description
ScreenComponentCollection
| Improve this Doc View Source

EnableBorder

Gets or sets flag to enable/disable border. Must use SetBorderTextures() before enabling border.

Declaration
public bool EnableBorder { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

HasFocusOutlineColor

Automatically change outline color when gaining focus. Only works when UseFocus true.

Declaration
public Color HasFocusOutlineColor { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

LostFocusOutlineColor

Automatically change outline color when losing focus. Only works when UseFocus true.

Declaration
public Color LostFocusOutlineColor { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

Outline

Declaration
public Outline Outline { get; }
Property Value
Type Description
Outline

Methods

| Improve this Doc View Source

Draw()

Declaration
public override void Draw()
Overrides
BaseScreenComponent.Draw()
| Improve this Doc View Source

GotFocus()

Declaration
public override void GotFocus()
Overrides
BaseScreenComponent.GotFocus()
| Improve this Doc View Source

LostFocus()

Declaration
public override void LostFocus()
Overrides
BaseScreenComponent.LostFocus()
| Improve this Doc View Source

ProcessHotkeySequences(HotkeySequence.KeyModifiers)

Declaration
public HotkeySequence.HotkeySequenceProcessStatus ProcessHotkeySequences(HotkeySequence.KeyModifiers keyModifiers)
Parameters
Type Name Description
HotkeySequence.KeyModifiers keyModifiers
Returns
Type Description
HotkeySequence.HotkeySequenceProcessStatus
| Improve this Doc View Source

SetBorderTextures(Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, FilterMode, Nullable<Border<Vector2Int>>)

Sets border textures and enables border.

Declaration
public void SetBorderTextures(Texture2D topLeft, Texture2D top, Texture2D topRight, Texture2D left, Texture2D fill, Texture2D right, Texture2D bottomLeft, Texture2D bottom, Texture2D bottomRight, FilterMode filterMode, Border<Vector2Int>? virtualSizes = null)
Parameters
Type Name Description
Texture2D topLeft
Texture2D top
Texture2D topRight
Texture2D left
Texture2D fill
Texture2D right
Texture2D bottomLeft
Texture2D bottom
Texture2D bottomRight
FilterMode filterMode
Nullable<Border<Vector2Int>> virtualSizes
| Improve this Doc View Source

Update()

Declaration
public override void Update()
Overrides
BaseScreenComponent.Update()
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX