Table of Contents

Class OpListBox

Namespace
Menu.Remix.MixedUI
Assembly
Assembly-CSharp.dll
public class OpListBox : OpComboBox, ICanBeTyped
Inheritance
OpListBox
Implements
Derived
Inherited Members
Extension Methods

Constructors

public OpListBox(ConfigurableBase config, Vector2 pos, float width, List<ListItem> list, ushort lineCount = 5, bool downward = true)

Parameters

config ConfigurableBase
pos Vector2
width float
list List<ListItem>
lineCount ushort
downward bool
public OpListBox(Configurable<string> config, Vector2 pos, float width, List<ListItem> list, ushort lineCount = 5, bool downward = true)

Parameters

config Configurable<string>
pos Vector2
width float
list List<ListItem>
lineCount ushort
downward bool
public OpListBox(Configurable<string> config, Vector2 pos, float width, string[] array, ushort lineCount = 5, bool downward = true)

Parameters

config Configurable<string>
pos Vector2
width float
array string[]
lineCount ushort
downward bool
public OpListBox(Configurable<string> config, Vector2 pos, float width, ushort lineCount = 5, bool downward = true)

Parameters

config Configurable<string>
pos Vector2
width float
lineCount ushort
downward bool

Properties

public override Rect FocusRect { get; }

Property Value

Rect

Methods

public override string DisplayDescription()

Returns

string
public static ushort GetLineCountFromHeight(float height)

Parameters

height float

Returns

ushort
public override void GrafUpdate(float dt)

Parameters

dt float
public override void NonMouseSetHeld(bool newHeld)

Parameters

newHeld bool
public override void Update()
public override Vector2 _CenterPos()

Returns

Vector2
public override void _MouseModeUpdate()
public override void _NonMouseModeUpdate()