// Ftr2View.h : interface of the CFeature2View class // ///////////////////////////////////////////////////////////////////////////// #include "Fetr2Doc.h" #define DO_COLORRES 1 #define DO_REVERSE 2 #define DO_GRAYSCALE 3 #define DO_SIZE 4 #define DO_QUIT 5 #define RECTWIDTH(lpRect) (((LPRECT) lpRect)->right - ((LPRECT) lpRect)->left) #define RECTHEIGHT(lpRect) (((LPRECT) lpRect)->bottom - ((LPRECT) lpRect)->top) #if !defined(AFX_FTR2VIEW_H__FD13A66D_20B1_11D3_968A_0060087C03DE__INCLUDED_) #define AFX_FTR2VIEW_H__FD13A66D_20B1_11D3_968A_0060087C03DE__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CFeature2View : public CView { protected: // create from serialization only CFeature2View(); DECLARE_DYNCREATE(CFeature2View) // Attributes public: L_BOOL HandlePalette(UINT uMsg,HWND hWnd); CFeature2Doc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CFeature2View) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view protected: virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL // Implementation public: virtual ~CFeature2View(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CFeature2View) afx_msg void OnTimer(UINT nIDEvent); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: L_INT m_nTimer; L_INT m_nCount; HCURSOR m_hOrigCursor; L_CHAR m_ProcessNum; L_BOOL m_bFirst; public: LBitmapBase m_LeadBitmap; }; #ifndef _DEBUG // debug version in Ftr2View.cpp inline CFeature2Doc* CFeature2View::GetDocument() { return (CFeature2Doc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_FTR2VIEW_H__FD13A66D_20B1_11D3_968A_0060087C03DE__INCLUDED_)