Main Page   Class Hierarchy   Compound List   File List   Compound Members  

MyLineStyleDialog.h

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 // MyLineStyleDialog.h : header file
00008 //
00009 
00010 #include "gl/gl.h"
00011 
00013 // MyLineStyleDialog dialog
00014 
00016 class MyLineStyleDialog : public CDialog
00017 {
00018 // Construction
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);   // standard constructor
00082 
00083 // Dialog Data
00084         //{{AFX_DATA(MyLineStyleDialog)
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         //}}AFX_DATA
00103 
00104 
00105 // Overrides
00106         // ClassWizard generated virtual function overrides
00107         //{{AFX_VIRTUAL(MyLineStyleDialog)
00108         protected:
00109         virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
00110         //}}AFX_VIRTUAL
00111 
00112 // Implementation
00113 protected:
00114 
00115         // Generated message map functions
00116         //{{AFX_MSG(MyLineStyleDialog)
00117         virtual BOOL OnInitDialog();
00118         //}}AFX_MSG
00119         DECLARE_MESSAGE_MAP()
00120 };
00121 
00122 //{{AFX_INSERT_LOCATION}}
00123 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00124 
00125 #endif // !defined(AFX_MYLINESTYLEDIALOG_H__0C747218_087A_4264_A2C9_E91E4D125E9F__INCLUDED_)

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