Dayz Explorer  1.24.157551 (v105080)
Dayz Code Explorer by Zeroy
uihintpanel.c File Reference

Go to the source code of this file.

Data Structures

class  ScriptedWidgetEventHandler
 map: item x vector(index, width, height) More...
 

Functions

class UiHintPanel extends ScriptedWidgetEventHandler Init (DayZGame game)
 
void UiHintPanel (Widget parent_widget)
 
void ~UiHintPanel ()
 
protected void LoadContentList ()
 
protected void BuildLayout (Widget parent_widget)
 
protected void PopulateLayout ()
 
protected void SetHintHeadline ()
 
protected void SetHintDescription ()
 
protected void SetHintImage ()
 
protected void SetHintPaging ()
 
void ShowRandomPage ()
 
protected void RandomizePageIndex ()
 
protected void ShowNextPage ()
 
protected void ShowPreviousPage ()
 
protected void StartSlideshow ()
 
protected void SlideshowThread ()
 
protected void StopSlideShow ()
 
protected void RestartSlideShow ()
 
override bool OnClick (Widget w, int x, int y, int button)
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 

Variables

protected int m_SlideShowDelay = 25000
 
protected string m_RootPath = "Gui/layouts/new_ui/hints/in_game_hints.layout"
 
const protected string m_DataPath = "scripts/data/hints.json"
 
protected Widget m_RootFrame
 
protected Widget m_SpacerFrame
 
protected ButtonWidget m_UiLeftButton
 
protected ButtonWidget m_UiRightButton
 
protected RichTextWidget m_UiDescLabel
 
protected TextWidget m_UiHeadlineLabel
 
protected ImageWidget m_UiHintImage
 
protected TextWidget m_UiPageingLabel
 
protected ref array< ref HintPagem_ContentList
 
protected int m_PageIndex = int.MIN
 
protected DayZGame m_Game
 
protected bool m_Initialized
 
protected Widget m_ParentWidget
 
protected int m_PreviousRandomIndex = int.MIN
 

Function Documentation

◆ BuildLayout()

protected void Init::BuildLayout ( Widget  parent_widget)

Definition at line 88 of file uihintpanel.c.

◆ Init()

class UiHintPanel extends ScriptedWidgetEventHandler Init ( DayZGame  game)

Definition at line 295 of file uihintpanel.c.

◆ LoadContentList()

protected void Init::LoadContentList ( )

Definition at line 80 of file uihintpanel.c.

◆ OnClick()

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

Definition at line 247 of file uihintpanel.c.

◆ OnMouseEnter()

override bool Init::OnMouseEnter ( Widget  w,
int  x,
int  y 
)

Definition at line 267 of file uihintpanel.c.

◆ OnMouseLeave()

override bool Init::OnMouseLeave ( Widget  w,
Widget  enterW,
int  x,
int  y 
)

Definition at line 276 of file uihintpanel.c.

◆ PopulateLayout()

protected void Init::PopulateLayout ( )

Definition at line 109 of file uihintpanel.c.

◆ RandomizePageIndex()

protected void Init::RandomizePageIndex ( )

Definition at line 166 of file uihintpanel.c.

◆ RestartSlideShow()

protected void Init::RestartSlideShow ( )

Definition at line 238 of file uihintpanel.c.

◆ SetHintDescription()

protected void Init::SetHintDescription ( )

Definition at line 126 of file uihintpanel.c.

◆ SetHintHeadline()

protected void Init::SetHintHeadline ( )

Definition at line 122 of file uihintpanel.c.

◆ SetHintImage()

protected void Init::SetHintImage ( )

Definition at line 135 of file uihintpanel.c.

◆ SetHintPaging()

protected void Init::SetHintPaging ( )

Definition at line 153 of file uihintpanel.c.

◆ ShowNextPage()

protected void Init::ShowNextPage ( )

Definition at line 187 of file uihintpanel.c.

◆ ShowPreviousPage()

protected void Init::ShowPreviousPage ( )

Definition at line 203 of file uihintpanel.c.

◆ ShowRandomPage()

void Init::ShowRandomPage ( )

Definition at line 159 of file uihintpanel.c.

◆ SlideshowThread()

protected void Init::SlideshowThread ( )

Definition at line 228 of file uihintpanel.c.

◆ StartSlideshow()

protected void Init::StartSlideshow ( )

Definition at line 223 of file uihintpanel.c.

◆ StopSlideShow()

protected void Init::StopSlideShow ( )

Definition at line 233 of file uihintpanel.c.

◆ UiHintPanel()

void Init::UiHintPanel ( Widget  parent_widget)

Definition at line 30 of file uihintpanel.c.

◆ ~UiHintPanel()

void Init::~UiHintPanel ( )

Definition at line 37 of file uihintpanel.c.

Variable Documentation

◆ m_ContentList

protected ref array<ref HintPage> m_ContentList

Definition at line 20 of file uihintpanel.c.

◆ m_DataPath

const protected string m_DataPath = "scripts/data/hints.json"

Definition at line 9 of file uihintpanel.c.

◆ m_Game

protected DayZGame m_Game

Definition at line 22 of file uihintpanel.c.

◆ m_Initialized

protected bool m_Initialized

Definition at line 23 of file uihintpanel.c.

◆ m_PageIndex

protected int m_PageIndex = int.MIN

Definition at line 21 of file uihintpanel.c.

◆ m_ParentWidget

protected Widget m_ParentWidget

Definition at line 24 of file uihintpanel.c.

◆ m_PreviousRandomIndex

protected int m_PreviousRandomIndex = int.MIN

Definition at line 25 of file uihintpanel.c.

◆ m_RootFrame

protected Widget m_RootFrame

Definition at line 11 of file uihintpanel.c.

◆ m_RootPath

protected string m_RootPath = "Gui/layouts/new_ui/hints/in_game_hints.layout"

Definition at line 8 of file uihintpanel.c.

◆ m_SlideShowDelay

protected int m_SlideShowDelay = 25000

Definition at line 7 of file uihintpanel.c.

◆ m_SpacerFrame

protected Widget m_SpacerFrame

Definition at line 12 of file uihintpanel.c.

◆ m_UiDescLabel

protected RichTextWidget m_UiDescLabel

Definition at line 15 of file uihintpanel.c.

◆ m_UiHeadlineLabel

protected TextWidget m_UiHeadlineLabel

Definition at line 16 of file uihintpanel.c.

◆ m_UiHintImage

protected ImageWidget m_UiHintImage

Definition at line 17 of file uihintpanel.c.

◆ m_UiLeftButton

protected ButtonWidget m_UiLeftButton

Definition at line 13 of file uihintpanel.c.

◆ m_UiPageingLabel

protected TextWidget m_UiPageingLabel

Definition at line 18 of file uihintpanel.c.

◆ m_UiRightButton

protected ButtonWidget m_UiRightButton

Definition at line 14 of file uihintpanel.c.