00001
00010 #if !defined(AFX_PUPPETMASTERDLG_H__B4190A34_0954_4257_B239_69C1678CDCD7__INCLUDED_)
00011 #define AFX_PUPPETMASTERDLG_H__B4190A34_0954_4257_B239_69C1678CDCD7__INCLUDED_
00012
00013 #if _MSC_VER > 1000
00014 #pragma once
00015 #endif // _MSC_VER > 1000
00016
00017 #include <map>
00018 using namespace std;
00019
00020
00021 #include "HashMania.h"
00022
00024 extern dropHash daHash;
00025
00027 extern dropHashPtr pointDaHash;
00028
00030 extern leafHash lHash;
00031
00033 extern leafHashPtr lHashPtr;
00034
00036 extern char PuppetMasterPath[255];
00037
00039 class CPuppetMasterDlg : public CDialog
00040 {
00041 private:
00043
00046 void addMidiDevice(unsigned int id);
00047
00049
00052 void addJoystickDevice(unsigned int id);
00053
00054 public:
00056
00059 CPuppetMasterDlg(CWnd* pParent = NULL);
00060
00061
00062
00063 enum { IDD = IDD_PUPPETMASTER_DIALOG };
00064 CComboBox m_ServerCombo;
00065 CButton m_StopSessionButton;
00066 CButton m_StartSessionButton;
00067 CTreeCtrl m_MainTree;
00068 CListBox m_ControlListBox;
00069 CStatic m_MODEL9;
00070 CStatic m_MODEL8;
00071 CStatic m_MODEL7;
00072 CStatic m_MODEL6;
00073 CStatic m_MODEL5;
00074 CStatic m_MODEL4;
00075 CStatic m_MODEL3;
00076 CStatic m_MODEL2;
00077 CStatic m_MODEL1;
00078 CComboBox m_ComboBox;
00079 CStatic m_JoyControl2;
00080 CEdit m_DebugBox;
00081 CStatic m_JoyControl1;
00082
00083
00084
00085
00086 public:
00087 virtual BOOL DestroyWindow();
00088 protected:
00089 virtual void DoDataExchange(CDataExchange* pDX);
00090
00091
00092
00093 protected:
00094 HICON m_hIcon;
00095
00096
00097
00098 virtual BOOL OnInitDialog();
00099 afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
00100 afx_msg void OnPaint();
00101 afx_msg HCURSOR OnQueryDragIcon();
00102 afx_msg void OnChangeEdit1();
00103 afx_msg void OnExit();
00104 afx_msg void OnNewpuppetmastersetting();
00105 afx_msg void OnHelpAbout();
00106 afx_msg void OnHelpBox();
00107 afx_msg void OnOpenpuppetmastersetting();
00108 afx_msg void OnEditchangeCombo2();
00109 afx_msg void OnFileOpenpuppetmastersetting();
00110 afx_msg void OnButton1();
00111 afx_msg void OnSelchangeCombo1();
00112 afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
00113 afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);
00114 afx_msg void OnSelchangedTree2(NMHDR* pNMHDR, LRESULT* pResult);
00115 afx_msg void OnSelchangeControllers();
00116 afx_msg void OnStopsession();
00117 afx_msg void OnStartsession();
00118 afx_msg void OnSelchangeServercombo();
00119 afx_msg void OnControl1();
00120 afx_msg void OnControl2();
00121 afx_msg void OnModel0();
00122 afx_msg void OnModel1();
00123 afx_msg void OnModel2();
00124 afx_msg void OnModel3();
00125 afx_msg void OnModel4();
00126 afx_msg void OnModel5();
00127 afx_msg void OnModel6();
00128 afx_msg void OnModel7();
00129 afx_msg void OnModel8();
00130 afx_msg void OnModel9();
00131
00132 DECLARE_MESSAGE_MAP()
00133 };
00134
00135
00136
00137
00138 #endif