home *** CD-ROM | disk | FTP | other *** search
/ Xentax forum attachments archive / xentax.7z / 8090 / ModelEdit.7z / PieceMaterialDlg.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-03-08  |  1.7 KB  |  63 lines

  1. #if !defined(AFX_PIECEMATERIALDLG_H__ECCECBD7_F78F_42CD_9746_157CE5EAB27A__INCLUDED_)
  2. #define AFX_PIECEMATERIALDLG_H__ECCECBD7_F78F_42CD_9746_157CE5EAB27A__INCLUDED_
  3.  
  4. #if _MSC_VER > 1000
  5. #pragma once
  6. #endif // _MSC_VER > 1000
  7. // PieceMaterialDlg.h : header file
  8. //
  9.  
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CPieceMaterialDlg dialog
  12.  
  13. // Includes....
  14.  
  15. #include "model.h"
  16. #include "ModelEditDlg.h"
  17. #include <vector>
  18.  
  19. using namespace std;
  20.  
  21.  
  22. class CPieceMaterialDlg : public CDialog
  23. {
  24. // Construction
  25. public:
  26.     CPieceMaterialDlg( const vector<PieceLODInfo>& selection, CWnd* pParent = NULL );   // standard constructor
  27.  
  28.     void                UpdateEnabledStatus();
  29.  
  30.     vector<PieceLODInfo> m_Selection;        // the currently selected piece LODs
  31.     bool m_LODDistChanged;                    // set to true on exit if any lod distances have been changed
  32.     float m_StartDist;                        // lod distance when dialog is launched
  33.  
  34. // Dialog Data
  35.     //{{AFX_DATA(CPieceMaterialDlg)
  36.     enum { IDD = IDD_PIECEMATERIAL };
  37.         // NOTE: the ClassWizard will add data members here
  38.     //}}AFX_DATA
  39.  
  40.  
  41. // Overrides
  42.     // ClassWizard generated virtual function overrides
  43.     //{{AFX_VIRTUAL(CPieceMaterialDlg)
  44.     protected:
  45.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  46.     //}}AFX_VIRTUAL
  47.  
  48. // Implementation
  49. protected:
  50.  
  51.     // Generated message map functions
  52.     //{{AFX_MSG(CPieceMaterialDlg)
  53.     afx_msg void OnSelNumTextures();
  54.     virtual BOOL OnInitDialog();
  55.     //}}AFX_MSG
  56.     DECLARE_MESSAGE_MAP()
  57. };
  58.  
  59. //{{AFX_INSERT_LOCATION}}
  60. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  61.  
  62. #endif // !defined(AFX_PIECEMATERIALDLG_H__ECCECBD7_F78F_42CD_9746_157CE5EAB27A__INCLUDED_)
  63.