#if !defined(AFX_HFPREVIEW_H__FBE35A6C_DDA3_4F1F_A29B_19007BC5614D__INCLUDED_) #define AFX_HFPREVIEW_H__FBE35A6C_DDA3_4F1F_A29B_19007BC5614D__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // HFPreview.h : header file // #include "..\..\Libraries\ImageLib\Image.h" ///////////////////////////////////////////////////////////////////////////// // CHFPreview frame class CImageGrinderView; class CHFPreview : public CFrameWnd { DECLARE_DYNCREATE(CHFPreview) protected: // Attributes public: CHFPreview(); // protected constructor used by dynamic creation virtual ~CHFPreview(); CBitmap BackBuffer; CImageGrinderView *OwnerView; CPen PenSelected; // Operations public: void UpdateHF(); void DataToScreen(CPoint *pnt); void DataToScreen(CRect *rct); void ScreenToData(CPoint *pnt); void ScreenToData(CRect *rct); bool Adjust; void Initalize(CImageGrinderView *); void UpdateWindow(); // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CHFPreview) public: virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL); //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(CHFPreview) afx_msg void OnPaint(); afx_msg void OnClose(); afx_msg void OnSize(UINT nType, int cx, int cy); afx_msg void OnRButtonDown(UINT nFlags, CPoint point); afx_msg void OnRButtonUp(UINT nFlags, CPoint point); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_HFPREVIEW_H__FBE35A6C_DDA3_4F1F_A29B_19007BC5614D__INCLUDED_)