* 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:
@@ -682,6 +682,14 @@ BWindow::EndViewTransaction()
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
BWindow::InViewTransaction() const
|
||||
{
|
||||
BAutolock locker(const_cast<BWindow*>(this));
|
||||
return fInTransaction;
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
BWindow::IsFront() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user