// DAsampDlg.h : header file // #if !defined(AFX_DASAMPDLG_H__039E995A_0F66_43DC_8A8E_8B96253A5F80__INCLUDED_) #define AFX_DASAMPDLG_H__039E995A_0F66_43DC_8A8E_8B96253A5F80__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 ///////////////////////////////////////////////////////////////////////////// // CDAsampDlg dialog #pragma pack(1) struct TDACPoint { unsigned short X, Y, R, G, B; }; #pragma pack() #define FullCircle 6.283185307179586476925286766559 class CDAsampDlg : public CDialog { // Construction public: // UINT process(LPVOID pParam); CDAsampDlg(CWnd* pParent = NULL); // standard constructor TDACPoint DACData[8]; double Rot; unsigned long DeviceIndex; bool killthread; CWinThread *myThread; // Dialog Data //{{AFX_DATA(CDAsampDlg) enum { IDD = IDD_DASAMP_DIALOG }; CString m_log; //}}AFX_DATA // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CDAsampDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: HICON m_hIcon; // Generated message map functions //{{AFX_MSG(CDAsampDlg) virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); afx_msg void OnButtonStart(); afx_msg void OnButtonStop(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_DASAMPDLG_H__039E995A_0F66_43DC_8A8E_8B96253A5F80__INCLUDED_)