00001 #if !defined(AFX_ARROWPLOTDIALOG_H__074C0C55_E330_4143_ACB4_D3EC4BBCBE4C__INCLUDED_)
00002 #define AFX_ARROWPLOTDIALOG_H__074C0C55_E330_4143_ACB4_D3EC4BBCBE4C__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008
00009
00010
00011 #include "FlowVis.h"
00012
00013
00014 class CFlowVisApp;
00015
00017
00018
00020 class CArrowPlotDialog : public CDialog
00021 {
00022
00023 public:
00024 int GetDialogEndPosition();
00025 void EnableDialog(BOOL bEnable);
00026 void UpdateDialogPosition();
00027
00028 void setDialogStartPosition(int position);
00029 CArrowPlotDialog(CWnd* pParent = NULL);
00030 CArrowPlotDialog(int DialogStartPosition, CWnd* pParent = NULL);
00031
00032
00033
00034 enum { IDD = IDD_ARROWPLOT_DIALOG };
00035 CStatic m_StaticGlyph;
00036 CStatic m_StaticFactor;
00037 CSliderCtrl m_SliderFactor;
00038 CComboBox m_ComboGlyph;
00039 CButton m_FrameArrowPlot;
00040 CButton m_CheckArrowPlot;
00041 CButton m_RadioFixedSize;
00042 CButton m_RadioSizeBySpeed;
00043
00044
00045
00046
00047
00048
00049 protected:
00050 virtual void DoDataExchange(CDataExchange* pDX);
00051
00052
00053
00054 protected:
00055 int m_DialogSize;
00056
00057 int m_DialogPosition;
00058 CFlowVisApp * m_App;
00059
00060
00061
00062 afx_msg void OnCheckArrowPlot();
00063 virtual BOOL OnInitDialog();
00064 afx_msg void OnSelchangeComboGlyph();
00065 afx_msg void OnRadioFixedsize();
00066 afx_msg void OnRadioSizebyspeed();
00067 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
00068
00069 DECLARE_MESSAGE_MAP()
00070 };
00071
00072
00073
00074
00075 #endif // AFX_ARROWPLOTDIALOG_H__074C0C55_E330_4143_ACB4_D3EC4BBCBE4C__INCLUDED_