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

#include <InspectMenu.h>

Inheritance diagram for InspectMenu:
UIScriptedMenu

Private Member Functions

void  InspectMenu ()
 
void  ~InspectMenu ()
 
bool  UseKeyboard ()
 
Widget  Init ()
 
bool  OnClick (Widget w, int x, int y, int button)
 
bool  OnMouseButtonDown (Widget w, int x, int y, int button)
 
bool  OnMouseWheel (Widget w, int x, int y, int wheel)
 
void  UpdateRotation (int mouse_x, int mouse_y, bool is_dragging)
 
void  UpdateScale (int mouse_x, int mouse_y, int wheel, bool is_dragging)
 
void  SetItem (InventoryItem item)
 

Private Attributes

private ItemPreviewWidget  m_item_widget
 
private int  m_characterRotationX
 
private int  m_characterRotationY
 
private int  m_characterScaleDelta
 
private vector  m_characterOrientation
 

Constructor & Destructor Documentation

void InspectMenu::InspectMenu ( )
private
void InspectMenu::~InspectMenu ( )
private

Member Function Documentation

bool InspectMenu::UseKeyboard ( )
private
Widget InspectMenu::Init ( )
private

References CreateWidgets().

bool InspectMenu::OnClick ( Widget  w,
int  x,
int  y,
int  button 
)
private
bool InspectMenu::OnMouseButtonDown ( Widget  w,
int  x,
int  y,
int  button 
)
private
bool InspectMenu::OnMouseWheel ( Widget  w,
int  x,
int  y,
int  wheel 
)
private
void InspectMenu::UpdateRotation ( int  mouse_x,
int  mouse_y,
bool  is_dragging 
)
private
void InspectMenu::UpdateScale ( int  mouse_x,
int  mouse_y,
int  wheel,
bool  is_dragging 
)
private
void InspectMenu::SetItem ( InventoryItem  item )
private

Member Data Documentation

private ItemPreviewWidget InspectMenu::m_item_widget
private
private int InspectMenu::m_characterRotationX
private
private int InspectMenu::m_characterRotationY
private

Referenced by OnMouseButtonDown().

private int InspectMenu::m_characterScaleDelta
private

Referenced by OnMouseWheel(), and UpdateScale().

private vector InspectMenu::m_characterOrientation
private

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