Class OpListBox
public class OpListBox : OpComboBox, ICanBeTyped
- Inheritance
-
OpListBox
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
OpListBox(ConfigurableBase, Vector2, float, List<ListItem>, ushort, bool)
public OpListBox(ConfigurableBase config, Vector2 pos, float width, List<ListItem> list, ushort lineCount = 5, bool downward = true)
Parameters
OpListBox(Configurable<string>, Vector2, float, List<ListItem>, ushort, bool)
public OpListBox(Configurable<string> config, Vector2 pos, float width, List<ListItem> list, ushort lineCount = 5, bool downward = true)
Parameters
configConfigurable<string>posVector2widthfloatlistList<ListItem>lineCountushortdownwardbool
OpListBox(Configurable<string>, Vector2, float, string[], ushort, bool)
public OpListBox(Configurable<string> config, Vector2 pos, float width, string[] array, ushort lineCount = 5, bool downward = true)
Parameters
OpListBox(Configurable<string>, Vector2, float, ushort, bool)
public OpListBox(Configurable<string> config, Vector2 pos, float width, ushort lineCount = 5, bool downward = true)
Parameters
configConfigurable<string>posVector2widthfloatlineCountushortdownwardbool
Properties
FocusRect
public override Rect FocusRect { get; }
Property Value
- Rect
Methods
DisplayDescription()
public override string DisplayDescription()
Returns
GetLineCountFromHeight(float)
public static ushort GetLineCountFromHeight(float height)
Parameters
heightfloat
Returns
GrafUpdate(float)
public override void GrafUpdate(float dt)
Parameters
dtfloat
NonMouseSetHeld(bool)
public override void NonMouseSetHeld(bool newHeld)
Parameters
newHeldbool
Update()
public override void Update()
_CenterPos()
public override Vector2 _CenterPos()
Returns
- Vector2
_MouseModeUpdate()
public override void _MouseModeUpdate()
_NonMouseModeUpdate()
public override void _NonMouseModeUpdate()