Table of Contents

Class OpScrollBox

Namespace
Menu.Remix.MixedUI
Assembly
Assembly-CSharp.dll
public class OpScrollBox : UIfocusable, IEquatable<OpScrollBox>, IHoldUIelements
Inheritance
OpScrollBox
Implements
Inherited Members

Constructors

public OpScrollBox(OpTab tab, float contentSize, bool horizontal = false, bool hasSlideBar = true)

Parameters

tab OpTab
contentSize float
horizontal bool
hasSlideBar bool
public OpScrollBox(Vector2 pos, Vector2 size, float contentSize, bool horizontal = false, bool hasBack = true, bool hasSlideBar = true)

Parameters

pos Vector2
size Vector2
contentSize float
horizontal bool
hasBack bool
hasSlideBar bool

Fields

public static readonly Type[] ChildBlacklist

Field Value

Type[]
public const float MAXCONTENTSIZE = 10000

Field Value

float
public readonly BumpBehaviour _bumpSlidebar

Field Value

BumpBehaviour
public readonly Camera _cam

Field Value

Camera
public readonly int _camIndex

Field Value

int
public readonly Vector2 _camPos

Field Value

Vector2
public static readonly List<Camera> _cameras

Field Value

List<Camera>
public readonly Vector2 _childOffset

Field Value

Vector2
public bool _contentsDirty

Field Value

bool
public float _dirtyUntil

Field Value

float
public float _dragOffset

Field Value

float
public bool _draggingSlider

Field Value

bool
public bool _firstUpdate

Field Value

bool
public bool _hasScrolled

Field Value

bool
public FTexture _insideTexture

Field Value

FTexture
public readonly bool _isTab

Field Value

bool
public FLabel _labelNotify

Field Value

FLabel
public UIfocusable _lastFocusedElement

Field Value

UIfocusable
public bool _lastMouseDown

Field Value

bool
public bool _lastMouseOver

Field Value

bool
public float _lastScrollOffset

Field Value

float
public float _notifySin

Field Value

float
public readonly DyeableRect _rectBack

Field Value

DyeableRect
public readonly DyeableRect _rectSlidebar

Field Value

DyeableRect
public RenderTexture _rt

Field Value

RenderTexture
public bool _scrollMouseOver

Field Value

bool
public int _scrollSoundTick

Field Value

int
public float _scrollVel

Field Value

float
public Color colorEdge

Field Value

Color
public Color colorFill

Field Value

Color
public bool doesBackBump

Field Value

bool
public float fillAlpha

Field Value

float
public readonly bool horizontal

Field Value

bool
public OpScrollBox.RedrawEvents redrawFlags

Field Value

OpScrollBox.RedrawEvents
public float targetScrollOffset

Field Value

float

Properties

public Vector2 CanvasSize { get; }

Property Value

Vector2
public override bool CurrentlyFocusableMouse { get; }

Property Value

bool
public override bool CurrentlyFocusableNonMouse { get; }

Property Value

bool
public override Rect FocusRect { get; }

Property Value

Rect
public bool IsTab { get; }

Property Value

bool
public float MaxScroll { get; }

Property Value

float
public override bool MouseOver { get; }

Property Value

bool
public bool ScrollLocked { get; set; }

Property Value

bool
public float ScrollOffset { get; set; }

Property Value

float
public float _ScrollSize { get; }

Property Value

float
public Vector2 _SliderPos { get; }

Property Value

Vector2
public Vector2 _SliderSize { get; }

Property Value

Vector2
public float contentSize { get; set; }

Property Value

float
public HashSet<UIelement> items { get; set; }

Property Value

HashSet<UIelement>
public float scrollOffset { get; set; }

Property Value

float

Methods

public UIelementWrapper AddItemToWrapped(UIelement item)

Parameters

item UIelement

Returns

UIelementWrapper
public void AddItems(params UIelement[] items)

Parameters

items UIelement[]
public override void Change()
public override void Deactivate()
public override string DisplayDescription()

Returns

string
public bool Equals(OpScrollBox other)

Parameters

other OpScrollBox

Returns

bool
public override bool Equals(object obj)

Parameters

obj object

Returns

bool
public override int GetHashCode()

Returns

int
public override void GrafUpdate(float timeStacker)

Parameters

timeStacker float
public static bool IsChildVisible(UIelement child)

Parameters

child UIelement

Returns

bool
public void Lock(bool stopImmediately)

Parameters

stopImmediately bool
public void MarkDirty()
public void MarkDirty(float time)

Parameters

time float
public override void Reactivate()
public static void RemoveItemsFromScrollBox(params UIelement[] items)

Parameters

items UIelement[]
public void ScrollToBottom(bool immediate = true)

Parameters

immediate bool
public static void ScrollToChild(UIelement child, bool silent = false)

Parameters

child UIelement
silent bool
public void ScrollToRect(Rect rect, bool silent = false)

Parameters

rect Rect
silent bool
public void ScrollToTop(bool immediate = true)

Parameters

immediate bool
public bool SetContentSize(float newSize, bool sortToTop = true)

Parameters

newSize float
sortToTop bool

Returns

bool
public override void Unload()
public void Unlock()
public override void Update()
public bool _IsThereChildMouseOver()

Returns

bool
public void _MoveCam()
public string _TutorialText()

Returns

string
public void _UpdateCam()

Operators

public static bool operator ==(OpScrollBox left, OpScrollBox right)

Parameters

left OpScrollBox
right OpScrollBox

Returns

bool
public static bool operator !=(OpScrollBox left, OpScrollBox right)

Parameters

left OpScrollBox
right OpScrollBox

Returns

bool