From eba68f612439961f8fef58ce5cb23ae96d77fe77 Mon Sep 17 00:00:00 2001 From: John Scipione Date: Mon, 8 Apr 2013 23:05:10 -0400 Subject: [PATCH] Update header and other style fixes --- src/preferences/appearance/ColorWhichItem.cpp | 11 ++++---- src/preferences/appearance/ColorWhichItem.h | 25 +++++++++++-------- 2 files changed, 19 insertions(+), 17 deletions(-) diff --git a/src/preferences/appearance/ColorWhichItem.cpp b/src/preferences/appearance/ColorWhichItem.cpp index e9fa522fa2..f380228e71 100644 --- a/src/preferences/appearance/ColorWhichItem.cpp +++ b/src/preferences/appearance/ColorWhichItem.cpp @@ -1,11 +1,11 @@ /* - * Copyright 2002-2008, Haiku. All rights reserved. + * Copyright 2002-2013 Haiku, Inc. All rights reserved. * Distributed under the terms of the MIT License. * * Authors: - * DarkWyrm (darkwyrm@earthlink.net) - * Rene Gollent (rene@gollent.com) - * Ryan Leavengood + * DarkWyrm, darkwyrm@earthlink.net + * Rene Gollent, rene@gollent.com + * Ryan Leavengood, leavengood@gmail.com */ @@ -25,7 +25,7 @@ ColorWhichItem::ColorWhichItem(const char* text, color_which which, void -ColorWhichItem::DrawItem(BView *owner, BRect frame, bool complete) +ColorWhichItem::DrawItem(BView* owner, BRect frame, bool complete) { rgb_color highColor = owner->HighColor(); rgb_color lowColor = owner->LowColor(); @@ -85,4 +85,3 @@ ColorWhichItem::SetColor(rgb_color color) { fColor = color; } - diff --git a/src/preferences/appearance/ColorWhichItem.h b/src/preferences/appearance/ColorWhichItem.h index abc5853719..09c5db3550 100644 --- a/src/preferences/appearance/ColorWhichItem.h +++ b/src/preferences/appearance/ColorWhichItem.h @@ -3,31 +3,34 @@ * Distributed under the terms of the MIT License. * * Authors: - * DarkWyrm - * Rene Gollent (rene@gollent.com) - * Ryan Leavengood + * DarkWyrm, bpmagic@columbus.rr.com + * Rene Gollent, rene@gollent.com + * Ryan Leavengood, leavengood@gmail.com + * John Scipione, jscipione@gmail.com */ - - #ifndef COLORWHICH_ITEM_H #define COLORWHICH_ITEM_H + #include #include #include + class ColorWhichItem : public BStringItem { public: - ColorWhichItem(const char* text, color_which which, rgb_color color); + ColorWhichItem(const char* text, color_which which, + rgb_color color); - virtual void DrawItem(BView *owner, BRect frame, bool complete); - color_which ColorWhich(void); - void SetColor(rgb_color color); + virtual void DrawItem(BView* owner, BRect frame, bool complete); + color_which ColorWhich(void); + void SetColor(rgb_color color); private: - color_which fColorWhich; - rgb_color fColor; + color_which fColorWhich; + rgb_color fColor; }; + #endif