00001
00002
00003
00004
00005
00006
00007
00008
00009 #if !defined(AFX_FILTERDIALOG_H__68D45661_80F7_11D3_9BDF_0020A9004404__INCLUDED_)
00010 #define AFX_FILTERDIALOG_H__68D45661_80F7_11D3_9BDF_0020A9004404__INCLUDED_
00011
00012 #if _MSC_VER >= 1000
00013 #pragma once
00014 #endif // _MSC_VER >= 1000
00015
00016 class PLBmp;
00017
00018 class PLFilterDialog : public CDialog
00019 {
00020
00021 public:
00022 PLFilterDialog (CWnd* pParent, PLBmp * pBmp,
00023 const char * pszFilterName, bool bRadiusAllowed);
00024 int GetWidth();
00025 int GetHeight();
00026 double GetRadius();
00027
00028
00029
00030 enum { IDD = IDD_FILTER };
00031 CButton m_ConstrainCheck;
00032 CStatic m_RadiusStatic;
00033 CEdit m_RadiusEdit;
00034 CStatic m_NameStatic;
00035 CEdit m_HeightEdit;
00036 CEdit m_WidthEdit;
00037 int m_Height;
00038 int m_Width;
00039 double m_Radius;
00040
00041
00042
00043
00044
00045
00046 protected:
00047 virtual void DoDataExchange(CDataExchange* pDX);
00048
00049
00050
00051 protected:
00052
00053
00054
00055 virtual void OnOK();
00056 afx_msg void OnChangeHeightedit();
00057 afx_msg void OnChangeWidthedit();
00058 virtual BOOL OnInitDialog();
00059
00060 DECLARE_MESSAGE_MAP()
00061
00062 private:
00063 PLBmp * m_pBmp;
00064 const char * m_pszFilterName;
00065 bool m_bRadiusAllowed;
00066 bool m_bChanging;
00067 };
00068
00069
00070
00071
00072 #endif // !defined(AFX_FILTERDIALOG_H__68D45661_80F7_11D3_9BDF_0020A9004404__INCLUDED_)
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099