view src/win32/ColorControl.h @ 2:3549bbe597ed

adding makefile.am
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:31:47 -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 > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // ColorControl.h : header file
8 //
10 /////////////////////////////////////////////////////////////////////////////
11 // ColorControl window
13 class ColorControl : public CWnd
14 {
15 // Construction
16 public:
17 ColorControl();
19 // Attributes
20 public:
21 // Operations
22 static bool isRegistered;
24 // Operations
25 public:
26 // Overrides
27 // ClassWizard generated virtual function overrides
28 //{{AFX_VIRTUAL(ColorControl)
29 //}}AFX_VIRTUAL
31 // Implementation
32 public:
33 void setColor(u16 c);
34 u16 color;
35 virtual ~ColorControl();
37 // Generated message map functions
38 protected:
39 //{{AFX_MSG(ColorControl)
40 afx_msg void OnPaint();
41 afx_msg BOOL OnEraseBkgnd(CDC*pDC);
42 //}}AFX_MSG
43 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_)