⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wbpen.h

📁 电子白板程序
💻 H
字号:
// WBPen.h: interface for the CWBPen class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_WBPEN_H__7AF7EBCC_F945_4311_B35D_8BC1D44FE0A2__INCLUDED_)
#define AFX_WBPEN_H__7AF7EBCC_F945_4311_B35D_8BC1D44FE0A2__INCLUDED_
#pragma warning(disable:4786)
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include <list>
using namespace std;

#include "DrawBase.h"

typedef list< POINT >LIST_POINT;

class CWBPen : public CDrawBase  
{
public:
	         CWBPen( CDrawView & view );

	virtual ~CWBPen();

	virtual  CDrawBase * Clone( void );

	virtual  HCURSOR     GetCursor( void );

	virtual  bool        Select( CRect & rc );

	virtual  char * Encode( int & size , bool erase = false );

	virtual  bool  Decode( char * buffer , int size );

protected:

	virtual   void OnDraw( CDC * pDC );

	virtual   void OnLButtonDown( UINT nFlags, CPoint point );

	virtual   void OnMouseMove( UINT nFlags, CPoint point );

	virtual   void OnLButtonUp( UINT nFlags, CPoint point );

private:

	LIST_POINT list_point;

	POINT      orgin;
};

#endif // !defined(AFX_WBPEN_H__7AF7EBCC_F945_4311_B35D_8BC1D44FE0A2__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -