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 | Protected Attributes | List of all members
CMediaPreviewDlg Class Reference

#include <MediaPreviewDlg.h>

Inheritance diagram for CMediaPreviewDlg:

Public Types

enum  { MATERIALS, GUIS }
 
enum  { IDD = IDD_DIALOG_EDITPREVIEW }
 

Public Member Functions

 CMediaPreviewDlg (CWnd *pParent=NULL)
 
virtual ~CMediaPreviewDlg ()
 
void SetMode (int _mode)
 
void SetMedia (const char *_media)
 
void Refresh ()
 
virtual BOOL OnInitDialog ()
 
afx_msg void OnSize (UINT nType, int cx, int cy)
 
afx_msg void OnDestroy ()
 
afx_msg void OnLButtonDown (UINT nFlags, CPoint point)
 
afx_msg void OnLButtonUp (UINT nFlags, CPoint point)
 
afx_msg void OnMouseMove (UINT nFlags, CPoint point)
 

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
 

Protected Attributes

idGLDrawable testDrawable
 
idGLDrawableMaterial drawMaterial
 
idGLWidget wndPreview
 
int mode
 
idStr media
 

Detailed Description

Definition at line 33 of file MediaPreviewDlg.h.

Member Enumeration Documentation

anonymous enum
Enumerator
MATERIALS 
GUIS 

Definition at line 38 of file MediaPreviewDlg.h.

anonymous enum
Enumerator
IDD 

Definition at line 50 of file MediaPreviewDlg.h.

Constructor & Destructor Documentation

CMediaPreviewDlg::CMediaPreviewDlg ( CWnd *  pParent = NULL)

Definition at line 40 of file MediaPreviewDlg.cpp.

CMediaPreviewDlg::~CMediaPreviewDlg ( )
virtual

Definition at line 68 of file MediaPreviewDlg.cpp.

Member Function Documentation

void CMediaPreviewDlg::DoDataExchange ( CDataExchange *  pDX)
protectedvirtual

Definition at line 72 of file MediaPreviewDlg.cpp.

void CMediaPreviewDlg::OnDestroy ( )

Definition at line 122 of file MediaPreviewDlg.cpp.

BOOL CMediaPreviewDlg::OnInitDialog ( )
virtual

Definition at line 90 of file MediaPreviewDlg.cpp.

void CMediaPreviewDlg::OnLButtonDown ( UINT  nFlags,
CPoint  point 
)

Definition at line 133 of file MediaPreviewDlg.cpp.

void CMediaPreviewDlg::OnLButtonUp ( UINT  nFlags,
CPoint  point 
)

Definition at line 149 of file MediaPreviewDlg.cpp.

void CMediaPreviewDlg::OnMouseMove ( UINT  nFlags,
CPoint  point 
)

Definition at line 165 of file MediaPreviewDlg.cpp.

void CMediaPreviewDlg::OnSize ( UINT  nType,
int  cx,
int  cy 
)

Definition at line 109 of file MediaPreviewDlg.cpp.

void CMediaPreviewDlg::Refresh ( void  )

Definition at line 52 of file MediaPreviewDlg.cpp.

void CMediaPreviewDlg::SetMedia ( const char *  _media)

Definition at line 47 of file MediaPreviewDlg.cpp.

void CMediaPreviewDlg::SetMode ( int  _mode)
inline

Definition at line 42 of file MediaPreviewDlg.h.

Member Data Documentation

idGLDrawableMaterial CMediaPreviewDlg::drawMaterial
protected

Definition at line 54 of file MediaPreviewDlg.h.

idStr CMediaPreviewDlg::media
protected

Definition at line 57 of file MediaPreviewDlg.h.

int CMediaPreviewDlg::mode
protected

Definition at line 56 of file MediaPreviewDlg.h.

idGLDrawable CMediaPreviewDlg::testDrawable
protected

Definition at line 53 of file MediaPreviewDlg.h.

idGLWidget CMediaPreviewDlg::wndPreview
protected

Definition at line 55 of file MediaPreviewDlg.h.


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