From 2418b1a07b5545bc59648c61186ccaf28d39fc8c Mon Sep 17 00:00:00 2001 From: DarkWyrm Date: Sat, 6 Nov 2004 19:44:49 +0000 Subject: [PATCH] Added a method to get the cursor position git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9812 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/servers/app/DisplayDriver.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/private/servers/app/DisplayDriver.h b/headers/private/servers/app/DisplayDriver.h index 54f9036a15..2f0fd40177 100644 --- a/headers/private/servers/app/DisplayDriver.h +++ b/headers/private/servers/app/DisplayDriver.h @@ -153,6 +153,7 @@ public: void ShowCursor(void); void ObscureCursor(void); void SetCursor(ServerCursor *cursor); + BPoint GetCursorPosition(void); void StrokeArc(const BRect &r, const float &angle, const float &span, const RGBColor &color); void StrokeArc(const BRect &r, const float &angle, const float &span, const DrawData *d); @@ -286,7 +287,7 @@ friend CursorHandler; accelerant_device_info fAccDeviceInfo; display_mode fDisplayMode; - CursorHandler *fCursorHandler; + CursorHandler fCursorHandler; // BRect oldcursorframe, cursorframe, saveframe; DrawData fDrawData;