-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathReferencesPropPage.h
142 lines (128 loc) · 4.83 KB
/
ReferencesPropPage.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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
/////////////////////////////////////////////////////////////////////////////
// Copyright (c) 2005-2011 Association Homecinema Francophone. All rights reserved.
/////////////////////////////////////////////////////////////////////////////
//
// This file is subject to the terms of the GNU General Public License as
// published by the Free Software Foundation. A copy of this license is
// included with this software distribution in the file COPYING.htm. If you
// do not have a copy, you may obtain a copy by writing to the Free
// Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
//
// This software is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details
/////////////////////////////////////////////////////////////////////////////
// Author(s):
// François-Xavier CHABOUD
// Georges GALLERAND
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_REFERENCESPROPPAGE_H__5F422D62_7816_45EA_B6A5_F05D414089E5__INCLUDED_)
#define AFX_REFERENCESPROPPAGE_H__5F422D62_7816_45EA_B6A5_F05D414089E5__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ReferencesPropPage.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CReferencesPropPage dialog
class CReferencesPropPage : public CPropertyPageWithHelp
{
DECLARE_DYNCREATE(CReferencesPropPage)
// Construction
public:
CReferencesPropPage();
~CReferencesPropPage();
// Dialog Data
BOOL m_isModified;
//{{AFX_DATA(CReferencesPropPage)
enum { IDD = IDD_REFERENCE_PROP_PAGE };
CEdit m_GammaRefEdit;
CEdit m_eMeasuredGamma;
CEdit m_GammaAvgEdit;
CEdit m_GammaRelEdit;
CEdit m_ManualBlackEdit;
CEdit m_SplitEdit;
CEdit m_manualWhitexedit;
CEdit m_manualWhiteyedit;
CEdit m_manualRedxedit;
CEdit m_manualRedyedit;
CEdit m_manualGreenxedit;
CEdit m_manualGreenyedit;
CEdit m_manualBluexedit;
CEdit m_manualBlueyedit;
CComboBox m_whiteTargetCombo;
int m_whiteTarget;
int m_colorStandard;
int m_CCMode;
double m_GammaRef;
double m_GammaAvg;
double m_GammaRel;
double m_ManualBlack;
double m_Split, m_BT2390_WS1, m_BT2390_WS1User;
double m_MasterMinL, m_MasterMaxL, m_ContentMaxL, m_FrameAvgMaxL, m_TargetMinL, m_TargetMaxL, m_DiffuseL, m_TargetMinLUser, m_TargetMaxLUser, m_DiffuseLUser, m_TargetSysGammaUser;
CEdit m_TargetMinLCtrl, m_TargetMaxLCtrl, m_DiffuseLCtrl, m_MasterMinLCtrl, m_MasterMaxLCtrl, m_ContentMaxLCtrl, m_FrameAvgMaxLCtrl, m_bOverRideTargsCtrl, m_useToneMapCtrl;
CEdit m_TargetSysGammaCtrl, m_BT2390_BSCtrl, m_BT2390_WSCtrl, m_BT2390_WS1Ctrl;
BOOL m_changeWhiteCheck;
CEdit m_changeWhiteCheckCtrl;
BOOL m_useMeasuredGamma;
BOOL m_bSave;
BOOL m_userBlack, m_useToneMap, m_bOverRideTargs;
int m_GammaOffsetType;
double m_TargetSysGamma, m_BT2390_BS, m_BT2390_BSUser, m_BT2390_WS, m_BT2390_WSUser;
double m_manualGOffset;
double m_manualWhitex;
double m_manualWhitey;
double m_manualRedx;
double m_manualRedy;
double m_manualGreenx;
double m_manualGreeny;
double m_manualBluex;
double m_manualBluey;
double m_manualWhitexold;
double m_manualWhiteyold;
double m_manualRedxold;
double m_manualRedyold;
double m_manualGreenxold;
double m_manualGreenyold;
double m_manualBluexold;
double m_manualBlueyold;
//}}AFX_DATA
virtual UINT GetHelpId ( LPSTR lpszTopic );
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CReferencesPropPage)
public:
virtual BOOL OnApply();
virtual void OnOK();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CReferencesPropPage)
afx_msg void OnCheckColors();
afx_msg void OnChangeEditIrisTime();
virtual BOOL OnInitDialog();
afx_msg void OnChangeEditGammaRef();
afx_msg void OnChangeEditGammaRel();
afx_msg void OnChangeEditManualBlack();
afx_msg void OnChangeEditGammaAvg();
afx_msg void OnChangeWhiteCheck();
afx_msg void OnUseMeasuredGammaCheck();
afx_msg void OnUserBlackCheck();
afx_msg void OnUserOverRideTargsCheck();
afx_msg void OnSelchangeColorrefCombo();
afx_msg void OnSelchangeWhiteCombo();
afx_msg void OnSelchangeCCmodeCombo();
afx_msg void OnChangeEditGammaOffset();
afx_msg void OnChangeEditManualGOffset();
//}}AFX_MSG
afx_msg void OnControlClicked(UINT nID);
DECLARE_MESSAGE_MAP()
void UpdateColorSpaceValues();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_REFERENCESPROPPAGE_H__5F422D62_7816_45EA_B6A5_F05D414089E5__INCLUDED_)