cvideokeyerprop.h
来自「最近在学习directshow, Directshow实务精选的源代码」· C头文件 代码 · 共 49 行
H
49 行
//
// CVideoKeyerProp.h
//
#ifndef __H_CVideoKeyerProp__
#define __H_CVideoKeyerProp__
#include "IVideoKeyer.h"
class CVideoKeyerProp : public CBasePropertyPage
{
private:
IVideoKeyer * mIVideoKeyer;
long mDetectType;
HWND mWndBackR;
HWND mWndBackG;
HWND mWndBackB;
HWND mWndBackDrift;
public:
static CUnknown * WINAPI CreateInstance(LPUNKNOWN lpunk, HRESULT *phr);
DECLARE_IUNKNOWN;
private:
CVideoKeyerProp(LPUNKNOWN lpunk, HRESULT *phr);
private:
BOOL OnReceiveMessage(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam);
HRESULT OnConnect(IUnknown *pUnknown);
HRESULT OnDisconnect();
HRESULT OnActivate();
HRESULT OnApplyChanges();
void SetDirty();
private:
void ReflectDetectType(void);
void ReflectBackColor(void);
void ReflectBackDrift(void);
void ReflectControlStatus(void);
void EnterDetectType(void);
void EnterBackColor(void);
void EnterBackDrift(void);
};
#endif // __H_CVideoKeyerProp__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?