📄 stmpatheventhandle.h
字号:
// STMPathEventHandle.h: interface for the CSTMPathEventHandle class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_STMPATHEVENTHANDLE_H__C392690E_CBA6_436C_A9C4_5031668CA8F9__INCLUDED_)
#define AFX_STMPATHEVENTHANDLE_H__C392690E_CBA6_436C_A9C4_5031668CA8F9__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "stmeditordoc.h"
class CSTMPathEventHandle
{
public:
void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
void OnLButtonDown(UINT nFlags, CPoint point);
void DrawAllPathes();
CSTMPathEventHandle();
virtual ~CSTMPathEventHandle();
void OnMouseMove(UINT nFlags, CPoint point);
void OnRButtonUp(UINT nFlags, CPoint point);
void OnLButtonUp(UINT nFlags, CPoint point);
void DrawPath(int index);
CSTMEditorDoc *m_pDoc;
CScrollView * m_pMapView;
private:
void XORtraceLine();
POINT CalcHitPoint(int begin, int end);
PATHINFO m_hotPath;
POINT m_traceLineBegin,m_traceLineEnd;
};
#endif // !defined(AFX_STMPATHEVENTHANDLE_H__C392690E_CBA6_436C_A9C4_5031668CA8F9__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -