?? wbpen.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 + -