Updated LLView:
-Removed a few extra unneeded virtuals -Pulled tabgroups out of llpanel and into LLView -removeChild doesn't support delete. Delete manually. -addChildAtEnd renamed to addChildInBack -getScreenRect renamed to calcScreenRect -added calcScreenBoundingRect and calcBoundingRect(which updateBoundingRect calls -General cleanup. Someone at LL figured out that dynamic_cast actually exists. Fixed PieMenu not reliably centering on cursor. Fixed context menu crash in line and text editors. Classes with LLEditMenuHandler as a base do not need to set gEditMenuHandler to NULL, since LLEditMenuHandler's dtor does that already!
This commit is contained in:
@@ -86,7 +86,7 @@ LLStatBar *LLStatView::addStat(const std::string& name, LLStat *statp,
|
||||
stat_barp->mStatp = statp;
|
||||
|
||||
stat_barp->setVisible(mDisplayChildren);
|
||||
addChildAtEnd(stat_barp);
|
||||
addChildInBack(stat_barp);
|
||||
mStatBars.push_back(stat_barp);
|
||||
|
||||
// Rearrange all child bars.
|
||||
@@ -98,7 +98,7 @@ LLStatView *LLStatView::addStatView(const std::string& name, const std::string&
|
||||
{
|
||||
LLStatView *statview = new LLStatView(name, label, setting, rect);
|
||||
statview->setVisible(mDisplayChildren);
|
||||
addChildAtEnd(statview);
|
||||
addChildInBack(statview);
|
||||
return statview;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user