Mercurial > vba-linux
view src/win32/GBPaletteView.h @ 3:b05d00f19d80
fix some formatting
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:33:11 -0600 |
parents | f9f4f1b99eed |
children |
line wrap: on
line source
1 #if !defined(AFX_GBPALETTEVIEW_H__F909FF55_3021_4301_B017_0C2C9D8D8C08__INCLUDED_)2 #define AFX_GBPALETTEVIEW_H__F909FF55_3021_4301_B017_0C2C9D8D8C08__INCLUDED_4 #if _MSC_VER > 10005 #pragma once6 #endif // _MSC_VER > 10007 // -*- C++ -*-8 // GBPaletteView.h : header file9 //11 #include "ColorControl.h"12 #include "IUpdate.h"13 #include "PaletteViewControl.h"14 #include "ResizeDlg.h"16 class GBPaletteViewControl : public PaletteViewControl17 {18 public:19 virtual void updatePalette();20 };22 /////////////////////////////////////////////////////////////////////////////23 // GBPaletteView dialog25 class GBPaletteView : public ResizeDlg, IUpdateListener26 {27 private:28 GBPaletteViewControl paletteView;29 GBPaletteViewControl paletteViewOBJ;30 ColorControl colorControl;31 bool autoUpdate;32 // Construction33 public:34 void save(int which);35 GBPaletteView(CWnd*pParent = NULL); // standard constructor36 virtual ~GBPaletteView();38 // Dialog Data39 //{{AFX_DATA(GBPaletteView)40 enum { IDD = IDD_GB_PALETTE_VIEW };41 // NOTE: the ClassWizard will add data members here42 //}}AFX_DATA44 // Overrides45 // ClassWizard generated virtual function overrides46 //{{AFX_VIRTUAL(GBPaletteView)47 protected:48 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support49 virtual void PostNcDestroy();50 //}}AFX_VIRTUAL52 virtual void update();54 // Implementation55 protected:56 afx_msg virtual LRESULT OnPalInfo(WPARAM wParam, LPARAM lParam);57 // Generated message map functions58 //{{AFX_MSG(GBPaletteView)59 virtual BOOL OnInitDialog();60 afx_msg void OnSaveBg();61 afx_msg void OnSaveObj();62 afx_msg void OnRefresh2();63 afx_msg void OnAutoUpdate();64 afx_msg void OnClose();65 //}}AFX_MSG66 DECLARE_MESSAGE_MAP()67 };69 //{{AFX_INSERT_LOCATION}}70 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.72 #endif // !defined(AFX_GBPALETTEVIEW_H__F909FF55_3021_4301_B017_0C2C9D8D8C08__INCLUDED_)