fix death issues, improve text messages

This commit is contained in:
Eduardo Bart
2012-01-25 12:56:17 -02:00
parent 29f99ee9b3
commit cfcc3fd428
13 changed files with 161 additions and 119 deletions

View File

@@ -261,7 +261,7 @@ public:
return tmp;
}
void bound(const TRect<T> &r) {
void bind(const TRect<T> &r) {
if(isNull() || r.isNull())
return;

View File

@@ -487,7 +487,7 @@ void UIWidget::bindRectToParent()
UIWidgetPtr parent = getParent();
if(parent) {
Rect parentRect = parent->getRect();
boundRect.bound(parentRect);
boundRect.bind(parentRect);
}
setRect(boundRect);