📄 recimage.h
字号:
#if !defined(AFX_RECIMAGE_H__8EEC95A1_5CC1_11D4_9FD5_5254ABDD2B16__INCLUDED_)
#define AFX_RECIMAGE_H__8EEC95A1_5CC1_11D4_9FD5_5254ABDD2B16__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RecImage.h : header file
//
#include "okapi32.h"
/////////////////////////////////////////////////////////////////////////////
// RecImage dialog
class RecImage : public CDialog
{
// Construction
public:
void SaveDataToDisk();
RecImage(CWnd* pParent = NULL); // standard constructor
void SetDispMode();
afx_msg void PlayBackSeq( WPARAM wParm, LPARAM lParm);
afx_msg void CapturePIcOne( WPARAM wParm, LPARAM lParm);
afx_msg void mSetDispMode( WPARAM wParm, LPARAM lParm);
afx_msg void mSetRecBri( WPARAM wParm, LPARAM lParm);
afx_msg void mSetRecCon( WPARAM wParm, LPARAM lParm);
afx_msg void mSetRecFrq( WPARAM wParm, LPARAM lParm);
afx_msg void mSetRecClp( WPARAM wParm, LPARAM lParm);
afx_msg void mSetRecSrc( WPARAM wParm, LPARAM lParm);
afx_msg void mSetRecSyn( WPARAM wParm, LPARAM lParm);
afx_msg void mSetRecStn( WPARAM wParm, LPARAM lParm);
void CaptureOne( char *fn );
static bool bBackCap;
static bool bForwordCap;
HANDLE hpcih; //handle for PCIH
int nScrnWidth;
int nScrnHeight;
int nScrnBitsPixel;
BOOL bFreeze;
BOOL bClip;
CRect DisplayRect;
CBitmap* pScrnBMP;
CDC* pScrnImageMemDC;
CPalette* pScrnPalette;
CRect VideoRect;
CPoint VideoStart;
SCROLLINFO HSBClipInfo;
SCROLLINFO VSBClipInfo;
int nADBrig;
int nADCont;
int nADFreq;
BOOL bPassFailed;
int nHInterWidth;
int nHScanStart;
int nHPeriod;
int nVSyncWidth;
int nFieldRate;
int nOutpMode;
int nSyncMode;
int nTopF;
int nBWMode;
BOOL bInterlace;
BOOL bFreqScope;
int nDCRT;
int nDispMode;
bool freeze;
void OnOK();
virtual void OnCancel();
void CloseRecImage();
int CapturedNum;
char ImagePath[500];
// Dialog Data
//{{AFX_DATA(RecImage)
enum { IDD = IDD_REC };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(RecImage)
public:
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
protected:
CString sInfo;
// Generated message map functions
//{{AFX_MSG(RecImage)
virtual BOOL OnInitDialog();
afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
afx_msg void OnClose();
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RECIMAGE_H__8EEC95A1_5CC1_11D4_9FD5_5254ABDD2B16__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -