Update BView::DrawAfterChildren() param name

... from r to updateRect, no functional change intended.

Also a tiny change to the param description in the docs.
This commit is contained in:
John Scipione
2013-11-06 13:14:53 -05:00
parent 2f746eafdc
commit 45e17d3d42
3 changed files with 6 additions and 6 deletions
+4 -4
View File
@@ -6,8 +6,8 @@
* John Scipione, [email protected] * John Scipione, [email protected]
* *
* Corresponds to: * Corresponds to:
* headers/os/interface/View.h hrev45799 * headers/os/interface/View.h hrev46322
* src/kits/interface/View.cpp hrev45799 * src/kits/interface/View.cpp hrev46322
*/ */
@@ -769,11 +769,11 @@ SetViewColor(Parent()->ViewColor());
/*! /*!
\fn void BView::DrawAfterChildren(BRect r) \fn void BView::DrawAfterChildren(BRect updateRect)
\brief Perform any drawing that needs to be done after child view have \brief Perform any drawing that needs to be done after child view have
already been drawn. already been drawn.
\param r The rectangular area to be drawn. \param updateRect The rectangular area to drawn in.
The default implementation does nothing. The default implementation does nothing.
*/ */
+1 -1
View File
@@ -540,7 +540,7 @@ public:
virtual status_t Perform(perform_code code, void* data); virtual status_t Perform(perform_code code, void* data);
virtual void DrawAfterChildren(BRect r); virtual void DrawAfterChildren(BRect updateRect);
// layout related // layout related
+1 -1
View File
@@ -1191,7 +1191,7 @@ BView::Draw(BRect updateRect)
void void
BView::DrawAfterChildren(BRect r) BView::DrawAfterChildren(BRect updateRect)
{ {
// Hook function // Hook function
STRACE(("\tHOOK: BView(%s)::DrawAfterChildren()\n", Name())); STRACE(("\tHOOK: BView(%s)::DrawAfterChildren()\n", Name()));