BRegion: Style fix, update parameter name

No functional change.

Trying to indentify each kind of object uniquely and consistently.

... update docs as well.
This commit is contained in:
John Scipione 2014-06-04 11:56:12 -04:00
parent cd805f6793
commit daabbbe5f9
3 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2014 Haiku Inc. All rights reserved.
* Copyright 2014 Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT License.
*
* Authors:
@ -8,8 +8,8 @@
* John Scipione, jscipione@gmail.com
*
* Corresponds to:
* headers/os/interface/Region.h hrev47289
* src/kits/interface/Region.cpp hrev47289
* headers/os/interface/Region.h hrev47312
* src/kits/interface/Region.cpp hrev47312
*/
@ -58,10 +58,10 @@
/*!
\fn BRegion::BRegion(const clipping_rect& rect)
\fn BRegion::BRegion(const clipping_rect& clipping)
\brief Initializes a region to contain a clipping_rect.
\param rect The clipping_rect to set the region to, already in
\param clipping The clipping_rect to set the region to, already in
internal rect format.
*/

View File

@ -83,7 +83,7 @@ private:
friend class Support;
private:
BRegion(const clipping_rect& other);
BRegion(const clipping_rect& clipping);
void _AdoptRegionData(BRegion& region);
bool _SetSize(int32 newSize);

View File

@ -64,11 +64,11 @@ BRegion::BRegion(const BRect rect)
// Initializes a region to contain a clipping_rect.
// NOTE: private constructor
BRegion::BRegion(const clipping_rect& rect)
BRegion::BRegion(const clipping_rect& clipping)
:
fCount(1),
fDataSize(1),
fBounds(rect),
fBounds(clipping),
fData(&fBounds)
{
}