Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
controlsxbox.c File Reference

Go to the source code of this file.

Data Structures

class  JsonControlMappingInfo

Functions

void ~ControlsXbox ()
void Back ()
void ControlsXbox ()
void DrawConnectingLines (int index)
array< ref JsonControlMappingInfoGetControlMappingInfo ()
override Widget Init ()
void LoadFooterButtonTexts ()
 Initial texts load for the footer buttons.
void LoadTextStrings ()
 Set correct bottom button texts based on platform (ps4 vs xbox texts).
override bool OnClick (Widget w, int x, int y, int button)
override void OnShow ()
void SwitchPreset ()
override void Update (float timeslice)

Variables

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

Function Documentation

◆ ~ControlsXbox()

void ~ControlsXbox ( )
protected

Definition at line 31 of file controlsxbox.c.

◆ Back()

void Back ( )
protected

Definition at line 36 of file controlsxbox.c.

References g_Game.

◆ ControlsXbox()

void ControlsXbox ( )
protected

Definition at line 26 of file controlsxbox.c.

◆ DrawConnectingLines()

◆ GetControlMappingInfo()

array< ref JsonControlMappingInfo > GetControlMappingInfo ( )
protected

Definition at line 285 of file controlsxbox.c.

References CloseFile(), ErrorEx, FGets(), OpenFile(), and JsonSerializer::ReadFromString().

◆ Init()

◆ LoadFooterButtonTexts()

void LoadFooterButtonTexts ( )
protected

Initial texts load for the footer buttons.

Definition at line 417 of file controlsxbox.c.

References m_BackButtonTextID.

◆ LoadTextStrings()

void LoadTextStrings ( )
protected

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

Definition at line 427 of file controlsxbox.c.

References m_BackButtonTextID.

◆ OnClick()

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

Definition at line 380 of file controlsxbox.c.

References UIScriptedMenu::Back(), m_Back, x, and y.

◆ OnShow()

override void OnShow ( )
protected

◆ SwitchPreset()

◆ Update()

override void Update ( float timeslice)
protected

Definition at line 393 of file controlsxbox.c.

References UIScriptedMenu::Back(), GetUApi(), m_TabScript, and SwitchPreset().

Variable Documentation

◆ m_Back

ButtonWidget m_Back
protected

Definition at line 17 of file controlsxbox.c.

Referenced by Init(), and OnClick().

◆ m_BackButtonTextID

class JsonControlMappingInfo m_BackButtonTextID

◆ m_ControlsLayoutImage

ImageWidget m_ControlsLayoutImage
protected

Definition at line 18 of file controlsxbox.c.

◆ m_tab_images

ImageWidget m_tab_images[TABS_COUNT]
protected

Definition at line 20 of file controlsxbox.c.

Referenced by Init().

◆ m_TabScript

TabberUI m_TabScript
protected

Definition at line 21 of file controlsxbox.c.

Referenced by DrawConnectingLines(), Init(), and Update().

◆ TABS_COUNT

const int TABS_COUNT = 4
protected

Definition at line 19 of file controlsxbox.c.