annotate src/win32/GBColorDlg.h @ 6:458a4f18f3cd

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