cursor.cpp
来自「MONA是为数不多的C++语言编写的一个很小的操作系统」· C++ 代码 · 共 27 行
CPP
27 行
// This software is in the public domain.// There are no restrictions on any sort of usage of this software.#include <gui/System/Mona/Forms/Cursor.h>#ifdef MONA#include <monapi/messages.h>extern CommonParameters* __commonParams;#endifusing namespace System;using namespace System::Drawing;namespace System { namespace Mona { namespace Forms{ Point Cursor::get_Position() {#ifdef MONA return Point(__commonParams->mouse.x, __commonParams->mouse.y);#else /// needs to implement!!! return Point::get_Empty();#endif }}}}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?