view src/win32/ColorButton.h @ 4:5f6f2134e8ce

apu appears to not be used
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:35:58 -0600
parents f9f4f1b99eed
children
line wrap: on
line source
1 #if !defined(AFX_COLORBUTTON_H__DF02109B_B91C_49FD_954F_74A48B83C314__INCLUDED_)
2 #define AFX_COLORBUTTON_H__DF02109B_B91C_49FD_954F_74A48B83C314__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // ColorButton.h : header file
8 //
10 /////////////////////////////////////////////////////////////////////////////
11 // ColorButton window
13 class ColorButton : public CButton
14 {
15 // Construction
16 public:
17 ColorButton();
19 // Attributes
20 public:
21 // Operations
22 static bool isRegistered;
23 public:
24 void PreSubclassWindow();
25 void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
27 // Overrides
28 // ClassWizard generated virtual function overrides
29 //{{AFX_VIRTUAL(ColorButton)
30 //}}AFX_VIRTUAL
32 // Implementation
33 public:
34 void setColor(u16 c);
35 u16 color;
36 virtual ~ColorButton();
38 void registerClass();
40 // Generated message map functions
41 protected:
42 //{{AFX_MSG(ColorButton)
43 // NOTE - the ClassWizard will add and remove member functions here.
44 //}}AFX_MSG
46 DECLARE_MESSAGE_MAP()
47 };
49 /////////////////////////////////////////////////////////////////////////////
51 //{{AFX_INSERT_LOCATION}}
52 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
54 #endif // !defined(AFX_COLORBUTTON_H__DF02109B_B91C_49FD_954F_74A48B83C314__INCLUDED_)