* Added a BWindow::InViewTransaction() that determines whether or not the

window is currently updating its drawings as suggested by Stippi.
* Add this method to decide whether to call _FontChanged() in
  BListView::SetFont().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34109 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-11-18 10:48:44 +00:00
parent 289d85d2ac
commit 09749e95dc
3 changed files with 12 additions and 4 deletions
+8
View File
@@ -682,6 +682,14 @@ BWindow::EndViewTransaction()
}
bool
BWindow::InViewTransaction() const
{
BAutolock locker(const_cast<BWindow*>(this));
return fInTransaction;
}
bool
BWindow::IsFront() const
{