More work for integrating the new clipping code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13186 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -140,7 +140,9 @@ WinBorder::WinBorder(const BRect &r,
|
||||
fDecorator->GetSizeLimits(&fMinWidth, &fMinHeight, &fMaxWidth, &fMaxHeight);
|
||||
}
|
||||
|
||||
#ifndef NEW_CLIPPING
|
||||
RebuildFullRegion();
|
||||
#endif
|
||||
|
||||
gDesktop->AddWinBorder(this);
|
||||
|
||||
@@ -283,6 +285,8 @@ y = (float)int32(y);
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef NEW_CLIPPING
|
||||
|
||||
//! Rebuilds the WinBorder's "fully-visible" region based on info from the decorator
|
||||
void
|
||||
WinBorder::RebuildFullRegion()
|
||||
@@ -296,6 +300,8 @@ WinBorder::RebuildFullRegion()
|
||||
fDecorator->GetFootprint(&fFull);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//! Sets the minimum and maximum sizes of the window
|
||||
void
|
||||
WinBorder::SetSizeLimits(float minWidth, float maxWidth,
|
||||
|
||||
Reference in New Issue
Block a user