summaryrefslogtreecommitdiff
path: root/win/Mfwnd.h
diff options
context:
space:
mode:
authordocwhat1999-11-14 06:43:18 +0000
committerdocwhat1999-11-14 06:43:18 +0000
commitd71eec8062e852e56f03102ba4b4e87dc485821d (patch)
tree452368ad0e7e24627e517a0c88c2508d02cea6dc /win/Mfwnd.h
parent2046090b7ce8dd901ce43e650be5acf44016d714 (diff)
Initial revision
git-svn-id: http://svn.leocad.org/trunk@2 c7d43263-9d01-0410-8a33-9dba5d9f93d6
Diffstat (limited to 'win/Mfwnd.h')
-rw-r--r--win/Mfwnd.h67
1 files changed, 67 insertions, 0 deletions
diff --git a/win/Mfwnd.h b/win/Mfwnd.h
new file mode 100644
index 0000000..9823d29
--- /dev/null
+++ b/win/Mfwnd.h
@@ -0,0 +1,67 @@
+#ifndef __MFWND_H__
+#define __MFWND_H__
+
+// MFWind.h : header file
+//
+
+#include "system.h"
+
+#define MFW_PIECES 76
+
+typedef enum { MF_HAT, MF_HEAD, MF_TORSO, MF_NECK, MF_ARML, MF_ARMR,
+ MF_HAND, MF_TOOL, MF_HIPS, MF_LEGL, MF_LEGR, MF_SHOE } MFTYPES;
+
+typedef struct {
+ char name[9];
+ char description[32];
+ int type;
+} MFPARTINFO;
+
+/////////////////////////////////////////////////////////////////////////////
+// CMinifigWnd window
+
+class CMinifigWnd : public CWnd
+{
+// Construction
+public:
+ CMinifigWnd();
+ static MFPARTINFO partinfo[];
+
+// Attributes
+protected:
+ HGLRC m_hrc;
+ CClientDC* m_pDC;
+ CPalette* m_pPal;
+
+// Operations
+public:
+ void DrawScene();
+ int InitGL();
+ LC_MINIFIGDLG_OPTS* m_pFig;
+
+// Overrides
+ // ClassWizard generated virtual function overrides
+ //{{AFX_VIRTUAL(CMinifigWnd)
+ //}}AFX_VIRTUAL
+
+// Implementation
+public:
+ virtual ~CMinifigWnd();
+
+ // Generated message map functions
+protected:
+ //{{AFX_MSG(CMinifigWnd)
+ afx_msg BOOL OnEraseBkgnd(CDC* pDC);
+ afx_msg void OnPaint();
+ afx_msg void OnDestroy();
+ //}}AFX_MSG
+
+ DECLARE_MESSAGE_MAP()
+};
+
+/////////////////////////////////////////////////////////////////////////////
+
+//{{AFX_INSERT_LOCATION}}
+// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
+
+#endif // __MFWND_H__