Files
envi-code/SourceCode/Code2026/tg_shs/shs_kerncmd/LineVideoDlg.h
T
2026-09-28 15:28:50 +08:00

74 lines
1.6 KiB
C++

#if !defined(AFX_LINEVIDEODLG_H__22231597_A1E4_4C81_988D_F06783B8C43B__INCLUDED_)
#define AFX_LINEVIDEODLG_H__22231597_A1E4_4C81_988D_F06783B8C43B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LineVideoDlg.h : header file
//
#include "Resource.h"
#include "writeavi.h" //pathdlg has included
class CLineVideoDlg : public GlwCAcUiDialog
{
public:
CLineVideoDlg(CWnd* pParent = NULL); // standard constructor
//{{AFX_DATA(CLineVideoDlg)
enum { IDD = IDD_VIDEO_SETTING_LINE };
//}}AFX_DATA
static BOOL m_bRender;
static int m_nFrameNum;
static int m_nRate;
static int m_nColorNum;
BOOL m_bInit; //构造器初始化成功!
XPoly2D m_pathCamera;
Entity m_ePathCam;
int m_nCount; //定时器计数器
BOOL m_bTakePhoto;
BOOL m_bHasInitAvi;
Entity m_id;
CAVIFile m_fileAvi;
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLineVideoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CLineVideoDlg)
afx_msg void OnCameraPath();
afx_msg void OnPreview();
virtual void OnOK();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
public:
UINT GetColorNum();
protected:
void TakePhoto();
void HideDialog(BOOL Flag);
BOOL GetAviFile(CString& csAviFile);
BOOL SetRenderConfig();
BOOL Render();
protected:
XString m_sTGAFile;
XString m_sBMPFile;
CRect m_rectVP;
};
//{{AFX_INSERT_LOCATION}}
#endif // !defined(AFX_LINEVIDEODLG_H__22231597_A1E4_4C81_988D_F06783B8C43B__INCLUDED_)