Mercurial > vba-linux
view src/win32/ColorControl.h @ 3:b05d00f19d80
fix some formatting
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:33:11 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #if !defined(AFX_COLORCONTROL_H__747E1E47_DDFA_4D67_B337_A473F2BACB86__INCLUDED_)2 #define AFX_COLORCONTROL_H__747E1E47_DDFA_4D67_B337_A473F2BACB86__INCLUDED_4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10007 // ColorControl.h : header file8 //10 /////////////////////////////////////////////////////////////////////////////11 // ColorControl window13 class ColorControl : public CWnd14 {15 // Construction16 public:17 ColorControl();19 // Attributes20 public:21 // Operations22 static bool isRegistered;24 // Operations25 public:26 // Overrides27 // ClassWizard generated virtual function overrides28 //{{AFX_VIRTUAL(ColorControl)29 //}}AFX_VIRTUAL31 // Implementation32 public:33 void setColor(u16 c);34 u16 color;35 virtual ~ColorControl();37 // Generated message map functions38 protected:39 //{{AFX_MSG(ColorControl)40 afx_msg void OnPaint();41 afx_msg BOOL OnEraseBkgnd(CDC*pDC);42 //}}AFX_MSG43 DECLARE_MESSAGE_MAP()44 private:45 void registerClass();46 };48 /////////////////////////////////////////////////////////////////////////////50 //{{AFX_INSERT_LOCATION}}51 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.53 #endif // !defined(AFX_COLORCONTROL_H__747E1E47_DDFA_4D67_B337_A473F2BACB86__INCLUDED_)