view src/win32/GBColorDlg.h @ 5:8fe0c57e53d2

concentrating on lua first
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:39:40 -0600
parents f9f4f1b99eed
children
line wrap: on
line source
1 #if !defined(AFX_GBCOLORDLG_H__8D6126EF_06BB_48CF_ABB3_2CC4B1B60358__INCLUDED_)
2 #define AFX_GBCOLORDLG_H__8D6126EF_06BB_48CF_ABB3_2CC4B1B60358__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // GBColorDlg.h : header file
8 //
10 #include "ColorButton.h" // Added by ClassView
12 /////////////////////////////////////////////////////////////////////////////
13 // GBColorDlg dialog
15 class GBColorDlg : public CDialog
16 {
17 // Construction
18 public:
19 int getWhich();
20 afx_msg void OnColorClicked(UINT id);
21 u16 *getColors();
22 void setWhich(int w);
23 u16 colors[24];
24 ColorButton colorControls[8];
25 GBColorDlg(CWnd*pParent = NULL); // standard constructor
27 // Dialog Data
28 //{{AFX_DATA(GBColorDlg)
29 enum { IDD = IDD_GB_COLORS };
30 CComboBox m_predefined;
31 int which;
32 //}}AFX_DATA
34 // Overrides
35 // ClassWizard generated virtual function overrides
36 //{{AFX_VIRTUAL(GBColorDlg)
37 protected:
38 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support
39 //}}AFX_VIRTUAL
41 // Implementation
42 protected:
43 // Generated message map functions
44 //{{AFX_MSG(GBColorDlg)
45 afx_msg void OnDefault();
46 afx_msg void OnReset();
47 afx_msg void OnUser1();
48 afx_msg void OnUser2();
49 afx_msg void OnCancel();
50 afx_msg void OnOk();
51 virtual BOOL OnInitDialog();
52 afx_msg void OnSelchangePredefined();
53 //}}AFX_MSG
54 DECLARE_MESSAGE_MAP()
55 };
57 //{{AFX_INSERT_LOCATION}}
58 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
60 #endif // !defined(AFX_GBCOLORDLG_H__8D6126EF_06BB_48CF_ABB3_2CC4B1B60358__INCLUDED_)