-
Notifications
You must be signed in to change notification settings - Fork 0
/
DlgImageProperties.h
executable file
·48 lines (36 loc) · 1.01 KB
/
DlgImageProperties.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
#pragma once
#include "CdCoverCreator2Doc.h"
#include "Picture.h"
// CDlgImageProperties dialog
class CDlgImageProperties : public CDialog
{
DECLARE_DYNAMIC(CDlgImageProperties)
public:
CDlgImageProperties(CWnd* pParent = NULL); // standard constructor
virtual ~CDlgImageProperties();
void SetPicture (CPicture* pPicture);
// Dialog Data
enum { IDD = IDD_DIALOG_IMAGEPROPERTIES };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
void UpdateDisplay ();
DECLARE_MESSAGE_MAP()
public:
int m_nContrast;
int m_nBrightness;
int m_nSaturation;
int m_nHue;
int m_nGamma;
CCdCoverCreator2Doc* m_pDocument;
CPicture* m_pPicture;
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnBnClickedButtonReset();
virtual BOOL OnInitDialog();
protected:
double m_fOldContrast;
double m_fOldBrightness;
double m_fOldSaturation;
double m_fOldHue;
double m_fOldGamma;
virtual void OnCancel();
};