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
00010
00011
00013
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
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);
00049
00050
00051
00052 enum { IDD = IDD_REG_PROP_DIALOG };
00053 int m_Res;
00054 int m_LineWidth;
00055
00056
00057
00058
00059
00060
00061 protected:
00062 virtual void DoDataExchange(CDataExchange* pDX);
00063
00064
00065
00066 protected:
00067
00068
00069
00070 virtual BOOL OnInitDialog();
00071 afx_msg void OnMaterialButton();
00072
00073 DECLARE_MESSAGE_MAP()
00074 };
00075
00076
00077
00078
00079 #endif // !defined(AFX_MYREGPROPDIALOG_H__5246FC97_801E_4303_9142_F4F53317DE3C__INCLUDED_)