Dayz Build 1.29.163047, Scripts Rev. 123548
Dayz Code Explorer by Zeroy
Loading...
Searching...
No Matches
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

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

Variables

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

Function Documentation

◆ ~UiHintPanel()

void ~UiHintPanel ( )
protected

Definition at line 331 of file uihintpanel.c.

◆ BuildLayout()

void 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.

References UiHintPanel().

◆ LoadContentList()

void LoadContentList ( )
protected

Definition at line 374 of file uihintpanel.c.

◆ OnClick()

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

Definition at line 541 of file uihintpanel.c.

◆ OnMouseEnter()

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

Definition at line 561 of file uihintpanel.c.

◆ OnMouseLeave()

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

Definition at line 570 of file uihintpanel.c.

◆ PopulateLayout()

void PopulateLayout ( )
protected

Definition at line 403 of file uihintpanel.c.

◆ RandomizePageIndex()

void RandomizePageIndex ( )
protected

Definition at line 460 of file uihintpanel.c.

◆ RestartSlideShow()

void RestartSlideShow ( )
protected

Definition at line 532 of file uihintpanel.c.

◆ SetHintDescription()

void SetHintDescription ( )
protected

Definition at line 420 of file uihintpanel.c.

◆ SetHintHeadline()

void SetHintHeadline ( )
protected

Definition at line 416 of file uihintpanel.c.

◆ SetHintImage()

void SetHintImage ( )
protected

Definition at line 429 of file uihintpanel.c.

◆ SetHintPaging()

void SetHintPaging ( )
protected

Definition at line 447 of file uihintpanel.c.

◆ ShowNextPage()

void ShowNextPage ( )
protected

Definition at line 481 of file uihintpanel.c.

◆ ShowPreviousPage()

void ShowPreviousPage ( )
protected

Definition at line 497 of file uihintpanel.c.

◆ ShowRandomPage()

void ShowRandomPage ( )
protected

Definition at line 453 of file uihintpanel.c.

◆ SlideshowThread()

void SlideshowThread ( )
protected

Definition at line 522 of file uihintpanel.c.

◆ StartSlideshow()

void StartSlideshow ( )
protected

Definition at line 517 of file uihintpanel.c.

◆ StopSlideShow()

void StopSlideShow ( )
protected

Definition at line 527 of file uihintpanel.c.

◆ UiHintPanel()

void UiHintPanel ( Widget parent_widget)
protected

Definition at line 324 of file uihintpanel.c.

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

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

◆ m_PageIndex

int m_PageIndex = int.MIN
protected

Definition at line 315 of file uihintpanel.c.

Referenced by ServerBrowserTabPc::LoadExtraEntries().

◆ m_ParentWidget

◆ 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.