-
Notifications
You must be signed in to change notification settings - Fork 1
/
OptionsDlg.h
82 lines (66 loc) · 1.81 KB
/
OptionsDlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#pragma once
#include "CMainTab.h"
#include "CAdvancedTab.h"
#include "MouseDialog.h"
// OptionsDlg dialog
class OptionsDlg : public CDialogEx
{
DECLARE_DYNAMIC(OptionsDlg)
public:
OptionsDlg(CWnd* pParent = nullptr); // standard constructor
virtual ~OptionsDlg();
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_OPTIONS };
#endif
#define UWM_UPDATE_OPTIONS (WM_APP+2)
CWnd* m_pMainWnd;
HWND hWnd;
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
DECLARE_MESSAGE_MAP()
public:
TC_ITEM TabItem;
CTabCtrl m_ctrTab;
CMainTab pCMainTab;
CAdvancedTab pCAdvancedTab;
MouseDialog* mMouseDlg;
CToolTipCtrl m_ToolTip;
float back_fSliderSpeedHorisontal;
float back_fSliderSpeedVertical;
int back_iSliderSmileAngle;
int back_iSliderSmileSensitivity;
float back_fSliderDwellDispl;
float back_fSliderDwellTime;
float back_fSliderQuickTime;
float back_fSlider1x;
float back_fSlider2x;
float back_fSliderCancel;
float back_fSliderTimeToDwell;
CString back_editKeyboard;
bool back_needSound;
bool back_flipCameraFlag;
bool back_needEqualize;
float back_fSliderEWMA;
// float back_fSliderMarks;
float back_fSliderAcceleration;
float back_fSliderOnInput;
int back_iSliderFace;
int back_minFaceNeighbors;
int back_iSliderMinNum;
int back_iSliderFaceFrames;
CString back_mEditKeyboard;
LPWSTR statictext1 = L"Main";
LPWSTR statictext2 = L"Advanced";
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg void OnClose();
afx_msg void OnBnClickedOk();
afx_msg void OnBnClickedApply();
afx_msg void OnBnClickedCancel();
afx_msg void OnDestroy();
afx_msg void OnSelchangeTab(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchangingTab(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnNcMouseLeave();
afx_msg void OnNcMouseMove(UINT nHitTest, CPoint point);
};