From 96157db11a090c3acb32d6758bd1ff7a1e4826fe Mon Sep 17 00:00:00 2001 From: Mjolnir Date: Fri, 4 Sep 2015 10:41:28 +0200 Subject: [PATCH] Mouse pos accessors --- Library/XYPlotter.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/XYPlotter.h b/Library/XYPlotter.h index dce8a21..b178f8c 100644 --- a/Library/XYPlotter.h +++ b/Library/XYPlotter.h @@ -11,6 +11,9 @@ class LIVINGDESKTOPLIBRARYSHARED_EXPORT XYPlotter : public LivingDevice void moveTo(int x, int y, bool toolup=true); + unsigned int getX() { return posX; } + unsigned int getY() { return posY; } + void calibrate(); private: -- 2.30.2