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:58:07 -04:00
parent cd805f6793
commit daabbbe5f9
3 changed files with 8 additions and 8 deletions
+5 -5
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. * Distributed under the terms of the MIT License.
* *
* Authors: * Authors:
@@ -8,8 +8,8 @@
* John Scipione, [email protected] * John Scipione, [email protected]
* *
* Corresponds to: * Corresponds to:
* headers/os/interface/Region.h hrev47289 * headers/os/interface/Region.h hrev47312
* src/kits/interface/Region.cpp hrev47289 * 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. \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. internal rect format.
*/ */
+1 -1
View File
@@ -83,7 +83,7 @@ private:
friend class Support; friend class Support;
private: private:
BRegion(const clipping_rect& other); BRegion(const clipping_rect& clipping);
void _AdoptRegionData(BRegion& region); void _AdoptRegionData(BRegion& region);
bool _SetSize(int32 newSize); bool _SetSize(int32 newSize);
+2 -2
View File
@@ -64,11 +64,11 @@ BRegion::BRegion(const BRect rect)
// Initializes a region to contain a clipping_rect. // Initializes a region to contain a clipping_rect.
// NOTE: private constructor // NOTE: private constructor
BRegion::BRegion(const clipping_rect& rect) BRegion::BRegion(const clipping_rect& clipping)
: :
fCount(1), fCount(1),
fDataSize(1), fDataSize(1),
fBounds(rect), fBounds(clipping),
fData(&fBounds) fData(&fBounds)
{ {
} }