载入中...
搜索中...
未找到
Cursor.h
浏览该文件的文档.
1#pragma once
2
3#include <string>
4
5namespace eve::mouse
6{
7
11class Cursor
12{
13public:
15 virtual ~Cursor();
16
20 virtual void *getHandle() const = 0;
21
25 virtual bool isCustom() const = 0;
26
31 virtual std::string getSystemType() const = 0;
32};
33
34} // eve::mouse
Opaque mouse cursor (system-defined or custom image).
Definition Cursor.h:12
virtual ~Cursor()
Releases the native cursor handle.
Definition Cursor.cpp:8
virtual bool isCustom() const =0
Returns whether this Cursor is system-defined or a custom image.
virtual void * getHandle() const =0
Returns a pointer to the implementation-dependent handle of this Cursor.
virtual std::string getSystemType() const =0
Returns the type of system cursor used, if this Cursor is using a system-defined image.