summaryrefslogtreecommitdiffabout
path: root/ColorButton.h
Unidiff
Diffstat (limited to 'ColorButton.h') (more/less context) (ignore whitespace changes)
-rw-r--r--ColorButton.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/ColorButton.h b/ColorButton.h
new file mode 100644
index 0000000..98e2f62
--- a/dev/null
+++ b/ColorButton.h
@@ -0,0 +1,47 @@
1 #ifndef__COLORBUTTON_H
2 #define__COLORBUTTON_H
3
4// ColorButton.h : header file
5//
6
7/////////////////////////////////////////////////////////////////////////////
8// CColorButton window
9
10class CColorButton : public CButton
11{
12// Construction
13public:
14 void SetColor();
15 COLORREF SelectColor(COLORREF color);
16 CBrush m_brColor;
17 COLORREF m_Color;
18 CColorButton();
19
20// Attributes
21public:
22
23// Operations
24public:
25
26// Overrides
27 // ClassWizard generated virtual function overrides
28 //{{AFX_VIRTUAL(CColorButton)
29 public:
30 virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
31 //}}AFX_VIRTUAL
32
33// Implementation
34public:
35 virtual ~CColorButton();
36
37 // Generated message map functions
38protected:
39 //{{AFX_MSG(CColorButton)
40 //}}AFX_MSG
41
42 DECLARE_MESSAGE_MAP()
43};
44
45/////////////////////////////////////////////////////////////////////////////
46
47 #endif// __COLORBUTTON_H