📄 mousedownlistener.cpp
字号:
//////////////////////////////////////////////////////////////////////
// Implementation of the CMouseDownListener class.
#include "MouseDownListener.h"
#include <iostream>
using namespace std;
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
CMouseDownListener::CMouseDownListener()
{
}
CMouseDownListener::~CMouseDownListener()
{
}
void CMouseDownListener::onMouseDown(int hPos, int vPos)
{
cout << "In CMouseDownListener::onMouseDown" << endl;
cout << " X = " << hPos << endl;
cout << " Y = " << vPos << endl;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -