From: Mjolnir Date: Fri, 4 Sep 2015 08:41:28 +0000 (+0200) Subject: Mouse pos accessors X-Git-Url: https://git.thomaspietrzak.com/?a=commitdiff_plain;h=96157db11a090c3acb32d6758bd1ff7a1e4826fe;p=livingdesktop.git Mouse pos accessors --- 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: