The mother of all commits. :P
Unremoved zlib and added libpng to public libs (C'mon DW, make up your mind... ;^) Added screenshot support to app_server Added full keyboard message support to app_server Added UseLibraryHeaders and LibraryHeaders rules to jamrules Updated ColorUtils to convert uint32 colors to rgb_colors BAppServerLink now autolocks client-server communications on the client side (as it should) app_server now also juliennes and makes french fries. Yum. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3045 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include <string.h>
|
||||
#include <String.h>
|
||||
#include <math.h>
|
||||
#include "PNGDump.h"
|
||||
|
||||
#define CLIP_X(a) ( (a < 0) ? 0 : ((a > fbuffer->gcinfo.width-1) ? \
|
||||
fbuffer->gcinfo.width-1 : a) )
|
||||
@@ -1589,6 +1590,20 @@ void ScreenDriver::SetCursor(ServerCursor *csr)
|
||||
_Unlock();
|
||||
}
|
||||
|
||||
|
||||
/*!
|
||||
\brief Dumps the contents of the frame buffer to a file.
|
||||
\param path Path and leaf of the file to be created without an extension
|
||||
\return False if unimplemented or unsuccessful. True if otherwise.
|
||||
|
||||
Subclasses should add an extension based on what kind of file is saved
|
||||
*/
|
||||
bool ScreenDriver::DumpToFile(const char *path)
|
||||
{
|
||||
// TODO: implement calling SaveToPNG
|
||||
return false;
|
||||
}
|
||||
|
||||
void ScreenDriver::HLine(int32 x1, int32 x2, int32 y, RGBColor color)
|
||||
{
|
||||
// TODO: make this work with HW Acceleration, if possible
|
||||
|
||||
Reference in New Issue
Block a user