Mercurial > vba-clojure
diff src/win32/ColorControl.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/win32/ColorControl.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,53 @@ 1.4 +#if !defined(AFX_COLORCONTROL_H__747E1E47_DDFA_4D67_B337_A473F2BACB86__INCLUDED_) 1.5 +#define AFX_COLORCONTROL_H__747E1E47_DDFA_4D67_B337_A473F2BACB86__INCLUDED_ 1.6 + 1.7 +#if _MSC_VER > 1000 1.8 +#pragma once 1.9 +#endif // _MSC_VER > 1000 1.10 +// ColorControl.h : header file 1.11 +// 1.12 + 1.13 +///////////////////////////////////////////////////////////////////////////// 1.14 +// ColorControl window 1.15 + 1.16 +class ColorControl : public CWnd 1.17 +{ 1.18 + // Construction 1.19 +public: 1.20 + ColorControl(); 1.21 + 1.22 + // Attributes 1.23 +public: 1.24 + // Operations 1.25 + static bool isRegistered; 1.26 + 1.27 + // Operations 1.28 +public: 1.29 + // Overrides 1.30 + // ClassWizard generated virtual function overrides 1.31 + //{{AFX_VIRTUAL(ColorControl) 1.32 + //}}AFX_VIRTUAL 1.33 + 1.34 + // Implementation 1.35 +public: 1.36 + void setColor(u16 c); 1.37 + u16 color; 1.38 + virtual ~ColorControl(); 1.39 + 1.40 + // Generated message map functions 1.41 +protected: 1.42 + //{{AFX_MSG(ColorControl) 1.43 + afx_msg void OnPaint(); 1.44 + afx_msg BOOL OnEraseBkgnd(CDC*pDC); 1.45 + //}}AFX_MSG 1.46 + DECLARE_MESSAGE_MAP() 1.47 +private: 1.48 + void registerClass(); 1.49 +}; 1.50 + 1.51 +///////////////////////////////////////////////////////////////////////////// 1.52 + 1.53 +//{{AFX_INSERT_LOCATION}} 1.54 +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 1.55 + 1.56 +#endif // !defined(AFX_COLORCONTROL_H__747E1E47_DDFA_4D67_B337_A473F2BACB86__INCLUDED_)