Damaged decorator redrawing with previous CI. Got that repaired now.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8357 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2004-07-08 21:12:53 +00:00
parent 826375885f
commit 30d6c7b854
2 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -471,7 +471,7 @@ void Layer::RequestDraw(const BRegion &reg, Layer *startFrom)
// calculate the update region, then... // calculate the update region, then...
fUpdateReg = fVisible; fUpdateReg = fVisible;
if (fFlags & B_FULL_UPDATE_ON_RESIZE){ } if (fFlags & B_FULL_UPDATE_ON_RESIZE && fFrameAction == B_LAYER_RESIZE){ }
else { fUpdateReg.IntersectWith(&reg); } else { fUpdateReg.IntersectWith(&reg); }
if (fUpdateReg.CountRects() > 0) if (fUpdateReg.CountRects() > 0)
+6 -6
View File
@@ -12,11 +12,11 @@
enum enum
{ {
B_LAYER_NONE = 0x1U, B_LAYER_NONE = 1,
B_LAYER_MOVE = 0x2U, B_LAYER_MOVE = 2,
B_LAYER_SIMPLE_MOVE = 0x3U, B_LAYER_SIMPLE_MOVE = 3,
B_LAYER_RESIZE = 0x4U, B_LAYER_RESIZE = 4,
B_LAYER_MASK_RESIZE = 0x5U, B_LAYER_MASK_RESIZE = 5,
}; };
enum enum
@@ -157,7 +157,7 @@ protected:
bool fIsTopLayer; bool fIsTopLayer;
uint16 fAdFlags; uint16 fAdFlags;
int8 fClassID; int8 fClassID;
bool fFrameAction; int8 fFrameAction;
DisplayDriver *fDriver; DisplayDriver *fDriver;
LayerData *fLayerData; LayerData *fLayerData;