Mercurial > vba-clojure
comparison src/win32/ColorButton.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
0:8ced16adf2e1 | 1:f9f4f1b99eed |
---|---|
1 #if !defined(AFX_COLORBUTTON_H__DF02109B_B91C_49FD_954F_74A48B83C314__INCLUDED_) | |
2 #define AFX_COLORBUTTON_H__DF02109B_B91C_49FD_954F_74A48B83C314__INCLUDED_ | |
3 | |
4 #if _MSC_VER > 1000 | |
5 #pragma once | |
6 #endif // _MSC_VER > 1000 | |
7 // ColorButton.h : header file | |
8 // | |
9 | |
10 ///////////////////////////////////////////////////////////////////////////// | |
11 // ColorButton window | |
12 | |
13 class ColorButton : public CButton | |
14 { | |
15 // Construction | |
16 public: | |
17 ColorButton(); | |
18 | |
19 // Attributes | |
20 public: | |
21 // Operations | |
22 static bool isRegistered; | |
23 public: | |
24 void PreSubclassWindow(); | |
25 void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct); | |
26 | |
27 // Overrides | |
28 // ClassWizard generated virtual function overrides | |
29 //{{AFX_VIRTUAL(ColorButton) | |
30 //}}AFX_VIRTUAL | |
31 | |
32 // Implementation | |
33 public: | |
34 void setColor(u16 c); | |
35 u16 color; | |
36 virtual ~ColorButton(); | |
37 | |
38 void registerClass(); | |
39 | |
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 | |
45 | |
46 DECLARE_MESSAGE_MAP() | |
47 }; | |
48 | |
49 ///////////////////////////////////////////////////////////////////////////// | |
50 | |
51 //{{AFX_INSERT_LOCATION}} | |
52 // Microsoft Visual C++ will insert additional declarations immediately before the previous line. | |
53 | |
54 #endif // !defined(AFX_COLORBUTTON_H__DF02109B_B91C_49FD_954F_74A48B83C314__INCLUDED_) |