-
Notifications
You must be signed in to change notification settings - Fork 0
/
perspectiveDialog.h
57 lines (49 loc) · 1.23 KB
/
perspectiveDialog.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
#pragma once
// perspectiveDialog dialog
class perspectiveDialog : public CDialog
{
DECLARE_DYNCREATE(perspectiveDialog)
public:
static const int PERS_MIN = 0;
static const int PERS_MAX = 10;
static const int PERS_DEFAULT = 1;
static const int PERS_DEFAULT_D = 4;
public:
perspectiveDialog::perspectiveDialog(float valL = PERS_DEFAULT
, float valR = PERS_DEFAULT
, float valT = PERS_DEFAULT
, float valB = PERS_DEFAULT
, float valD = PERS_DEFAULT_D
, CWnd* pParent = NULL); // standard constructor
virtual ~perspectiveDialog();
// Overrides
afx_msg void OnBnClickedOk();
// Dialog Data
enum { IDD = IDD_DIALOG3};
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual BOOL OnInitDialog();
protected:
double left;
double right;
double bottom;
double top;
double dVal;
DECLARE_MESSAGE_MAP()
public:
double perspectiveDialog::getLeft() {
return left;
}
double perspectiveDialog::getRight() {
return right;
}
double perspectiveDialog::getTop() {
return top;
}
double perspectiveDialog::getBottom() {
return bottom;
}
double perspectiveDialog::getD() {
return dVal;
}
};