Updated StrokeLineArray API to make life easier in calling on server side
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9374 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a622d7bb47
commit
cf5f46ff73
@ -65,6 +65,15 @@ typedef struct
|
||||
|
||||
} cursor_data;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
BPoint pt1;
|
||||
BPoint pt2;
|
||||
rgb_color color;
|
||||
|
||||
} LineArrayData;
|
||||
|
||||
|
||||
#ifndef HOOK_DEFINE_CURSOR
|
||||
|
||||
#define HOOK_DEFINE_CURSOR 0
|
||||
@ -202,7 +211,7 @@ public:
|
||||
virtual bool DumpToFile(const char *path);
|
||||
virtual ServerBitmap *DumpToBitmap(void);
|
||||
virtual void InvertRect(const BRect &r);
|
||||
virtual void StrokeLineArray(BPoint *pts, const int32 &numlines, const DrawData *d, RGBColor *colors);
|
||||
virtual void StrokeLineArray(const int32 &numlines, const LineArrayData *data, const DrawData *d);
|
||||
|
||||
virtual status_t SetDPMSMode(const uint32 &state);
|
||||
virtual uint32 DPMSMode(void) const;
|
||||
|
Loading…
Reference in New Issue
Block a user