리크 테스트 gui
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

62 lines
1.2 KiB

// 9222WavDlg.h : header file
//
#include "Dask64.h"
#pragma once
// C9222WavDlg dialog
class C9222WavDlg : public CDialog
{
// Construction
public:
C9222WavDlg(I16 hCard, CWnd* pParent = NULL); // standard constructor
// Dialog Data
enum { IDD = IDD_MY9222WAV_DIALOG };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
// Implementation
protected:
HICON m_hIcon;
I16 m_hCard;
UINT_PTR m_nTimer;
U16* m_pDIAddr;
U32 m_dwDISamples;
HBRUSH OnBrush;
HBRUSH OffBrush;
CPen RedPen;
CPen GreenPen;
DWORD max_val;
DWORD min_val;
int y_divider;
int x_divider;
int m_DisplayScale;
double m_fSampleRate;
U16 m_wDOBufferId;
U16 m_wDIBufferId;
U16 m_wReTrigCount;
// 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:
afx_msg void OnDestroy();
afx_msg void OnStart();
afx_msg void OnStop();
afx_msg void OnTimer(UINT_PTR nIDEvent);
void display_buffer_data(U16* pBuf);
void redraw_display_area(void);
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
private:
int n_PlotHeight;
int n_PlotWidth;
};