Mercurial > vba-linux
view src/win32/GBColorDlg.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_GBCOLORDLG_H__8D6126EF_06BB_48CF_ABB3_2CC4B1B60358__INCLUDED_)2 #define AFX_GBCOLORDLG_H__8D6126EF_06BB_48CF_ABB3_2CC4B1B60358__INCLUDED_4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10007 // GBColorDlg.h : header file8 //10 #include "ColorButton.h" // Added by ClassView12 /////////////////////////////////////////////////////////////////////////////13 // GBColorDlg dialog15 class GBColorDlg : public CDialog16 {17 // Construction18 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 constructor27 // Dialog Data28 //{{AFX_DATA(GBColorDlg)29 enum { IDD = IDD_GB_COLORS };30 CComboBox m_predefined;31 int which;32 //}}AFX_DATA34 // Overrides35 // ClassWizard generated virtual function overrides36 //{{AFX_VIRTUAL(GBColorDlg)37 protected:38 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support39 //}}AFX_VIRTUAL41 // Implementation42 protected:43 // Generated message map functions44 //{{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_MSG54 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_)