From 65d5fe56f6174b4d261390e5c3203780168c04fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Tue, 10 May 2005 11:28:21 +0000 Subject: [PATCH] found some obsolete stuff when looking through code git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12615 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/people/PeopleView.cpp | 5 ++--- src/apps/people/PeopleView.h | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/apps/people/PeopleView.cpp b/src/apps/people/PeopleView.cpp index 32ee080c68..155f451668 100644 --- a/src/apps/people/PeopleView.cpp +++ b/src/apps/people/PeopleView.cpp @@ -48,17 +48,16 @@ TPeopleView::~TPeopleView(void) void TPeopleView::AttachedToWindow(void) { +printf("TPeopleView::AttachedToWindow()\n"); char *text; float offset; BBox *box; BFont font = *be_plain_font; BMenuField *field; BRect r; - rgb_color c; attr_info info; - c.red = c.green = c.blue = VIEW_COLOR; - SetViewColor(c); + SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR)); r = Bounds(); r.InsetBy(-1, -1); diff --git a/src/apps/people/PeopleView.h b/src/apps/people/PeopleView.h index b5fe6ee85e..84c4aeb1d9 100644 --- a/src/apps/people/PeopleView.h +++ b/src/apps/people/PeopleView.h @@ -73,8 +73,6 @@ #define GROUP_WIDTH 300 #define GROUP_TEXT "Group" -#define VIEW_COLOR 216 - class TTextControl;