haiku/src/servers/app/proto6/ServerCursor.h
shatty dece452ee7 fixed newline at end of file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2002-09-28 01:48:03 +00:00

32 lines
571 B
C++

#ifndef _SERVER_SPRITE_H
#define _SERVER_SPRITE_H
#include <GraphicsDefs.h>
#include <Rect.h>
class ServerBitmap;
class ServerCursor
{
public:
ServerCursor(ServerBitmap *bmp,ServerBitmap *cmask=NULL);
ServerCursor(int8 *data);
ServerCursor(void);
~ServerCursor(void);
void MoveTo(int32 x, int32 y);
void SetCursor(int8 *data);
void SetCursor(ServerBitmap *bmp, ServerBitmap *cmask=NULL);
ServerBitmap *bitmap;
color_space cspace;
BRect bounds;
int width,height;
BPoint position,hotspot;
bool is_initialized;
};
extern int8 default_cursor[];
#endif