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

  1. #ifndef IMPORTLODDLG_H
  2. #define IMPORTLODDLG_H
  3.  
  4. #pragma once
  5.  
  6. #include "ModelEditDlg.h"
  7.  
  8.  
  9. // dialog used to import custom piece LODs
  10. class CImportLODDlg : public CDialog
  11. {
  12. public:
  13.     CImportLODDlg( CWnd* parent = NULL );
  14.  
  15.     // template for this dialog
  16.     enum { IDD = IDD_IMPORT_LODS };
  17.  
  18.     // dialog data set by the caller
  19.     Model* m_ImportModel;                    // the model that LODs are being imported from
  20.     Model* m_CurrentModel;                    // the model currently being edited in ModelEdit
  21.     CModelEditDlg* m_ModelEditDlg;            // the main ModelEdit dialog
  22.  
  23.     // dialog data passed back to the caller
  24.     std::vector<PieceLODInfo> m_Selection;    // the selected LODs
  25.  
  26. protected:
  27.     CLTWinTreeMgr m_PieceList;
  28.  
  29.     virtual void DoDataExchange( CDataExchange* pDX );
  30.     DECLARE_MESSAGE_MAP()
  31.  
  32.     virtual BOOL OnInitDialog();
  33.  
  34.     // context menu stuff for the piece list
  35.     void OnContextMenu( CWnd* pWnd, CPoint point );
  36.     void OnPieceExpandAll();
  37.     void OnPieceCollapseAll();
  38. };
  39.  
  40.  
  41. #endif // IMPORTLODDLG_H