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

#include <DialogAF.h>

Inheritance diagram for DialogAF:

Public Types

enum  { IDD = IDD_DIALOG_AF }
 

Public Member Functions

 DialogAF (CWnd *pParent=NULL)
 
virtual ~DialogAF ()
 
void LoadFile (idDeclAF *af)
 
void SaveFile (void)
 
void ReloadFile (void)
 
void SetFileModified (void)
 

Protected Member Functions

virtual BOOL OnInitDialog ()
 
virtual void DoDataExchange (CDataExchange *pDX)
 
afx_msg BOOL OnToolTipNotify (UINT id, NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnSetFocus (CWnd *pOldWnd)
 
afx_msg void OnDestroy ()
 
afx_msg void OnActivate (UINT nState, CWnd *pWndOther, BOOL bMinimized)
 
afx_msg void OnMove (int x, int y)
 
afx_msg void OnTcnSelchangeTabMode (NMHDR *pNMHDR, LRESULT *pResult)
 
afx_msg void OnCbnSelchangeComboAf ()
 
afx_msg void OnBnClickedButtonAfNew ()
 
afx_msg void OnBnClickedButtonAfDelete ()
 
afx_msg void OnBnClickedButtonAfSpawn ()
 
afx_msg void OnBnClickedButtonAfTpose ()
 
afx_msg void OnBnClickedButtonAfKill ()
 
afx_msg void OnBnClickedButtonAfSave ()
 
afx_msg void OnBnClickedCancel ()
 

Private Member Functions

void InitAFList (void)
 
void AddTabItem (int id, const char *name)
 
void SetTab (int id)
 
void SetTabChildPos (void)
 

Private Attributes

CTabCtrl * wndTabs
 
CWnd * wndTabDisplay
 
DialogAFViewviewDlg
 
DialogAFPropertiespropertiesDlg
 
DialogAFBodybodyDlg
 
DialogAFConstraintconstraintDlg
 
idDeclAFfile
 
CComboBox AFList
 

Static Private Attributes

static toolTip_t toolTips []
 

Detailed Description

Definition at line 40 of file DialogAF.h.

Member Enumeration Documentation

anonymous enum
Enumerator
IDD 

Definition at line 52 of file DialogAF.h.

Constructor & Destructor Documentation

DialogAF::DialogAF ( CWnd *  pParent = NULL)

Definition at line 77 of file DialogAF.cpp.

DialogAF::~DialogAF ( )
virtual

Definition at line 90 of file DialogAF.cpp.

Member Function Documentation

void DialogAF::AddTabItem ( int  id,
const char *  name 
)
private

Definition at line 188 of file DialogAF.cpp.

void DialogAF::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 98 of file DialogAF.cpp.

void DialogAF::InitAFList ( void  )
private

Definition at line 173 of file DialogAF.cpp.

void DialogAF::LoadFile ( idDeclAF af)

Definition at line 110 of file DialogAF.cpp.

void DialogAF::OnActivate ( UINT  nState,
CWnd *  pWndOther,
BOOL  bMinimized 
)
protected

Definition at line 378 of file DialogAF.cpp.

void DialogAF::OnBnClickedButtonAfDelete ( )
protected

Definition at line 518 of file DialogAF.cpp.

void DialogAF::OnBnClickedButtonAfKill ( )
protected

Definition at line 559 of file DialogAF.cpp.

void DialogAF::OnBnClickedButtonAfNew ( )
protected

Definition at line 488 of file DialogAF.cpp.

void DialogAF::OnBnClickedButtonAfSave ( )
protected

Definition at line 568 of file DialogAF.cpp.

void DialogAF::OnBnClickedButtonAfSpawn ( )
protected

Definition at line 534 of file DialogAF.cpp.

void DialogAF::OnBnClickedButtonAfTpose ( )
protected

Definition at line 548 of file DialogAF.cpp.

void DialogAF::OnBnClickedCancel ( )
protected

Definition at line 585 of file DialogAF.cpp.

void DialogAF::OnCbnSelchangeComboAf ( )
protected

Definition at line 470 of file DialogAF.cpp.

void DialogAF::OnDestroy ( )
protected

Definition at line 406 of file DialogAF.cpp.

BOOL DialogAF::OnInitDialog ( )
protectedvirtual

Definition at line 234 of file DialogAF.cpp.

void DialogAF::OnMove ( int  x,
int  y 
)
protected

Definition at line 418 of file DialogAF.cpp.

void DialogAF::OnSetFocus ( CWnd *  pOldWnd)
protected

Definition at line 396 of file DialogAF.cpp.

void DialogAF::OnTcnSelchangeTabMode ( NMHDR *  pNMHDR,
LRESULT *  pResult 
)
protected

Definition at line 434 of file DialogAF.cpp.

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

Definition at line 387 of file DialogAF.cpp.

void DialogAF::ReloadFile ( void  )

Definition at line 164 of file DialogAF.cpp.

void DialogAF::SaveFile ( void  )

Definition at line 137 of file DialogAF.cpp.

void DialogAF::SetFileModified ( void  )

Definition at line 152 of file DialogAF.cpp.

void DialogAF::SetTab ( int  id)
private

Definition at line 201 of file DialogAF.cpp.

void DialogAF::SetTabChildPos ( void  )
private

Definition at line 222 of file DialogAF.cpp.

Member Data Documentation

CComboBox DialogAF::AFList
private

Definition at line 85 of file DialogAF.h.

DialogAFBody* DialogAF::bodyDlg
private

Definition at line 79 of file DialogAF.h.

DialogAFConstraint* DialogAF::constraintDlg
private

Definition at line 80 of file DialogAF.h.

idDeclAF* DialogAF::file
private

Definition at line 82 of file DialogAF.h.

DialogAFProperties* DialogAF::propertiesDlg
private

Definition at line 78 of file DialogAF.h.

toolTip_t DialogAF::toolTips
staticprivate
Initial value:
= {
{ IDC_COMBO_AF, "select an articulated figure for editing" },
{ IDC_BUTTON_AF_NEW, "create a new articulated figure" },
{ IDC_BUTTON_AF_DELETE, "delete the selected articulated figure" },
{ IDC_BUTTON_AF_SPAWN, "spawn ingame entity using the selected articulated figure" },
{ IDC_BUTTON_AF_TPOSE, "set ingame entity using the selected articulated figure back into T-Pose" },
{ IDC_BUTTON_AF_KILL, "kill ingame entity using the selected articulated figure" },
{ IDC_BUTTON_AF_SAVE, "save the selected articulated figure" },
{ IDCANCEL, "cancel all changes to all articulated figures" },
{ 0, NULL }
}

Definition at line 88 of file DialogAF.h.

DialogAFView* DialogAF::viewDlg
private

Definition at line 77 of file DialogAF.h.

CWnd* DialogAF::wndTabDisplay
private

Definition at line 76 of file DialogAF.h.

CTabCtrl* DialogAF::wndTabs
private

Definition at line 75 of file DialogAF.h.


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