📄 ~rightcamera.~h
字号:
#if !defined(AFX_RIGHTCAMERA_H__9E05D979_C23E_4569_8BF7_4AB047D46A08__INCLUDED_)
#define AFX_RIGHTCAMERA_H__9E05D979_C23E_4569_8BF7_4AB047D46A08__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// RightCamera.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CRightCamera dialog
#include "../utils/CameraButton.h"
#include "../utils/filter_accel.h"
#include "../utils/Label.h"
#include "../utils/TransButton.h"
#include "../utils/TransGroup.h"
#include "../utils/Separator.h"
#include "em_dlg.h"
#include "notif_opt.h"
#include "ip_port.h"
class CRightCamera : public em_dlg<accel_dlg<CDialog> >
{
void send_camera_cmd(USHORT cmd);
void send_stop();
static CRightCamera* self;
virtual void on_join();
virtual void on_leave();
// Construction
public:
CRightCamera(CWnd* pParent = NULL); // standard constructor
static CRightCamera* the_one();
ip_port ipp;
int channel;
// Dialog Data
//{{AFX_DATA(CRightCamera)
enum { IDD = IDD_RIGHT_CAMERA };
CSeparator m_s;
CTransButton m_brush_onoff;
CTransButton m_zoom_i;
CTransButton m_zoom_d;
CTransButton m_light_onoff;
CTransButton m_iris_i;
CTransButton m_iris_d;
CTransButton m_focus_i;
CTransButton m_focus_d;
CLabel m_8;
CLabel m_7;
CLabel m_5;
CLabel m_4;
CLabel m_3;
CLabel m_ctrl;
CTransButton m_btn_set;
CTransButton m_btn_load;
CTransGroup m_6;
CTransGroup m_2;
CLabel m_1;
CLabel m_title;
CCameraButton m_btn_dir;
CString m_control;
int m_cam_pos;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CRightCamera)
public:
virtual BOOL PreTranslateMessage(MSG* msg);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual LRESULT DefWindowProc(UINT message, WPARAM wParam, LPARAM lParam);
//}}AFX_VIRTUAL
// Implementation
protected:
LRESULT on_update_data(WPARAM, LPARAM);
LRESULT on_camera_button(WPARAM, LPARAM);
// Generated message map functions
//{{AFX_MSG(CRightCamera)
virtual BOOL OnInitDialog();
afx_msg void OnLoad();
afx_msg void OnSet();
afx_msg void OnIrisD();
afx_msg void OnIrisI();
afx_msg void OnFocusD();
afx_msg void OnFocusI();
afx_msg void OnZoomD();
afx_msg void OnZoomI();
afx_msg void OnLightOnoff();
afx_msg void OnBrushOnoff();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_RIGHTCAMERA_H__9E05D979_C23E_4569_8BF7_4AB047D46A08__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -