author | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2004-07-05 01:53:09 (UTC) |
commit | 955d4e00adc9f39ab93bf21f07506eb75b013c70 (patch) (side-by-side diff) | |
tree | 92493a2c9ac206b822e24a9e5a6f6b1589be6afb /ColorButton.h | |
download | T42-955d4e00adc9f39ab93bf21f07506eb75b013c70.zip T42-955d4e00adc9f39ab93bf21f07506eb75b013c70.tar.gz T42-955d4e00adc9f39ab93bf21f07506eb75b013c70.tar.bz2 |
initial commit into svn repository
git-svn-id: http://svn.klever.net/kin/T42/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8
-rw-r--r-- | ColorButton.h | 47 |
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 @@ +#ifndef __COLORBUTTON_H
+#define __COLORBUTTON_H
+
+// ColorButton.h : header file
+//
+
+/////////////////////////////////////////////////////////////////////////////
+// CColorButton window
+
+class CColorButton : public CButton
+{
+// Construction
+public:
+ void SetColor();
+ COLORREF SelectColor(COLORREF color);
+ CBrush m_brColor;
+ COLORREF m_Color;
+ CColorButton();
+
+// Attributes
+public:
+
+// Operations
+public:
+
+// Overrides
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CColorButton)
+ public:
+ virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
+ //}}AFX_VIRTUAL
+
+// Implementation
+public:
+ virtual ~CColorButton();
+
+ // Generated message map functions
+protected:
+ //{{AFX_MSG(CColorButton)
+ //}}AFX_MSG
+
+ DECLARE_MESSAGE_MAP()
+};
+
+/////////////////////////////////////////////////////////////////////////////
+
+#endif // __COLORBUTTON_H
|