DIFF

class ControlsXboxNewSource

ControlsXboxNew UIScriptedMenu UIMenuPanel Managed

All members, including inherited

Constructors 1

Constants 4

protected const int AREA_LEFT = 1
protected const int AREA_RIGHT = 2
protected const int PLATFORM_ADJUST_X1 = 1000
Referenced by ComposeData()
protected const int PLATFORM_ADJUST_PS = 2000
Referenced by ComposeData()

Members 15

protected string m_BackButtonTextID
protected string m_NextPresetText
protected int m_CurrentTabIdx = -1
Referenced by UpdateTabContent()
protected int m_CurrentPresetVariant = -1
protected ButtonWidget m_Back
Referenced by Init(), IsFocusable(), and OnClick()
protected ImageWidget m_ControlsLayoutImage
protected CanvasWidget m_CanvasWidget
Referenced by DrawConnectingLines(), and Init()
protected TabberUI m_TabScript
Referenced by Init(), and Update()
protected Widget m_TabberWidget
Referenced by Init()
protected Widget m_ControlsImage
Referenced by ComposeData(), and Init()
protected Widget m_PlatformHolder

controls container for selected platform

Referenced by ComposeData()
protected Widget m_VariantWidget
protected ref map<int,Widget> m_ImageMarkerStructure
Referenced by ComposeData(), and Init()
protected ref map<int,Widget> m_CategoryStructure
protected ref map<int,ref TButtonPairingInfo> m_AreasLR

left/right area holders

Referenced by DrawConnectingLines()

Methods 27

protected void OnInputPresetChanged()
void Back()
Referenced by OnClick(), and Update()
override void OnShow()
override bool OnClick(Widget w, int x, int y, int button)
References Back(), and m_Back
override bool OnMouseEnter(Widget w, int x, int y)
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
override bool OnFocus(Widget w, int x, int y)
override bool OnFocusLost(Widget w, int x, int y)
bool IsFocusable(Widget w)
References m_Back
Referenced by OnFocus(), OnFocusLost(), OnMouseEnter()
Show 1 more, OnMouseLeave()
protected Widget FindChildByID(Widget wid, int user_id)

Finds immediate child widget with a corresponding userID

protected bool FindAllChildrenByID(Widget wid, int user_id, out array<Widget> results)

Finds all immediate children widgets with corresponding userIDs

Referenced by DrawConnectingLines()
protected int FilterByVisible(array<Widget> input, array<Widget> filtered)

returns count

References array.Count(), array.Count(), array.Insert()
Show 1 more, Widget.IsVisible()
Referenced by DrawConnectingLines()
void ColorHighlight(Widget w)
Referenced by OnFocus(), and OnMouseEnter()
void ColorNormal(Widget w)
Referenced by OnFocusLost(), and OnMouseLeave()
void ButtonSetText(Widget w, string text)
void ButtonSetColor(Widget w, int color)
Referenced by ColorHighlight(), and ColorNormal()
void ButtonSetTextColor(Widget w, int color)
Referenced by ColorHighlight(), and ColorNormal()