Checked in missing function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11435 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -126,3 +126,11 @@ void AddFields(BMessage* to, const BMessage* from, const char* excludeList[], co
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BRect ScaleRect(BRect rect, float scale) {
|
||||||
|
rect.left *= scale;
|
||||||
|
rect.right *= scale;
|
||||||
|
rect.top *= scale;
|
||||||
|
rect.bottom *= scale;
|
||||||
|
return rect;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user