// 9113intDlg.h : header file #pragma once #include "afxcmn.h" #include "afxwin.h" #include "Dask64.h" // C9113intDlg dialog class C9113intDlg : public CDialog { // Construction public: C9113intDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor // Dialog Data enum { IDD = IDD_9113INT_DIALOG }; protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support // Implementation protected: HICON m_hIcon; UINT_PTR m_nTimer; I16 m_hCard; double m_fSampleRate; U16 m_wScanChans; HANDLE m_hMem; U32 *m_pAIBuf; U16 m_wRange; int m_oldY[8]; int m_oldX[8]; // Generated message map functions virtual BOOL OnInitDialog(); afx_msg void OnSysCommand(UINT nID, LPARAM lParam); afx_msg void OnPaint(); afx_msg HCURSOR OnQueryDragIcon(); DECLARE_MESSAGE_MAP() public: WORD max_val; WORD min_val; double max_range; double min_range; int n_PlotWidth; int n_PlotHeight; int y_divider; int x_divider; int m_DisplayScale; HBRUSH OnBrush; HBRUSH OffBrush; CPen RedPen; CPen GreenPen; CPen YellowPen; CPen BluePen; CPen LTBluePen; CPen LTRedPen; CPen LTGreenPen; CPen WhitePen; void redraw_display_area(void); afx_msg void OnDestroy(); CComboBox m_cbScanChans; afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); afx_msg void OnScanChanSelchange(); afx_msg void OnStart(); int display_buffer_data(U32* pBuf); };