[haiku-bugs] Re: [Haiku] #9457: API for Obtaining Cursor Shape Bitmap and Change Notification

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Thu, 14 Feb 2013 08:14:59 -0000

#9457: API for Obtaining Cursor Shape Bitmap and Change Notification
----------------------------------+----------------------------
   Reporter:  AGMS                |      Owner:  axeld
       Type:  enhancement         |     Status:  new
   Priority:  normal              |  Milestone:  R1
  Component:  Servers/app_server  |    Version:  R1/Development
 Resolution:                      |   Keywords:  cursor, vnc
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by axeld):

 I guess putting it into BScreen would be a natural choice, as that one is
 the only class so far that represents the screen without any window
 relationship.

 I would not expose something like `GetCursorSerialNumber()` to the user,
 but rather a `HasCursorChanged()` method -- the house keeping of the
 update number could easily be hidden within the API.

 And finally, having dirty rects would definitely be faster -- to improve
 user responsiveness, you could still prioritize (or even divide) those
 rectangles.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/9457#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: