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
DialogAFConstraint Class Reference

#include <DialogAFConstraint.h>

Inheritance diagram for DialogAFConstraint:

Public Types

enum  { IDD = IDD_DIALOG_AF_CONSTRAINT }
 

Public Member Functions

 DialogAFConstraint (CWnd *pParent=NULL)
 
virtual ~DialogAFConstraint ()
 
void LoadFile (idDeclAF *af)
 
void SaveFile (void)
 
void LoadConstraint (const char *name)
 
void SaveConstraint (void)
 
void UpdateFile (void)
 

Protected Member Functions

virtual BOOL OnInitDialog ()
 
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 OnShowWindow (BOOL bShow, UINT nStatus)
 
afx_msg void OnCbnSelchangeComboConstraints ()
 
afx_msg void OnBnClickedButtonNewconstraint ()
 
afx_msg void OnBnClickedButtonRenameconstraint ()
 
afx_msg void OnBnClickedButtonDeleteconstraint ()
 
afx_msg void OnCbnSelchangeComboConstraintType ()
 
afx_msg void OnCbnSelchangeComboConstraintBody1 ()
 
afx_msg void OnCbnSelchangeComboConstraintBody2 ()
 
afx_msg void OnEnChangeEditConstraintFriction ()
 
afx_msg void OnDeltaposSpinConstraintFriction (NMHDR *pNMHDR, LRESULT *pResult)
 

Private Member Functions

void InitConstraintList (void)
 
void InitConstraintTypeDlg (void)
 
void InitBodyLists (void)
 
void InitNewRenameDeleteButtons (void)
 

Private Attributes

idDeclAFfile
 
idDeclAF_Constraintconstraint
 
CDialog * constraintDlg
 
DialogAFConstraintFixedfixedDlg
 
DialogAFConstraintBallAndSocketballAndSocketDlg
 
DialogAFConstraintUniversaluniversalDlg
 
DialogAFConstraintHingehingeDlg
 
DialogAFConstraintSlidersliderDlg
 
DialogAFConstraintSpringspringDlg
 
CComboBox m_comboConstraintList
 
CComboBox m_comboConstraintType
 
CComboBox m_comboBody1List
 
CComboBox m_comboBody2List
 
float m_friction
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 39 of file DialogAFConstraint.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 52 of file DialogAFConstraint.h.

Constructor & Destructor Documentation

DialogAFConstraint::DialogAFConstraint ( CWnd *  pParent = NULL)

Definition at line 107 of file DialogAFConstraint.cpp.

DialogAFConstraint::~DialogAFConstraint ( )
virtual

Definition at line 123 of file DialogAFConstraint.cpp.

Member Function Documentation

void DialogAFConstraint::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 131 of file DialogAFConstraint.cpp.

void DialogAFConstraint::InitBodyLists ( void  )
private

Definition at line 223 of file DialogAFConstraint.cpp.

void DialogAFConstraint::InitConstraintList ( void  )
private

Definition at line 147 of file DialogAFConstraint.cpp.

void DialogAFConstraint::InitConstraintTypeDlg ( void  )
private

Definition at line 169 of file DialogAFConstraint.cpp.

void DialogAFConstraint::InitNewRenameDeleteButtons ( void  )
private

Definition at line 242 of file DialogAFConstraint.cpp.

void DialogAFConstraint::LoadConstraint ( const char *  name)

Definition at line 292 of file DialogAFConstraint.cpp.

void DialogAFConstraint::LoadFile ( idDeclAF af)

Definition at line 265 of file DialogAFConstraint.cpp.

void DialogAFConstraint::OnBnClickedButtonDeleteconstraint ( )
protected

Definition at line 504 of file DialogAFConstraint.cpp.

void DialogAFConstraint::OnBnClickedButtonNewconstraint ( )
protected

Definition at line 460 of file DialogAFConstraint.cpp.

void DialogAFConstraint::OnBnClickedButtonRenameconstraint ( )
protected

Definition at line 477 of file DialogAFConstraint.cpp.

void DialogAFConstraint::OnCbnSelchangeComboConstraintBody1 ( )
protected

Definition at line 533 of file DialogAFConstraint.cpp.

