PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
PlayerPreview Class Reference

Private Member Functions

void PlayerPreview (LayoutHolder parent)
 
void RefreshPlayerPreview ()
 
void UpdateRotation (int mouse_x, int mouse_y, bool is_dragging)
 
void UpdateScale ()
 
bool MouseButtonDown (Widget w, int x, int y, int button)
 
bool MouseWheel (Widget w, int x, int y, int wheel)
 
override void UpdateInterval ()
 

Private Attributes

protected ref PlayerPreviewWidget m_CharacterPanelWidget
 
protected int m_CharacterRotationX
 
protected int m_CharacterRotationY
 
protected int m_CharacterScaleDelta
 
protected vector m_CharacterOrientation
 
protected bool m_IsHolding
 

Constructor & Destructor Documentation

◆ PlayerPreview()

Member Function Documentation

◆ MouseButtonDown()

bool MouseButtonDown ( Widget  w,
int  x,
int  y,
int  button 
)
inlineprivate

◆ MouseWheel()

bool MouseWheel ( Widget  w,
int  x,
int  y,
int  wheel 
)
inlineprivate

◆ RefreshPlayerPreview()

void RefreshPlayerPreview ( )
inlineprivate

◆ UpdateInterval()

◆ UpdateRotation()

void UpdateRotation ( int  mouse_x,
int  mouse_y,
bool  is_dragging 
)
inlineprivate

◆ UpdateScale()

void UpdateScale ( )
inlineprivate

Field Documentation

◆ m_CharacterOrientation

protected vector m_CharacterOrientation
private

Referenced by UpdateRotation().

◆ m_CharacterPanelWidget

protected ref PlayerPreviewWidget m_CharacterPanelWidget
private

◆ m_CharacterRotationX

protected int m_CharacterRotationX
private

Referenced by MouseButtonDown(), and UpdateRotation().

◆ m_CharacterRotationY

protected int m_CharacterRotationY
private

Referenced by MouseButtonDown().

◆ m_CharacterScaleDelta

protected int m_CharacterScaleDelta
private

◆ m_IsHolding

protected bool m_IsHolding
private

Referenced by MouseButtonDown(), and UpdateInterval().


The documentation for this class was generated from the following file: