BCursor: add a constructor with bitmap and point

* enhancement #15169
* get_mouse_bitmap(): also reads the colorspace from app_server.
* docs and tests

Change-Id: Iba63f8a2789530ae596c30b92f14828f31761d98
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3292
Reviewed-by: Adrien Destugues <[email protected]>
This commit is contained in:
Jérôme Duval
2020-10-08 08:23:31 +00:00
parent e5af52cede
commit 06ed32b8c4
13 changed files with 315 additions and 4 deletions
+4
View File
@@ -50,8 +50,12 @@ public:
BCursor(const BCursor& other);
BCursor(BCursorID id);
BCursor(BMessage* data);
BCursor(const BBitmap* bitmap,
const BPoint& hotspot);
virtual ~BCursor();
status_t InitCheck() const;
virtual status_t Archive(BMessage* archive,
bool deep = true) const;
static BArchivable* Instantiate(BMessage* archive);