From 955d4e00adc9f39ab93bf21f07506eb75b013c70 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Mon, 05 Jul 2004 01:53:09 +0000 Subject: initial commit into svn repository git-svn-id: http://svn.klever.net/kin/T42/trunk@1 fe716a7a-6dde-0310-88d9-d003556173a8 --- (limited to 'ColorButton.h') 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 -- cgit v0.9.0.2