From c4e214743de72bff047c0fe8e4987b9f4326f3f0 Mon Sep 17 00:00:00 2001 From: Adi Oanca Date: Mon, 24 Jan 2005 20:59:27 +0000 Subject: [PATCH] All 'Invalidate' methods are now private, intended for RootLayer's use only. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11011 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/server/Layer.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/servers/app/server/Layer.h b/src/servers/app/server/Layer.h index ba69d20ef4..7ebdb6d561 100644 --- a/src/servers/app/server/Layer.h +++ b/src/servers/app/server/Layer.h @@ -90,11 +90,6 @@ public: const char *GetName(void) const { return (fName)?fName->String():NULL; } - void FullInvalidate(const BRect &rect); - void FullInvalidate(const BRegion ®ion); - void Invalidate(const BRegion ®ion); - void RebuildAndForceRedraw( const BRegion& reg, Layer *target); - virtual void RebuildFullRegion(void); void StartRebuildRegions( const BRegion& reg, Layer *target, uint32 action, BPoint& pt); void RebuildRegions( const BRegion& reg, uint32 action, BPoint pt, BPoint ptOffset); @@ -154,13 +149,16 @@ public: protected: friend class RootLayer; friend class WinBorder; - friend class Screen; friend class ServerWindow; friend class Workspace; void move_layer(float x, float y); void resize_layer(float x, float y); + void FullInvalidate(const BRect &rect); + void FullInvalidate(const BRegion ®ion); + void Invalidate(const BRegion ®ion); + BRect fFrame; BPoint fBoundsLeftTop; Layer *fParent;