* added 2 methods:...

* made one virtual


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7087 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2004-03-28 15:01:46 +00:00
parent 8a725f55d1
commit 47e76f9bba
+4 -2
View File
@@ -32,6 +32,7 @@ public:
uint32 CountChildren(void) const;
Layer* FindLayer(const int32 token);
Layer* LayerAt(const BPoint &pt);
bool IsTopLayer() { return fIsTopLayer; }
virtual Layer* VirtualTopChild() const;
virtual Layer* VirtualLowerSibling() const;
@@ -44,7 +45,7 @@ public:
void FullInvalidate(const BRegion &region);
void Invalidate(const BRegion &region);
void RebuildFullRegion(void);
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);
uint32 ResizeOthers(float x, float y, BPoint coords[], BPoint *ptOffset);
@@ -88,6 +89,7 @@ public:
// server "private" - should not be used
void SetRootLayer(RootLayer* rl){ fRootLayer = rl; }
void SetServerWindow(ServerWindow *win);
void SetAsTopLayer(bool option) { fIsTopLayer = option; }
private:
void RequestClientUpdate(const BRegion &reg, Layer *startFrom);
@@ -128,8 +130,8 @@ protected:
uint32 _resize_mode;
bool _hidden;
bool _is_updating;
bool fIsTopLayer;
// MyDriver *fDriver;
DisplayDriver *fDriver;
LayerData *_layerdata;
RGBColor fBackColor;