doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
DialogAFConstraintSlider Class Reference

#include <DialogAFConstraintSlider.h>

Inheritance diagram for DialogAFConstraintSlider:

Public Types

enum  { IDD = IDD_DIALOG_AF_CONSTRAINT_HINGE }
 

Public Member Functions

 DialogAFConstraintSlider (CWnd *pParent=NULL)
 
virtual ~DialogAFConstraintSlider ()
 
void LoadFile (idDeclAF *af)
 
void SaveFile (void)
 
void LoadConstraint (idDeclAF_Constraint *c)
 
void SaveConstraint (void)
 
void UpdateFile (void)
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 
virtual int OnToolHitTest (CPoint point, TOOLINFO *pTI) const
 
afx_msg BOOL OnToolTipNotify (UINT id, NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnBnClickedRadioSliderAxisBone ()
 
afx_msg void OnBnClickedRadioSliderAxisAngles ()
 
afx_msg void OnCbnSelchangeComboSliderAxisJoint1 ()
 
afx_msg void OnCbnSelchangeComboSliderAxisJoint2 ()
 
afx_msg void OnEnChangeEditSliderAxisPitch ()
 
afx_msg void OnDeltaposSpinSliderAxisPitch (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnEnChangeEditSliderAxisYaw ()
 
afx_msg void OnDeltaposSpinSliderAxisYaw (NMHDR *pNMHDR, LRESULT *pResult)
 

Private Member Functions

void InitJointLists (void)
 

Private Attributes

idDeclAFfile
 
idDeclAF_Constraintconstraint
 
CComboBox m_comboAxisJoint1
 
CComboBox m_comboAxisJoint2
 
float m_axisPitch
 
float m_axisYaw
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 32 of file DialogAFConstraintSlider.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 45 of file DialogAFConstraintSlider.h.

Constructor & Destructor Documentation

DialogAFConstraintSlider::DialogAFConstraintSlider ( CWnd *  pParent = NULL)

Definition at line 58 of file DialogAFConstraintSlider.cpp.

DialogAFConstraintSlider::~DialogAFConstraintSlider ( )
virtual

Definition at line 74 of file DialogAFConstraintSlider.cpp.

Member Function Documentation

void DialogAFConstraintSlider::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 82 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::InitJointLists ( void  )
private

Definition at line 97 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::LoadConstraint ( idDeclAF_Constraint c)

Definition at line 143 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::LoadFile ( idDeclAF af)

Definition at line 123 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::OnBnClickedRadioSliderAxisAngles ( )
protected

Definition at line 248 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::OnBnClickedRadioSliderAxisBone ( )
protected

Definition at line 239 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::OnCbnSelchangeComboSliderAxisJoint1 ( )
protected

Definition at line 257 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::OnCbnSelchangeComboSliderAxisJoint2 ( )
protected

Definition at line 264 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::OnDeltaposSpinSliderAxisPitch ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 280 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::OnDeltaposSpinSliderAxisYaw ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 302 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::OnEnChangeEditSliderAxisPitch ( )
protected

Definition at line 271 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::OnEnChangeEditSliderAxisYaw ( )
protected

Definition at line 293 of file DialogAFConstraintSlider.cpp.

int DialogAFConstraintSlider::OnToolHitTest ( CPoint  point,
TOOLINFO *  pTI 
) const
protectedvirtual

Definition at line 213 of file DialogAFConstraintSlider.cpp.

BOOL DialogAFConstraintSlider::OnToolTipNotify ( UINT  id,
NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 235 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::SaveConstraint ( void  )

Definition at line 173 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::SaveFile ( void  )

Definition at line 134 of file DialogAFConstraintSlider.cpp.

void DialogAFConstraintSlider::UpdateFile ( void  )

Definition at line 201 of file DialogAFConstraintSlider.cpp.

Member Data Documentation

idDeclAF_Constraint* DialogAFConstraintSlider::constraint
private

Definition at line 64 of file DialogAFConstraintSlider.h.

idDeclAF* DialogAFConstraintSlider::file
private

Definition at line 63 of file DialogAFConstraintSlider.h.

float DialogAFConstraintSlider::m_axisPitch
private

Definition at line 69 of file DialogAFConstraintSlider.h.

float DialogAFConstraintSlider::m_axisYaw
private

Definition at line 70 of file DialogAFConstraintSlider.h.

CComboBox DialogAFConstraintSlider::m_comboAxisJoint1
private

Definition at line 67 of file DialogAFConstraintSlider.h.

CComboBox DialogAFConstraintSlider::m_comboAxisJoint2
private

Definition at line 68 of file DialogAFConstraintSlider.h.

toolTip_t DialogAFConstraintSlider::toolTips
staticprivate
Initial value:
= {
{ IDC_RADIO_SLIDER_AXIS_BONE, "use a bone for the slider axis" },
{ IDC_RADIO_SLIDER_AXIS_ANGLES, "use angles to set the orientation of the slider axis" },
{ IDC_COMBO_SLIDER_AXIS_JOINT1, "bone start joint" },
{ IDC_COMBO_SLIDER_AXIS_JOINT2, "bone end joint" },
{ IDC_EDIT_SLIDER_AXIS_PITCH, "pitch angle" },
{ IDC_EDIT_SLIDER_AXIS_YAW, "yaw angle" },
{ 0, NULL }
}

Definition at line 73 of file DialogAFConstraintSlider.h.


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