📄 plxbox.h
字号:
#ifndef _PLXBOX_
#define _PLXBOX_
#include "macro.h"
#include "sampBox.h"
//---------------------------
#include "../../lib/p9054_lib.h"
#include "../../../../samples/shared/pci_diag_lib.h"
class TPlxbox : public TSampbox
{
public:
protected:
P9054_HANDLE hPlx;
P9054_DMA_HANDLE pDMA;
unsigned int regData;
unsigned int dmaLength;
unsigned int *plxSourceData;
public:
__fastcall TPlxbox(TComponent* Owner,TForm *parent,
int palleteLeft,int palleteTop,int palleteWidth,int palleteHeight,
int ctrBoxLeft,int ctrBoxTop,int ctrBoxWidth,int ctrBoxHeight,
unsigned int v_frameNum,unsigned int v_pixelNum);
void __fastcall plxCardCheck();
virtual void __fastcall startBtClick(TObject *Sender);
virtual void __fastcall sampCtrSureBtClick(TObject *Sender);
virtual void __fastcall sampTmTimer(TObject *Sender);
__fastcall ~TPlxbox();
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -