doom3-gpl
Doom 3 GPL source release
|
#include <PreviewDlg.h>
Public Types | |
enum | { MODELS, GUIS, SOUNDS, MATERIALS, SCRIPTS, SOUNDPARENT, WAVES, PARTICLES, MODELPARENT, GUIPARENT, COMMENTED, SKINS } |
enum | { IDD = IDD_DIALOG_PREVIEW } |
Public Member Functions | |
CPreviewDlg (CWnd *pParent=NULL) | |
virtual | ~CPreviewDlg () |
void | SetMode (int mode, const char *preSelect=NULL) |
void | RebuildTree (const char *data) |
void | SetDisablePreview (bool b) |
bool | Waiting () |
void | SetModal () |
afx_msg void | OnTvnSelchangedTreeMedia (NMHDR *pNMHDR, LRESULT *pResult) |
virtual BOOL | Create (LPCTSTR lpszTemplateName, CWnd *pParentWnd=NULL) |
afx_msg void | OnBnClickedButtonReload () |
afx_msg void | OnBnClickedButtonAdd () |
afx_msg void | OnBnClickedButtonPlay () |
Public Attributes | |
idStr | mediaName |
int | returnCode |
Protected Member Functions | |
virtual void | DoDataExchange (CDataExchange *pDX) |
void | BuildTree () |
void | AddStrList (const char *root, const idStrList &list, int type) |
void | AddSounds (bool rootItems) |
void | AddMaterials (bool rootItems) |
void | AddParticles (bool rootItems) |
void | AddSkins (bool rootItems) |
virtual void | OnCancel () |
virtual void | OnOK () |
virtual void | OnShowWindow (BOOL bShow, UINT status) |
Private Member Functions | |
virtual BOOL | OnInitDialog () |
void | AddCommentedItems () |
Private Attributes | |
CTreeCtrl | treeMedia |
CEdit | editInfo |
HTREEITEM | commentItem |
CImageList | m_image |
idGLDrawable | m_testDrawable |
idGLDrawableMaterial | m_drawMaterial |
idGLDrawableModel | m_drawModel |
idGLWidget | wndPreview |
idHashTable< HTREEITEM > | quickTree |
idList< CommentedItem > | items |
int | currentMode |
idStr | data |
bool | disablePreview |
Definition at line 41 of file PreviewDlg.h.
anonymous enum |
Enumerator | |
---|---|
MODELS | |
GUIS | |
SOUNDS | |
MATERIALS | |
SCRIPTS | |
SOUNDPARENT | |
WAVES | |
PARTICLES | |
MODELPARENT | |
GUIPARENT | |
COMMENTED | |
SKINS |
Definition at line 44 of file PreviewDlg.h.
anonymous enum |
Enumerator | |
---|---|
IDD |
Definition at line 59 of file PreviewDlg.h.
CPreviewDlg::CPreviewDlg | ( | CWnd * | pParent = NULL | ) |
Definition at line 45 of file PreviewDlg.cpp.
|
virtual |
Definition at line 52 of file PreviewDlg.cpp.
|
private |
Definition at line 141 of file PreviewDlg.cpp.
Definition at line 596 of file PreviewDlg.cpp.
Definition at line 616 of file PreviewDlg.cpp.
Definition at line 634 of file PreviewDlg.cpp.
Definition at line 490 of file PreviewDlg.cpp.
Definition at line 179 of file PreviewDlg.cpp.
|
protected |
Definition at line 102 of file PreviewDlg.cpp.
Definition at line 409 of file PreviewDlg.cpp.
|
protectedvirtual |
Definition at line 56 of file PreviewDlg.cpp.
void CPreviewDlg::OnBnClickedButtonAdd | ( | ) |
Definition at line 454 of file PreviewDlg.cpp.
void CPreviewDlg::OnBnClickedButtonPlay | ( | ) |
Definition at line 592 of file PreviewDlg.cpp.
void CPreviewDlg::OnBnClickedButtonReload | ( | ) |
Definition at line 448 of file PreviewDlg.cpp.
|
protectedvirtual |
Definition at line 416 of file PreviewDlg.cpp.
|
privatevirtual |
Definition at line 75 of file PreviewDlg.cpp.
|
protectedvirtual |
Definition at line 428 of file PreviewDlg.cpp.
Definition at line 665 of file PreviewDlg.cpp.
void CPreviewDlg::OnTvnSelchangedTreeMedia | ( | NMHDR * | pNMHDR, |
LRESULT * | pResult | ||
) |
Definition at line 279 of file PreviewDlg.cpp.
Definition at line 135 of file PreviewDlg.cpp.
Definition at line 49 of file PreviewDlg.h.
void CPreviewDlg::SetModal | ( | ) |
Definition at line 445 of file PreviewDlg.cpp.
Definition at line 527 of file PreviewDlg.cpp.
bool CPreviewDlg::Waiting | ( | ) |
Definition at line 440 of file PreviewDlg.cpp.
|
private |
Definition at line 65 of file PreviewDlg.h.
|
private |
Definition at line 74 of file PreviewDlg.h.
|
private |
Definition at line 76 of file PreviewDlg.h.
|
private |
Definition at line 77 of file PreviewDlg.h.
|
private |
Definition at line 64 of file PreviewDlg.h.
|
private |
Definition at line 72 of file PreviewDlg.h.
|
private |
Definition at line 68 of file PreviewDlg.h.
|
private |
Definition at line 69 of file PreviewDlg.h.
|
private |
Definition at line 66 of file PreviewDlg.h.
|
private |
Definition at line 67 of file PreviewDlg.h.
idStr CPreviewDlg::mediaName |
Definition at line 53 of file PreviewDlg.h.
|
private |
Definition at line 71 of file PreviewDlg.h.
int CPreviewDlg::returnCode |
Definition at line 54 of file PreviewDlg.h.
|
private |
Definition at line 63 of file PreviewDlg.h.
|
private |
Definition at line 70 of file PreviewDlg.h.