Started implementing the server side of BScreen()->ReadBitmap().

Colorspace conversion is not done yet so that it only works correct in 32bit modes.
Also drawCursor is not respected yet. Partially fixes bug 197.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16573 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2006-03-02 23:50:06 +00:00
parent d5062208bb
commit 3e2ee69551
3 changed files with 41 additions and 3 deletions
+2 -1
View File
@@ -59,7 +59,8 @@ public:
// for screen shots
bool DumpToFile(const char *path);
ServerBitmap* DumpToBitmap();
status_t ReadBitmap(ServerBitmap *bitmap, bool drawCursor,
BRect bounds);
// clipping for all drawing functions, passing a NULL region
// will remove any clipping (drawing allowed everywhere)