Implement app_server API to get mouse cursor information
|Reported by:||Wim||Owned by:||stippi|
|Has a Patch:||yes||Platform:||All|
Please refer to #4100 for related information.
I plan to do the work in the following steps:
- Implement an AS_GET_CURSOR_POSITION command in ServerApp. This function will be modeled after BView::GetMouse() but it will return global coordinates.
- 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.
- Make these two functions available from InterfaceDefs.cpp|h
- If appropriate, it may also be nice to have a BApplication::GetCursor() function to complement the SetCursor() function.
I will appreciate comments and suggestions.