Added IsLayoutValid().

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21141 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2007-05-15 15:38:26 +00:00
parent c53b934329
commit 476d4befd7
2 changed files with 8 additions and 0 deletions

View File

@ -536,6 +536,7 @@ public:
void InvalidateLayout(bool descendants = false);
void EnableLayoutInvalidation();
void DisableLayoutInvalidation();
bool IsLayoutValid() const;
BLayoutContext* LayoutContext() const;

View File

@ -4066,6 +4066,13 @@ BView::DisableLayoutInvalidation()
}
bool
BView::IsLayoutValid() const
{
return fLayoutData->fLayoutValid;
}
BLayoutContext*
BView::LayoutContext() const
{