Starshatter_Open
Open source Starshatter engine
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TextureMapDialog.h
Go to the documentation of this file.
1 /* Project Magic 2.0
2  Destroyer Studios LLC
3  Copyright © 1997-2004. All Rights Reserved.
4 
5  SUBSYSTEM: Magic.exe
6  FILE: TextureMapDialog.h
7  AUTHOR: John DiCamillo
8 
9 
10  OVERVIEW
11  ========
12  Texture Mapping Dialog interface file
13 */
14 
15 #if !defined(AFX_TEXTUREMAPDIALOG_H__F8EDA550_FF19_4E91_9A9C_597FC357C563__INCLUDED_)
16 #define AFX_TEXTUREMAPDIALOG_H__F8EDA550_FF19_4E91_9A9C_597FC357C563__INCLUDED_
17 
18 #if _MSC_VER > 1000
19 #pragma once
20 #endif
21 
22 // +--------------------------------------------------------------------+
23 
24 class Bitmap;
25 class MagicDoc;
26 class MagicView;
27 struct Material;
28 class Model;
29 
30 // +--------------------------------------------------------------------+
31 // TextureMapDialog dialog
32 // +--------------------------------------------------------------------+
33 
34 class TextureMapDialog : public CDialog
35 {
36 // Construction
37 public:
38  TextureMapDialog(MagicView* pParent = NULL);
39  virtual ~TextureMapDialog();
40 
41 // Dialog Data
42  //{{AFX_DATA(TextureMapDialog)
43  enum { IDD = IDD_MODIFY_TEXTURE };
44  CComboBox mMapping;
45  CComboBox mMaterialList;
46  CStatic mMaterialThumb;
48  BOOL mFlip;
49  BOOL mMirror;
50  BOOL mRotate;
51  double mScaleV;
52  int mAxis;
53  double mScaleU;
54  int mMapType;
55  //}}AFX_DATA
56 
57 
58 // Overrides
59  // ClassWizard generated virtual function overrides
60  //{{AFX_VIRTUAL(TextureMapDialog)
61  protected:
62  virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
63  //}}AFX_VIRTUAL
64 
65 // Implementation
66 protected:
71 
72  // Generated message map functions
73  //{{AFX_MSG(TextureMapDialog)
74  virtual BOOL OnInitDialog();
75  afx_msg void OnPaint();
76  afx_msg void OnSelectMaterial();
77  afx_msg void OnAlign();
78  //}}AFX_MSG
79  DECLARE_MESSAGE_MAP()
80 };
81 
82 //{{AFX_INSERT_LOCATION}}
83 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
84 
85 #endif