Decorator-resize redrawing fixed.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8047 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adi Oanca
2004-06-18 15:24:36 +00:00
parent 2ac69a4d66
commit ead47553f2
4 changed files with 5 additions and 3 deletions
+2
View File
@@ -92,6 +92,7 @@ WinBorder::WinBorder(const BRect &r, const char *name, const int32 look, const i
fMainWinBorder = NULL;
fDecorator = NULL;
fAdFlags = fAdFlags | B_LAYER_CHILDREN_DEPENDANT;
fFlags = B_WILL_DRAW | B_FULL_UPDATE_ON_RESIZE;
fIsMoving = false;
fIsResizing = false;
@@ -341,6 +342,7 @@ void WinBorder::HighlightDecorator(const bool &active)
void WinBorder::Draw(const BRect &r)
{
STRACE(("WinBorder(%s)::Draw()\n", GetName()));
// if we have a visible region, it is decorator's one.
if(fDecorator)
{