PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
ControlsXbox.c File Reference

Data Structures

class  JsonControlMappingInfo
 

Functions

void ControlsXbox ()
 
void ~ControlsXbox ()
 
void Back ()
 
void DrawConnectingLines (int index)
 
protected array< ref JsonControlMappingInfoGetControlMappingInfo ()
 
override Widget Init ()
 Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)
 
override void OnShow ()
 
override bool OnClick (Widget w, int x, int y, int button)
 
override void Update (float timeslice)
 
protected void LoadFooterButtonTexts ()
 Initial texts load for the footer buttons.
 
protected void LoadTextStrings ()
 Set correct bottom button texts based on platform (ps4 vs xbox texts)
 
protected void SwitchPreset ()
 

Variables

class JsonControlMappingInfo m_BackButtonTextID
 
protected ButtonWidget m_Back
 
protected ImageWidget m_ControlsLayoutImage
 
protected const int TABS_COUNT = 4
 
protected ImageWidget m_tab_images [TABS_COUNT]
 
protected TabberUI m_TabScript
 

Function Documentation

◆ Back()

void Back ( )

◆ ControlsXbox()

void ControlsXbox ( )

◆ DrawConnectingLines()

◆ GetControlMappingInfo()

protected array< ref JsonControlMappingInfo > GetControlMappingInfo ( )

◆ Init()

override Widget Init ( )

Launched from 'DayZGame.DeferredInit' to make earlier access, use, and updates impossible (downside of a non-static system)

pre-init arrays

References Class::CastTo(), WorkspaceWidget::CreateWidgets(), DrawConnectingLines(), UIScriptedMenu::DrawConnectingLines(), GetGame(), InputUtils::GetRichtextButtonIconFromInputAction(), CGame::GetWorkspace(), InputUtils::ICON_SCALE_TOOLBAR, m_Back, m_tab_images, and m_TabScript.

◆ LoadFooterButtonTexts()

protected void LoadFooterButtonTexts ( )

Initial texts load for the footer buttons.

References m_BackButtonTextID.

◆ LoadTextStrings()

protected void LoadTextStrings ( )

Set correct bottom button texts based on platform (ps4 vs xbox texts)

References m_BackButtonTextID.

◆ OnClick()

override bool OnClick ( Widget  w,
int  x,
int  y,
int  button 
)

References UIScriptedMenu::Back(), and m_Back.

◆ OnShow()

◆ SwitchPreset()

◆ Update()

override void Update ( float  timeslice)

◆ ~ControlsXbox()

void ~ControlsXbox ( )

Variable Documentation

◆ m_Back

◆ m_BackButtonTextID

◆ m_ControlsLayoutImage

protected ImageWidget m_ControlsLayoutImage

◆ m_tab_images

protected ImageWidget m_tab_images[TABS_COUNT]

Referenced by Init(), and UIScriptedMenu::Init().

◆ m_TabScript

◆ TABS_COUNT

protected const int TABS_COUNT = 4