00001 // DialogDlg.h : header file 00002 // 00003 00004 #pragma once 00005 #include "OpenGLControl.h" 00006 #include "types.h" 00007 00008 // CDialogDlg dialog 00009 class CDialogDlg : public CDialog 00010 { 00011 // Construction 00012 public: 00013 CDialogDlg(CWnd* pParent = NULL); // standard constructor 00014 00015 // Dialog Data 00016 enum { IDD = IDD_DIALOG_DIALOG }; 00017 00018 protected: 00019 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00020 00021 00022 // Implementation 00023 protected: 00024 COpenGLControl m_oglWindow; 00025 COpenGLControl m_oglWindow2; 00026 00027 model_t *m_Model; 00028 int m_iSelectedBone; 00029 HICON m_hIcon; 00030 00031 // Generated message map functions 00032 virtual BOOL OnInitDialog(); 00033 afx_msg void OnSysCommand(UINT nID, LPARAM lParam); 00034 afx_msg void OnPaint(); 00035 afx_msg void OnSize(UINT nType, int cx, int cy); 00036 afx_msg HCURSOR OnQueryDragIcon(); 00037 DECLARE_MESSAGE_MAP() 00038 00039 void LoadModel(char* file); 00040 00041 public: 00042 afx_msg void OnBnClickedOk(); 00043 afx_msg void OnBnClickedCancel(); 00044 afx_msg void OnNMCustomdrawSliderRotation(NMHDR *pNMHDR, LRESULT *pResult); 00045 afx_msg void OnNMReleasedcaptureSliderRotation(NMHDR *pNMHDR, LRESULT *pResult); 00046 afx_msg void OnLbnSelchangeList2(); 00047 afx_msg void OnBnClickedButton1(); 00048 afx_msg void OnBnClickedCheckBb(); 00049 afx_msg void OnBnClickedCheckVoutline(); 00050 afx_msg void OnFileOpen32771(); 00051 afx_msg void OnBnClickedCheckShowmesh(); 00052 afx_msg void OnBnClickedButtonStore(); 00053 afx_msg void OnBnClickedButtonResetCam1(); 00054 afx_msg void OnBnClickedButtonResetMod1(); 00055 afx_msg void OnBnClickedButtonPlay(); 00056 afx_msg void OnBnClickedButtonSelkeyframe(); 00057 afx_msg void OnBnClickedButtonReplace(); 00058 afx_msg void OnBnClickedButtonRebuild(); 00059 afx_msg void OnBnClickedButtonClearanim(); 00060 afx_msg void OnBnClickedButtonStoreanim(); 00061 afx_msg void OnBnClickedButtonSelanim(); 00062 afx_msg void OnDropFiles(HDROP hDropInfo); 00063 afx_msg void OnEnChangeBangle(); 00064 };