small style cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15592 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -234,26 +234,29 @@ void RGBColor::SetColor(const rgb_color &color)
|
|||||||
\brief Set the object to specified color
|
\brief Set the object to specified color
|
||||||
\param col color to copy
|
\param col color to copy
|
||||||
*/
|
*/
|
||||||
void RGBColor::SetColor(const RGBColor &col)
|
void
|
||||||
|
RGBColor::SetColor(const RGBColor &col)
|
||||||
{
|
{
|
||||||
color32=col.color32;
|
color32 = col.color32;
|
||||||
color16=col.color16;
|
color16 = col.color16;
|
||||||
color8=col.color8;
|
color8 = col.color8;
|
||||||
update8=col.update8;
|
update8 = col.update8;
|
||||||
update16=col.update16;
|
update16 = col.update16;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
\brief Set the object to specified color
|
\brief Set the object to specified color
|
||||||
\param col color to copy
|
\param col color to copy
|
||||||
*/
|
*/
|
||||||
const RGBColor & RGBColor::operator=(const RGBColor &col)
|
const RGBColor&
|
||||||
|
RGBColor::operator=(const RGBColor &col)
|
||||||
{
|
{
|
||||||
color32=col.color32;
|
color32 = col.color32;
|
||||||
color16=col.color16;
|
color16 = col.color16;
|
||||||
color8=col.color8;
|
color8 = col.color8;
|
||||||
update8=col.update8;
|
update8 = col.update8;
|
||||||
update16=col.update16;
|
update16 = col.update16;
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -261,10 +264,11 @@ const RGBColor & RGBColor::operator=(const RGBColor &col)
|
|||||||
\brief Set the object to specified color
|
\brief Set the object to specified color
|
||||||
\param col color to copy
|
\param col color to copy
|
||||||
*/
|
*/
|
||||||
const RGBColor & RGBColor::operator=(const rgb_color &col)
|
const RGBColor&
|
||||||
|
RGBColor::operator=(const rgb_color &col)
|
||||||
{
|
{
|
||||||
color32=col;
|
color32 = col;
|
||||||
update8=update16=true;
|
update8 = update16 = true;
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user