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

#include <InventoryContainer.h>

Inheritance diagram for InventoryContainer:
ScriptedWidgetEventHandler InventoryContainerEntity InventoryContainerHands InventoryContainerVicinity

Private Member Functions

void  InventoryContainer (Widget parent, bool ownedByPlayer)
 
void  ~InventoryContainer ()
 
protected Widget  CreateLayout (Widget parent)
 
bool  IsOwnedByPlayer ()
 
void  UpdateItems ()
 
Widget  GetRootWidget ()
 
Widget  GetContentListWidget ()
 
Widget  GetContentGridWidget ()
 
void  SetHeaderText (string text)
 
bool  IsListView ()
 
void  OnItemDoubleClick (InventoryView view, InventoryItem item)
 
bool  OnMouseButtonDown (Widget w, int x, int y, int button)
 
protected bool  IsHistoryExpanded ()
 
protected void  SaveHistory ()
 

Static Private Member Functions

static void  ClearHistory ()
 

Private Attributes

protected bool  m_isOwnedByPlayer
 
protected Widget  m_root
 
protected Widget  m_button
 
protected TextWidget  m_header
 
protected Widget  m_header_bar
 
protected Widget  m_minimize_widget
 
protected Widget  m_maximize_widget
 
protected Widget  m_contentList
 
protected Widget  m_contentGrid
 
protected AutoHeightSpacer  m_spacer
 

Static Private Attributes

static protected const int  EXPANDED_HISTORY_SIZE = 20
 
static protected int  s_expanded_history [EXPANDED_HISTORY_SIZE]
 
static protected int  s_expanded_history_index = 0
 

Constructor & Destructor Documentation

void InventoryContainer::InventoryContainer ( Widget  parent,
bool  ownedByPlayer 
)
private
void InventoryContainer::~InventoryContainer ( )
private

Member Function Documentation

Widget InventoryContainer::CreateLayout ( Widget  parent )
private

References CreateWidgets(), and m_isOwnedByPlayer.

Referenced by InventoryContainer().

bool InventoryContainer::IsOwnedByPlayer ( )
private
void InventoryContainer::UpdateItems ( )
private
Widget InventoryContainer::GetRootWidget ( )
private

References m_root.

Widget InventoryContainer::GetContentListWidget ( )
private
Widget InventoryContainer::GetContentGridWidget ( )
private
void InventoryContainer::SetHeaderText ( string  text )
private

References m_header, and TextWidget::SetText().

bool InventoryContainer::IsListView ( )
private
void InventoryContainer::OnItemDoubleClick ( InventoryView  view,
InventoryItem  item 
)
private
bool InventoryContainer::OnMouseButtonDown ( Widget  w,
int  x,
int  y,
int  button 
)
private
bool InventoryContainer::IsHistoryExpanded ( )
private

Referenced by InventoryContainer().

void InventoryContainer::SaveHistory ( )
private

Referenced by ~InventoryContainer().

void InventoryContainer::ClearHistory ( )
staticprivate

Member Data Documentation

protected bool InventoryContainer::m_isOwnedByPlayer
private
protected Widget InventoryContainer::m_root
private
protected Widget InventoryContainer::m_button
private

Referenced by InventoryContainer().

protected TextWidget InventoryContainer::m_header
private
protected Widget InventoryContainer::m_header_bar
private
protected Widget InventoryContainer::m_minimize_widget
private
protected Widget InventoryContainer::m_maximize_widget
private
protected Widget InventoryContainer::m_contentList
private
protected Widget InventoryContainer::m_contentGrid
private
protected AutoHeightSpacer InventoryContainer::m_spacer
private
protected const int InventoryContainer::EXPANDED_HISTORY_SIZE = 20
staticprivate
protected int InventoryContainer::s_expanded_history[EXPANDED_HISTORY_SIZE]
staticprivate
protected int InventoryContainer::s_expanded_history_index = 0
staticprivate

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