?? sampbox.h
字號(hào):
#ifndef _SAMPBOX_
#define _SAMPBOX_
#include "macro.h"
#include "pallete.h"
#include "saveBox.h"
class TSampbox : public TObject
{
public:
//顯示界面
TPallete *pallete;
//界面標(biāo)題
TLabel *titleLb;
//控制面板
TGroupBox *ctrBox;
//---------------------------
//開始采樣
TSpeedButton *sampStartBt;
//采樣模式控制
TSpeedButton *sampCtrBt;
TGroupBox *sampGrpBox;
TCheckBox *rlTmCheckBox;
TCheckBox *contiuCheckBox;
TLabel *frameNumLb;
TEdit *frameNumEd;
TLabel *expTimeLb;
TEdit *expTimeEd;
TButton *sampCtrSureBt;
TButton *sampCtrCancelBt;
//---------------------------
//文件操作
TSpeedButton *fileOpenBt;
TOpenDialog *openFileDialog;
TSpeedButton *fileSaveBt;
TSavebox *fileSaveBox;
//---------------------------
TStatusBar *statusBar;
//---------------------------
TTimer *sampTm;
unsigned int ** pData;
protected:
// unsigned int ** pData;
unsigned int frameNum;
unsigned int pixelNum;
//---------------------------
bool contiuSamp;
unsigned int exportTime;
public:
__fastcall TSampbox(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);
virtual void __fastcall startBtClick(TObject *Sender)=0;
void __fastcall sampCtrBtClick(TObject *Sender);
void __fastcall rlTmCheckBoxClick(TObject *Sender);
void __fastcall contiuCheckBoxClick(TObject *Sender);
virtual void __fastcall sampCtrSureBtClick(TObject *Sender)=0;
void __fastcall sampCtrCancelBtClick(TObject *Sender);
void __fastcall fileOpenBtClick(TObject *Sender);
void __fastcall fileSaveBtClick(TObject *Sender);
virtual void __fastcall sampTmTimer(TObject *Sender)=0;
__fastcall ~TSampbox();
};
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -