Table of Contents

Class ScreenLayer

Namespace
TaleWorlds.ScreenSystem
Assembly
TaleWorlds.ScreenSystem.dll
public abstract class ScreenLayer : IComparable
Inheritance
ScreenLayer
Implements
Derived
Inherited Members

Constructors

ScreenLayer(int, string)

protected ScreenLayer(int localOrder, string categoryId)

Parameters

localOrder int
categoryId string

Fields

_categoryId

public readonly string _categoryId

Field Value

string

Properties

ActiveCursor

public CursorType ActiveCursor { get; set; }

Property Value

CursorType

Finalized

public bool Finalized { get; }

Property Value

bool

GamepadEnabled

public bool GamepadEnabled { get; protected set; }

Property Value

bool

Input

public InputContext Input { get; }

Property Value

InputContext

InputRestrictions

public InputRestrictions InputRestrictions { get; }

Property Value

InputRestrictions

InputUsageMask

public InputUsageMask InputUsageMask { get; }

Property Value

InputUsageMask

IsActive

public bool IsActive { get; }

Property Value

bool

IsFocusLayer

public bool IsFocusLayer { get; set; }

Property Value

bool

IsHitThisFrame

public bool IsHitThisFrame { get; }

Property Value

bool

KeyboardEnabled

public bool KeyboardEnabled { get; protected set; }

Property Value

bool

LastActiveState

public bool LastActiveState { get; set; }

Property Value

bool

MouseEnabled

public bool MouseEnabled { get; protected set; }

Property Value

bool

Name

public string Name { get; set; }

Property Value

string

Scale

public float Scale { get; }

Property Value

float

ScreenOrderInLastFrame

public int ScreenOrderInLastFrame { get; }

Property Value

int

UsableArea

public Vec2 UsableArea { get; }

Property Value

Vec2

_isMousePressedByThisLayer

protected bool? _isMousePressedByThisLayer { get; set; }

Property Value

bool?

_usedInputs

protected InputType _usedInputs { get; set; }

Property Value

InputType

Methods

CompareTo(object)

public int CompareTo(object obj)

Parameters

obj object

Returns

int

DrawDebugInfo()

public virtual void DrawDebugInfo()

EarlyProcessEvents(InputType, bool?)

public virtual void EarlyProcessEvents(InputType handledInputs, bool? isMousePressed)

Parameters

handledInputs InputType
isMousePressed bool?

FocusTest()

public virtual bool FocusTest()

Returns

bool

HitTest()

public virtual bool HitTest()

Returns

bool

HitTest(Vector2)

public virtual bool HitTest(Vector2 position)

Parameters

position Vector2

Returns

bool

IsFocusedOnInput()

public virtual bool IsFocusedOnInput()

Returns

bool

LateProcessEvents()

public virtual void LateProcessEvents()

LateTick(float)

protected virtual void LateTick(float dt)

Parameters

dt float

OnActivate()

protected virtual void OnActivate()

OnDeactivate()

protected virtual void OnDeactivate()

OnFinalize()

protected virtual void OnFinalize()

OnLateUpdate(float)

protected virtual void OnLateUpdate(float dt)

Parameters

dt float

OnLoseFocus()

protected virtual void OnLoseFocus()

OnOnScreenKeyboardCanceled()

public virtual void OnOnScreenKeyboardCanceled()

OnOnScreenKeyboardDone(string)

public virtual void OnOnScreenKeyboardDone(string inputText)

Parameters

inputText string

ProcessEvents()

public virtual void ProcessEvents()

RefreshGlobalOrder(ref int)

protected virtual void RefreshGlobalOrder(ref int currentOrder)

Parameters

currentOrder int

Tick(float)

protected virtual void Tick(float dt)

Parameters

dt float

Update(IReadOnlyList<int>)

protected virtual void Update(IReadOnlyList<int> lastKeysPressed)

Parameters

lastKeysPressed IReadOnlyList<int>

UpdateLayout()

public virtual void UpdateLayout()

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).