00001 /* 00002 /-------------------------------------------------------------------- 00003 | 00004 | $Id: FilterDialog_8h-source.html,v 1.2 2004/09/15 15:26:23 uzadow Exp $ 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 // Construction 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 // Dialog Data 00029 //{{AFX_DATA(PLFilterDialog) 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 //}}AFX_DATA 00041 00042 00043 // Overrides 00044 // ClassWizard generated virtual function overrides 00045 //{{AFX_VIRTUAL(PLFilterDialog) 00046 protected: 00047 virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support 00048 //}}AFX_VIRTUAL 00049 00050 // Implementation 00051 protected: 00052 00053 // Generated message map functions 00054 //{{AFX_MSG(PLFilterDialog) 00055 virtual void OnOK(); 00056 afx_msg void OnChangeHeightedit(); 00057 afx_msg void OnChangeWidthedit(); 00058 virtual BOOL OnInitDialog(); 00059 //}}AFX_MSG 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 //{{AFX_INSERT_LOCATION}} 00070 // Microsoft Developer Studio will insert additional declarations immediately before the previous line. 00071 00072 #endif // !defined(AFX_FILTERDIALOG_H__68D45661_80F7_11D3_9BDF_0020A9004404__INCLUDED_) 00073 00074 /* 00075 /-------------------------------------------------------------------- 00076 | 00077 | $Log: FilterDialog_8h-source.html,v $ 00077 | Revision 1.2 2004/09/15 15:26:23 uzadow 00077 | Linux compatibility changes, doc update. 00077 | 00078 | Revision 1.6 2001/09/16 19:03:23 uzadow 00079 | Added global name prefix PL, changed most filenames. 00080 | 00081 | Revision 1.5 2000/11/06 23:22:52 uzadow 00082 | Added dialogs for Contrast and Intensity 00083 | 00084 | Revision 1.4 2000/03/30 21:47:41 Ulrich von Zadow 00085 | Added zoom-in mode, PLWinBmpEx, conditional use of DrawDIB 00086 | and some other nice stuff by Bernard Delmée. 00087 | 00088 | Revision 1.3 2000/01/10 23:53:01 Ulrich von Zadow 00089 | Changed formatting & removed tabs. 00090 | 00091 | Revision 1.2 1999/12/02 17:07:35 Ulrich von Zadow 00092 | Changes by bdelmee. 00093 | 00094 | Revision 1.1 1999/10/19 21:33:49 Ulrich von Zadow 00095 | Added filter support. 00096 | 00097 | 00098 \-------------------------------------------------------------------- 00099 */