00001 #if !defined(AFX_MYLINESTYLEDIALOG_H__0C747218_087A_4264_A2C9_E91E4D125E9F__INCLUDED_)
00002 #define AFX_MYLINESTYLEDIALOG_H__0C747218_087A_4264_A2C9_E91E4D125E9F__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008
00009
00010 #include "gl/gl.h"
00011
00013
00014
00016 class MyLineStyleDialog : public CDialog
00017 {
00018
00019 public:
00020 int GetArrowType();
00021 void SetArrowType(int type);
00022 void SetArrowPeriod(int period);
00023 int GetArrowPeriod();
00025 float GetArrowWidth();
00027 float GetArrowLength();
00029 void SetArrowLength(float length);
00031 void SetArrowWidth(float width);
00033 void SetIsArrows(bool isArrows);
00035 bool GetIsArrows();
00037 bool GetIsEndTap();
00039 void SetIsEndTap(bool isEndTap);
00041 void SetEndTapWidth(int width);
00043 int GetEndTapWidth();
00045 bool GetIsGap();
00047 void SetIsGap(bool isGap);
00049 float GetGapSize();
00051 void SetGapSize(float gapSize);
00053 void SetAbsorption(GLubyte absorption);
00055 GLubyte GetAbsorption();
00057 void SetTranspFuncType(int type);
00059 void SetIsTranspFunc(bool isTranspFunc);
00061 void SetPeriodLength(int periodLength);
00063 int GetTranspFuncType();
00065 bool GetIsTranspFunc();
00067 int GetPeriodLength();
00069 void SetLineWidth(float lineWidth);
00071 void SetIsTapering(bool isTapering);
00073 void SetIsAntiAliasing(bool isAntiAliasing);
00075 bool GetIsAntiAliasing();
00077 bool GetIsTapering();
00079 float GetLineWidth();
00080
00081 MyLineStyleDialog(CWnd* pParent = NULL);
00082
00083
00084
00085 enum { IDD = IDD_LINESTYLEDIALOG };
00086 int m_LineWidth;
00087 BOOL m_IsTapering;
00088 BOOL m_IsAntiAliasing;
00089 int m_PeriodLength;
00090 int m_TranspFuncType;
00091 int m_Absorption;
00092 BOOL m_IsTranspFunc;
00093 BOOL m_IsGap;
00094 int m_GapSize;
00095 int m_EndTapWidth;
00096 BOOL m_IsEndTap;
00097 int m_ArrowLength;
00098 int m_ArrowWidth;
00099 BOOL m_IsArrows;
00100 int m_ArPeriod;
00101 int m_ArrowType;
00102
00103
00104
00105
00106
00107
00108 protected:
00109 virtual void DoDataExchange(CDataExchange* pDX);
00110
00111
00112
00113 protected:
00114
00115
00116
00117 virtual BOOL OnInitDialog();
00118
00119 DECLARE_MESSAGE_MAP()
00120 };
00121
00122
00123
00124
00125 #endif // !defined(AFX_MYLINESTYLEDIALOG_H__0C747218_087A_4264_A2C9_E91E4D125E9F__INCLUDED_)