From 8a2b8a435528644eb9cecf8500734df40ad32faf Mon Sep 17 00:00:00 2001 From: Adi Oanca Date: Sun, 28 Mar 2004 14:35:13 +0000 Subject: [PATCH] * added a temporaly method for constraining the clipping region. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7077 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/servers/app/DisplayDriver.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/headers/private/servers/app/DisplayDriver.h b/headers/private/servers/app/DisplayDriver.h index 5b20fd8c65..03aaa746dc 100644 --- a/headers/private/servers/app/DisplayDriver.h +++ b/headers/private/servers/app/DisplayDriver.h @@ -258,6 +258,8 @@ public: virtual status_t WaitForRetrace(bigtime_t timeout=B_INFINITE_TIMEOUT); protected: +friend class Layer; +friend class WinBorder; ServerCursor *_GetCursor(void); virtual void HLinePatternThick(int32 x1, int32 x2, int32 y); @@ -296,7 +298,9 @@ protected: virtual void StrokeSolidRect(const BRect &rect, RGBColor &color); virtual void CopyBitmap(ServerBitmap *bitmap, const BRect &source, const BRect &dest, const DrawData *d); virtual void CopyToBitmap(ServerBitmap *target, const BRect &source); - + // temporarily virtual - until clipping code is added in DisplayDriver + virtual void ConstrainClippingRegion(BRegion *reg); + PatternHandler fDrawPattern; RGBColor fDrawColor; int fLineThickness;