void DialogAFConstraint::OnCbnSelchangeComboConstraintBody2 ( )
protected

Definition at line 540 of file DialogAFConstraint.cpp.

void DialogAFConstraint::OnCbnSelchangeComboConstraints ( )
protected

Definition at line 453 of file DialogAFConstraint.cpp.

void DialogAFConstraint::OnCbnSelchangeComboConstraintType ( )
protected

Definition at line 528 of file DialogAFConstraint.cpp.

void DialogAFConstraint::OnDeltaposSpinConstraintFriction ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 556 of file DialogAFConstraint.cpp.

void DialogAFConstraint::OnEnChangeEditConstraintFriction ( )
protected

Definition at line 547 of file DialogAFConstraint.cpp.

BOOL DialogAFConstraint::OnInitDialog ( )
protectedvirtual

Definition at line 376 of file DialogAFConstraint.cpp.

void DialogAFConstraint::OnShowWindow ( BOOL  bShow,
UINT  nStatus 
)
protected

Definition at line 444 of file DialogAFConstraint.cpp.

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

Definition at line 417 of file DialogAFConstraint.cpp.

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

Definition at line 440 of file DialogAFConstraint.cpp.

void DialogAFConstraint::SaveConstraint ( void  )

Definition at line 334 of file DialogAFConstraint.cpp.

void DialogAFConstraint::SaveFile ( void  )

Definition at line 283 of file DialogAFConstraint.cpp.

void DialogAFConstraint::UpdateFile ( void  )

Definition at line 364 of file DialogAFConstraint.cpp.

Member Data Documentation

DialogAFConstraintBallAndSocket* DialogAFConstraint::ballAndSocketDlg
private

Definition at line 77 of file DialogAFConstraint.h.

idDeclAF_Constraint* DialogAFConstraint::constraint
private

Definition at line 74 of file DialogAFConstraint.h.

CDialog* DialogAFConstraint::constraintDlg
private

Definition at line 75 of file DialogAFConstraint.h.

idDeclAF* DialogAFConstraint::file
private

Definition at line 73 of file DialogAFConstraint.h.

DialogAFConstraintFixed* DialogAFConstraint::fixedDlg
private

Definition at line 76 of file DialogAFConstraint.h.

DialogAFConstraintHinge* DialogAFConstraint::hingeDlg
private

Definition at line 79 of file DialogAFConstraint.h.

CComboBox DialogAFConstraint::m_comboBody1List
private

Definition at line 86 of file DialogAFConstraint.h.

CComboBox DialogAFConstraint::m_comboBody2List
private

Definition at line 87 of file DialogAFConstraint.h.

CComboBox DialogAFConstraint::m_comboConstraintList
private

Definition at line 84 of file DialogAFConstraint.h.

CComboBox DialogAFConstraint::m_comboConstraintType
private

Definition at line 85 of file DialogAFConstraint.h.

float DialogAFConstraint::m_friction
private

Definition at line 88 of file DialogAFConstraint.h.

DialogAFConstraintSlider* DialogAFConstraint::sliderDlg
private

Definition at line 80 of file DialogAFConstraint.h.

DialogAFConstraintSpring* DialogAFConstraint::springDlg
private

Definition at line 81 of file DialogAFConstraint.h.

toolTip_t DialogAFConstraint::toolTips
staticprivate
Initial value:
= {
{ IDC_COMBO_CONSTRAINTS, "select contraint for editing" },
{ IDC_BUTTON_NEWCONSTRAINT, "create a new constraint" },
{ IDC_BUTTON_RENAMECONSTRAINT, "rename the selected constraint" },
{ IDC_BUTTON_DELETECONSTRAINT, "delete the selected constraint" },
{ IDC_COMBO_CONSTRAINT_TYPE, "constraint type" },
{ IDC_COMBO_CONSTRAINT_BODY1, "first constrained body" },
{ IDC_COMBO_CONSTRAINT_BODY2, "second constrained body" },
{ IDC_EDIT_CONSTRAINT_FRICTION, "constraint friction" },
{ 0, NULL }
}

Definition at line 91 of file DialogAFConstraint.h.

DialogAFConstraintUniversal* DialogAFConstraint::universalDlg
private

Definition at line 78 of file DialogAFConstraint.h.


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