Interfaces for working with mouse. You may access it via application getMouse().
You can find more information in comments below.
class IMouse
{
public:
virtual Point getPosition() = 0; // Return mouse pointer position in screen coordinates. Return {-1, -1} on the platform without mouse support.
virtual bool setPosition(const Point &value) = 0; // Set mouse pointer new position in screen coordinates. Return false on platform without mouse support.
};
Namespace: | nitisa |
Include: | Nitisa/Interfaces/IMouse.h |