[haiku-bugs] [Haiku] #5978: Implement app_server API to get mouse cursor information

  • From: "Wim" <trac@xxxxxxxxxxxx>
  • Date: Wed, 12 May 2010 13:54:00 -0000

#5978: Implement app_server API to get mouse cursor information
--------------------------------+-------------------------------------------
 Reporter:  Wim                 |       Owner:  axeld         
     Type:  enhancement         |      Status:  new           
 Priority:  normal              |   Milestone:  R1            
Component:  Servers/app_server  |     Version:  R1/Development
 Keywords:  Screenshot          |   Blockedby:                
 Platform:  All                 |    Blocking:  4100          
--------------------------------+-------------------------------------------
 Please refer to #4100 for related information.

 I plan to do the work in the following steps:
  1. Implement an AS_GET_CURSOR_POSITION command in ServerApp. This
 function will be modeled after BView::GetMouse() but it will return global
 coordinates.
  1. Implement an AS_GET_CURSOR command in ServerApp. I think that this
 command should return an archived BCursor object, but since the
 BCursor::Archive() function has not yet been implemented, I also plan to
 work on that.
  1. Make these two functions available from InterfaceDefs.cpp|h
  1. If appropriate, it may also be nice to have a
 BApplication::GetCursor() function to complement the SetCursor() function.

 I will appreciate comments and suggestions.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5978>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: