-
Notifications
You must be signed in to change notification settings - Fork 10
/
DisplayDlg.h
64 lines (54 loc) · 1.49 KB
/
DisplayDlg.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
#pragma once
#include "ColorDlg.h"
// CDisplayDlg dialog
class CDisplayDlg : public CPropertyPage {
DECLARE_DYNCREATE(CDisplayDlg)
// Construction
public:
CDisplayDlg();
~CDisplayDlg();
BOOL GetColor(COLORREF *pColorRef);
void ShowSampleIcon();
COLORREF m_Restore_ColorSent,
m_Restore_ColorRecv,
m_Restore_ColorAve,
m_Restore_ColorBack,
m_Restore_ColorIconBack;
// Dialog Data
//{{AFX_DATA(CDisplayDlg)
enum { IDD = IDD_COLOR_DLG };
CColorCube m_IconBtn;
CColorCube m_SentBtn;
CColorCube m_RecvBtn;
//}}AFX_DATA
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(CDisplayDlg)
public:
virtual BOOL OnSetActive();
virtual void OnCancel();
protected:
virtual void DoDataExchange(CDataExchange *pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CDisplayDlg)
afx_msg void OnDrawItem(int nIDCtl, LPDRAWITEMSTRUCT lpDrawItemStruct);
afx_msg void OnColorAve();
afx_msg void OnColorBack();
afx_msg void OnColorRecv();
afx_msg void OnColorSent();
afx_msg void OnStartwithwindows();
afx_msg void OnOntop();
virtual BOOL OnInitDialog();
afx_msg void OnDefaultColors();
afx_msg void OnUndo();
afx_msg void OnColorIconBack();
afx_msg void OnIconBargraph();
afx_msg void OnIconHistogram();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.