DayZ Enforce
Script API
Private Member Functions | Private Attributes | List of all members
BookMenu Class Reference

#include <BookMenu.h>

Inheritance diagram for BookMenu:
UIScriptedMenu

Private Member Functions

Widget  Init ()
 
void  ReadBook (InventoryItem book)
 
bool  OnClick (Widget w, int x, int y, int button)
 
protected void  NextPrevPage (bool next)
 

Private Attributes

protected TextWidget  m_author
 
protected TextWidget  m_title
 
protected TextWidget  m_page
 
protected HtmlWidget  m_content
 
protected float  m_page_height
 
protected float  m_content_total_height
 
protected float  m_content_pos
 

Member Function Documentation

Widget BookMenu::Init ( )
private
void BookMenu::ReadBook ( InventoryItem  book )
private
bool BookMenu::OnClick ( Widget  w,
int  x,
int  y,
int  button 
)
private
void BookMenu::NextPrevPage ( bool  next )
private

Member Data Documentation

protected TextWidget BookMenu::m_author
private

Referenced by Init(), and ReadBook().

protected TextWidget BookMenu::m_title
private

Referenced by Init(), and ReadBook().

protected TextWidget BookMenu::m_page
private

Referenced by Init(), and NextPrevPage().

protected HtmlWidget BookMenu::m_content
private

Referenced by Init(), NextPrevPage(), and ReadBook().

protected float BookMenu::m_page_height
private

Referenced by Init(), and NextPrevPage().

protected float BookMenu::m_content_total_height
private

Referenced by NextPrevPage(), and ReadBook().

protected float BookMenu::m_content_pos
private

Referenced by NextPrevPage(), and ReadBook().


The documentation for this class was generated from the following files:
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)