Dayz Explorer 1.28.160049
Loading...
Searching...
No Matches
uihintpanel.c File Reference

Go to the source code of this file.

Functions

class UiHintPanel extends ScriptedWidgetEventHandler Init (DayZGame game)
 
void UiHintPanel (Widget parent_widget)
 
void ~UiHintPanel ()
 
void LoadContentList ()
 
void BuildLayout (Widget parent_widget)
 
void PopulateLayout ()
 
void SetHintHeadline ()
 
void SetHintDescription ()
 
void SetHintImage ()
 
void SetHintPaging ()
 
void ShowRandomPage ()
 
void RandomizePageIndex ()
 
void ShowNextPage ()
 
void ShowPreviousPage ()
 
void StartSlideshow ()
 
void SlideshowThread ()
 
void StopSlideShow ()
 
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

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

Function Documentation

◆ BuildLayout()

void Init::BuildLayout ( Widget parent_widget)
protected

Definition at line 382 of file uihintpanel.c.

◆ Init()

void Init ( DayZGame game)

Definition at line 5 of file uihintpanel.c.

◆ LoadContentList()

void Init::LoadContentList ( )
protected

Definition at line 374 of file uihintpanel.c.

◆ OnClick()

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

Definition at line 541 of file uihintpanel.c.

◆ OnMouseEnter()

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

Definition at line 561 of file uihintpanel.c.

◆ OnMouseLeave()

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

Definition at line 570 of file uihintpanel.c.

◆ PopulateLayout()

void Init::PopulateLayout ( )
protected

Definition at line 403 of file uihintpanel.c.

◆ RandomizePageIndex()

void Init::RandomizePageIndex ( )
protected

Definition at line 460 of file uihintpanel.c.

◆ RestartSlideShow()

void Init::RestartSlideShow ( )
protected

Definition at line 532 of file uihintpanel.c.

◆ SetHintDescription()

void Init::SetHintDescription ( )
protected

Definition at line 420 of file uihintpanel.c.

◆ SetHintHeadline()

void Init::SetHintHeadline ( )
protected

Definition at line 416 of file uihintpanel.c.

◆ SetHintImage()

void Init::SetHintImage ( )
protected

Definition at line 429 of file uihintpanel.c.

◆ SetHintPaging()

void Init::SetHintPaging ( )
protected

Definition at line 447 of file uihintpanel.c.

◆ ShowNextPage()

void Init::ShowNextPage ( )
protected

Definition at line 481 of file uihintpanel.c.

◆ ShowPreviousPage()

void Init::ShowPreviousPage ( )
protected

Definition at line 497 of file uihintpanel.c.

◆ ShowRandomPage()

void Init::ShowRandomPage ( )
protected

Definition at line 453 of file uihintpanel.c.

◆ SlideshowThread()

void Init::SlideshowThread ( )
protected

Definition at line 522 of file uihintpanel.c.

◆ StartSlideshow()

void Init::StartSlideshow ( )
protected

Definition at line 517 of file uihintpanel.c.

◆ StopSlideShow()

void Init::StopSlideShow ( )
protected

Definition at line 527 of file uihintpanel.c.

◆ UiHintPanel()

void Init::UiHintPanel ( Widget parent_widget)
protected

Definition at line 324 of file uihintpanel.c.

◆ ~UiHintPanel()

void Init::~UiHintPanel ( )
protected

Definition at line 331 of file uihintpanel.c.

Variable Documentation

◆ m_ContentList

ref array<ref HintPage> m_ContentList
protected

Definition at line 314 of file uihintpanel.c.

◆ m_DataPath

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

Definition at line 303 of file uihintpanel.c.

◆ m_Game

DayZGame m_Game
protected

Definition at line 316 of file uihintpanel.c.

◆ m_Initialized

bool m_Initialized
protected

Definition at line 317 of file uihintpanel.c.

◆ m_PageIndex

int m_PageIndex = int.MIN
protected

Definition at line 315 of file uihintpanel.c.

◆ m_ParentWidget

Widget m_ParentWidget
protected

Definition at line 318 of file uihintpanel.c.

◆ m_PreviousRandomIndex

int m_PreviousRandomIndex = int.MIN
protected

Definition at line 319 of file uihintpanel.c.

◆ m_RootFrame

Widget m_RootFrame
protected

Definition at line 305 of file uihintpanel.c.

◆ m_RootPath

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

Definition at line 302 of file uihintpanel.c.

◆ m_SlideShowDelay

int m_SlideShowDelay = 25000
protected

Definition at line 301 of file uihintpanel.c.

◆ m_SpacerFrame

Widget m_SpacerFrame
protected

Definition at line 306 of file uihintpanel.c.

◆ m_UiDescLabel

RichTextWidget m_UiDescLabel
protected

Definition at line 309 of file uihintpanel.c.

◆ m_UiHeadlineLabel

TextWidget m_UiHeadlineLabel
protected

Definition at line 310 of file uihintpanel.c.

◆ m_UiHintImage

ImageWidget m_UiHintImage
protected

Definition at line 311 of file uihintpanel.c.

◆ m_UiLeftButton

ButtonWidget m_UiLeftButton
protected

Definition at line 307 of file uihintpanel.c.

◆ m_UiPageingLabel

TextWidget m_UiPageingLabel
protected

Definition at line 312 of file uihintpanel.c.

◆ m_UiRightButton

ButtonWidget m_UiRightButton
protected

Definition at line 308 of file uihintpanel.c.