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

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"
 
protected const 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 BuildLayout ( Widget  parent_widget)

◆ Init()

void Init ( DayZGame  game)

◆ LoadContentList()

protected void LoadContentList ( )

◆ OnClick()

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

◆ OnMouseEnter()

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

◆ OnMouseLeave()

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

◆ PopulateLayout()

protected void PopulateLayout ( )

◆ RandomizePageIndex()

protected void RandomizePageIndex ( )

◆ RestartSlideShow()

protected void RestartSlideShow ( )

◆ SetHintDescription()

protected void SetHintDescription ( )

◆ SetHintHeadline()

protected void SetHintHeadline ( )

◆ SetHintImage()

protected void SetHintImage ( )

◆ SetHintPaging()

protected void SetHintPaging ( )

◆ ShowNextPage()

protected void ShowNextPage ( )

◆ ShowPreviousPage()

protected void ShowPreviousPage ( )

◆ ShowRandomPage()

void ShowRandomPage ( )

◆ SlideshowThread()

protected void SlideshowThread ( )

◆ StartSlideshow()

protected void StartSlideshow ( )

◆ StopSlideShow()

protected void StopSlideShow ( )

◆ UiHintPanel()

void UiHintPanel ( Widget  parent_widget)

Referenced by UIScriptedMenu::Init().

◆ ~UiHintPanel()

void ~UiHintPanel ( )

Variable Documentation

◆ m_ContentList

◆ m_DataPath

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

◆ m_Game

◆ m_Initialized

◆ m_PageIndex

◆ m_ParentWidget

◆ m_PreviousRandomIndex

protected int m_PreviousRandomIndex = int.MIN

◆ m_RootFrame

◆ m_RootPath

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

◆ m_SlideShowDelay

protected int m_SlideShowDelay = 25000

◆ m_SpacerFrame

◆ m_UiDescLabel

◆ m_UiHeadlineLabel

◆ m_UiHintImage

protected ImageWidget m_UiHintImage

◆ m_UiLeftButton

◆ m_UiPageingLabel

◆ m_UiRightButton