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

  1. #if !defined(AFX_GENLODDLG_H__4431AA22_482A_11D1_B4AC_00A024805738__INCLUDED_)
  2. #define AFX_GENLODDLG_H__4431AA22_482A_11D1_B4AC_00A024805738__INCLUDED_
  3.  
  4. #if _MSC_VER >= 1000
  5. #pragma once
  6. #endif // _MSC_VER >= 1000
  7. // GenLodDlg.h : header file
  8. //
  9.  
  10. #include "newgenlod.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CGenLodDlg dialog
  14.  
  15. class CGenLodDlg : public CDialog
  16. {
  17. // Construction
  18. public:
  19.     CGenLodDlg(CWnd* pParent = NULL);   // standard constructor
  20.  
  21. // Dialog Data
  22.     //{{AFX_DATA(CGenLodDlg)
  23.     enum { IDD = IDD_GENLOD };
  24.     CListBox    m_PieceList;
  25.     CEdit    m_MinimumNodePolies;
  26.     CEdit    m_MaxEdgeLength;
  27.     CListBox    m_LODs;
  28.     float    m_PieceWeight;
  29.     //}}AFX_DATA
  30.  
  31.     // If they click Ok, then these will be set.
  32.     // The LODs should be initialized before starting the dialog.
  33.     BuildLODRequest    *m_pRequest;
  34.  
  35.  
  36.     void        FillLODList();
  37.     void        SortLODs();
  38.  
  39.  
  40. // Overrides
  41.     // ClassWizard generated virtual function overrides
  42.     //{{AFX_VIRTUAL(CGenLodDlg)
  43.     protected:
  44.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  45.     //}}AFX_VIRTUAL
  46.  
  47. // Implementation
  48. protected:
  49.  
  50.     // Generated message map functions
  51.     //{{AFX_MSG(CGenLodDlg)
  52.     virtual BOOL OnInitDialog();
  53.     virtual void OnOK();
  54.     afx_msg void OnEditLOD();
  55.     afx_msg void OnRemoveLOD();
  56.     afx_msg void OnAddLOD();
  57.     afx_msg void OnSelchangePiecelist();
  58.     afx_msg void OnUpdatePieceweight();
  59.     //}}AFX_MSG
  60.     DECLARE_MESSAGE_MAP()
  61. };
  62.  
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  65.  
  66. #endif // !defined(AFX_GENLODDLG_H__4431AA22_482A_11D1_B4AC_00A024805738__INCLUDED_)
  67.