// Userbtmp.h: interface for the LUserBitmapWindow class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_USTWNBM_H__82DCF301_5911_11D2_8E55_0060087C0CB3__INCLUDED_) #define AFX_USTWNBM_H__82DCF301_5911_11D2_8E55_0060087C0CB3__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 class LUserBitmapWindow : public LBitmapWindow { LEAD_DECLAREOBJECT(LUserBitmapWindow); LEAD_DECLARE_CLASS_MAP(); LBitmap m_GrayBitmap ; public: CDemoView* m_pView; L_FLOAT m_fZoom; L_VOID OnZoom(L_UINT uZoomPercent); L_VOID DrawSelectedLines(HDC hdc, RECT* pRect); L_VOID OnDraw(HDC hdc,RECT& Rect); LUserBitmapWindow(); virtual ~LUserBitmapWindow(); }; #endif // !defined(AFX_USTWNBM_H__82DCF301_5911_11D2_8E55_0060087C0CB3__INCLUDED_)