Main Page   Class Hierarchy   Compound List   File List   Compound Members  

MyBlockDialog.h

00001 #if !defined(AFX_MYBLOCKDIALOG_H__5629F46A_39B4_4423_96BA_0FFD020180D8__INCLUDED_)
00002 #define AFX_MYBLOCKDIALOG_H__5629F46A_39B4_4423_96BA_0FFD020180D8__INCLUDED_
00003 
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007 // MyBlockDialog.h : header file
00008 //
00009 
00010 #include "MyMaterialDialog.h"
00011 #include "gl/gl.h"
00012 #include "Defines.h"
00013 
00015 // MyBlockDialog dialog
00016 
00017 class MyBlockDialog : public CDialog
00018 {
00019 // Construction
00020 public:
00021         static void InitBlockTex();
00022         bool GetIsTex();
00023         void SetIsTex(bool isTex);
00024         static void ReadBlTex(CString filename);
00025         void SetZOffs(float zOffs);
00026         float GetZOffs();
00027         MyBlockDialog(CWnd* pParent = NULL);   // standard constructor
00028         MyMaterialDialog m_MaterialDialog;
00029 
00030         static GLubyte blTex[DEF_BLTEX_HEIGHT][DEF_BLTEX_WIDTH][4];
00031 // Dialog Data
00032         //{{AFX_DATA(MyBlockDialog)
00033         enum { IDD = IDD_BLOCKDIALOG };
00034         int             m_ZOffs;
00035         BOOL    m_IsTex;
00036         //}}AFX_DATA
00037 
00038 
00039 // Overrides
00040         // ClassWizard generated virtual function overrides
00041         //{{AFX_VIRTUAL(MyBlockDialog)
00042         protected:
00043         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00044         //}}AFX_VIRTUAL
00045 
00046 // Implementation
00047 protected:
00048 
00049         // Generated message map functions
00050         //{{AFX_MSG(MyBlockDialog)
00051         afx_msg void OnMaterialButton();
00052         virtual BOOL OnInitDialog();
00053         afx_msg void OnLoadTexButton();
00054         afx_msg void OnPaint();
00055         //}}AFX_MSG
00056         DECLARE_MESSAGE_MAP()
00057 };
00058 
00059 //{{AFX_INSERT_LOCATION}}
00060 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00061 
00062 #endif // !defined(AFX_MYBLOCKDIALOG_H__5629F46A_39B4_4423_96BA_0FFD020180D8__INCLUDED_)

Generated on Fri Aug 9 10:12:39 2002 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002