Patch by Wim van der Meer: Added get_mouse_bitmap() global method to

InterfaceDefs.h and corresponding implementation in the app_server. Thanks a
bunch! Closes ticket #5978.

A note to those using "update-all" with hybrid builds - the alternative GCC
system libs will not be updated this way, and this and Wim's last patch
change the libbe <-> app_server interface. You need to manually update the
respective libbe.so, or do a clean build, otherwise apps for the other GCC will
not start anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36830 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-05-16 15:51:54 +00:00
parent 0da416dcd3
commit 33394b856d
5 changed files with 195 additions and 9 deletions
+4 -1
View File
@@ -9,8 +9,10 @@
#include <GraphicsDefs.h>
#include <OS.h>
class BRect;
class BBitmap;
class BPoint;
class BRect;
// some handy UTF-8 characters
@@ -382,6 +384,7 @@ void set_focus_follows_mouse_mode(mode_focus_follows_mouse mode);
mode_focus_follows_mouse focus_follows_mouse_mode();
status_t get_mouse(BPoint* screenWhere, uint32* buttons);
status_t get_mouse_bitmap(BBitmap** bitmap, BPoint* hotspot);
void set_accept_first_click(bool acceptFirstClick);
bool accept_first_click();