Main Page   Class Hierarchy   Compound List   File List   Compound Members  

MyRegPropDialog.h

00001 #if !defined(AFX_MYREGPROPDIALOG_H__5246FC97_801E_4303_9142_F4F53317DE3C__INCLUDED_)
00002 #define AFX_MYREGPROPDIALOG_H__5246FC97_801E_4303_9142_F4F53317DE3C__INCLUDED_
00003 
00004 #include "MyMaterialDialog.h"
00005 
00006 #if _MSC_VER > 1000
00007 #pragma once
00008 #endif // _MSC_VER > 1000
00009 // MyRegPropDialog.h : header file
00010 //
00011 
00013 // MyRegPropDialog dialog
00014 
00016 struct RegProp
00017 { 
00019         CStreamlineMaterial material;
00021         float lineWidth;
00023         int res;
00025         int resIndex;
00027         float pos;
00028 };
00029 
00031 class MyRegPropDialog : public CDialog
00032 {
00033 // Construction
00034 public:
00036         float GetLineWidth();
00038         void SetLineWidth(float lineWidth);
00040         int GetRes();
00042         void SetRes(int res);
00043 
00045         MyMaterialDialog m_MaterialDialog;
00046 
00048         MyRegPropDialog(CWnd* pParent = NULL);   // standard constructor
00049 
00050 // Dialog Data
00051         //{{AFX_DATA(MyRegPropDialog)
00052         enum { IDD = IDD_REG_PROP_DIALOG };
00053         int             m_Res;
00054         int             m_LineWidth;
00055         //}}AFX_DATA
00056 
00057 
00058 // Overrides
00059         // ClassWizard generated virtual function overrides
00060         //{{AFX_VIRTUAL(MyRegPropDialog)
00061         protected:
00062         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00063         //}}AFX_VIRTUAL
00064 
00065 // Implementation
00066 protected:
00067 
00068         // Generated message map functions
00069         //{{AFX_MSG(MyRegPropDialog)
00070         virtual BOOL OnInitDialog();
00071         afx_msg void OnMaterialButton();
00072         //}}AFX_MSG
00073         DECLARE_MESSAGE_MAP()
00074 };
00075 
00076 //{{AFX_INSERT_LOCATION}}
00077 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00078 
00079 #endif // !defined(AFX_MYREGPROPDIALOG_H__5246FC97_801E_4303_9142_F4F53317DE3C__INCLUDED_)

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