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

#include <InventoryView.h>

Inheritance diagram for InventoryQuickbar:
InventoryGridController

Private Member Functions

void  InventoryQuickbar (Widget quickbarGridWidget)
 
void  ~InventoryQuickbar ()
 
void  UpdateItems (Widget quickbarGridWidget)
 
protected void  Remove (InventoryItem itemToRemove)
 
void  OnItemEnter (InventoryGrid grid, Widget w, int row, int col)
 
void  OnItemLeave (InventoryGrid grid, Widget w)
 
void  OnItemDraggingOver (InventoryGrid grid, Widget w, int row, int col)
 
void  OnItemDropReceived (InventoryGrid grid, Widget w, int row, int col)
 
void  OnItemDrop (InventoryGrid grid, Widget w)
 
void  OnItemDrag (InventoryGrid grid, Widget w, int row, int col)
 
bool  OnMouseEnter (Widget w, int x, int y)
 
bool  OnMouseLeave (Widget w, Widget enterW, int x, int y)
 
int  GetQuickbarWidth ()
 
int  GetQuickbarItemColor (InventoryGrid grid, InventoryItem item)
 
int  HasItemQuantity (InventoryItem item)
 

Private Attributes

protected autoptr TItemsMap  m_items
 
protected InventoryGrid  m_grid
 
protected int  m_dragging_index
 
protected int  m_quickbar_size
 
private const int  QUICKBAR_GRID_WIDTH = 40
 

Constructor & Destructor Documentation

void InventoryQuickbar::InventoryQuickbar ( Widget  quickbarGridWidget )
private
void InventoryQuickbar::~InventoryQuickbar ( )
private

Member Function Documentation

void InventoryQuickbar::UpdateItems ( Widget  quickbarGridWidget )
private
void InventoryQuickbar::Remove ( InventoryItem  itemToRemove )
private
void InventoryQuickbar::OnItemEnter ( InventoryGrid  grid,
Widget  w,
int  row,
int  col 
)
private
void InventoryQuickbar::OnItemLeave ( InventoryGrid  grid,
Widget  w 
)
private
void InventoryQuickbar::OnItemDraggingOver ( InventoryGrid  grid,
Widget  w,
int  row,
int  col 
)
private
void InventoryQuickbar::OnItemDropReceived ( InventoryGrid  grid,
Widget  w,
int  row,
int  col 
)
private
void InventoryQuickbar::OnItemDrop ( InventoryGrid  grid,
Widget  w 
)
private
void InventoryQuickbar::OnItemDrag ( InventoryGrid  grid,
Widget  w,
int  row,
int  col 
)
private
bool InventoryQuickbar::OnMouseEnter ( Widget  w,
int  x,
int  y 
)
private
bool InventoryQuickbar::OnMouseLeave ( Widget  w,
Widget  enterW,
int  x,
int  y 
)
private
int InventoryQuickbar::GetQuickbarWidth ( )
private

References QUICKBAR_GRID_WIDTH.

int InventoryQuickbar::GetQuickbarItemColor ( InventoryGrid  grid,
InventoryItem  item 
)
private
int InventoryQuickbar::HasItemQuantity ( InventoryItem  item )
private

Member Data Documentation

protected autoptr TItemsMap InventoryQuickbar::m_items
private

Referenced by InventoryQuickbar(), and UpdateItems().

protected InventoryGrid InventoryQuickbar::m_grid
private

Referenced by OnItemDrag(), and UpdateItems().

protected int InventoryQuickbar::m_dragging_index
private
protected int InventoryQuickbar::m_quickbar_size
private

Referenced by Remove(), and UpdateItems().

private const int InventoryQuickbar::QUICKBAR_GRID_WIDTH = 40
private

Referenced by GetQuickbarWidth(), and UpdateItems().


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