view src/win32/GBPaletteView.h @ 8:08a8e09ca414

add files required by automake
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:54:39 -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 > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // -*- C++ -*-
8 // GBPaletteView.h : header file
9 //
11 #include "ColorControl.h"
12 #include "IUpdate.h"
13 #include "PaletteViewControl.h"
14 #include "ResizeDlg.h"
16 class GBPaletteViewControl : public PaletteViewControl
17 {
18 public:
19 virtual void updatePalette();
20 };
22 /////////////////////////////////////////////////////////////////////////////
23 // GBPaletteView dialog
25 class GBPaletteView : public ResizeDlg, IUpdateListener
26 {
27 private:
28 GBPaletteViewControl paletteView;
29 GBPaletteViewControl paletteViewOBJ;
30 ColorControl colorControl;
31 bool autoUpdate;
32 // Construction
33 public:
34 void save(int which);
35 GBPaletteView(CWnd*pParent = NULL); // standard constructor
36 virtual ~GBPaletteView();
38 // Dialog Data
39 //{{AFX_DATA(GBPaletteView)
40 enum { IDD = IDD_GB_PALETTE_VIEW };
41 // NOTE: the ClassWizard will add data members here
42 //}}AFX_DATA
44 // Overrides
45 // ClassWizard generated virtual function overrides
46 //{{AFX_VIRTUAL(GBPaletteView)
47 protected:
48 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support
49 virtual void PostNcDestroy();
50 //}}AFX_VIRTUAL
52 virtual void update();
54 // Implementation
55 protected:
56 afx_msg virtual LRESULT OnPalInfo(WPARAM wParam, LPARAM lParam);
57 // Generated message map functions
58 //{{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_MSG
66 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_)