Remove unused Draw function. Fixes CID 10350.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40264 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2011-01-22 13:52:57 +00:00
parent d2f34ea3e7
commit 908d7185b0
2 changed files with 6 additions and 27 deletions
-20
View File
@@ -306,26 +306,6 @@ TReplicantTray::AdjustPlacement()
} }
void
TReplicantTray::Draw(BRect)
{
return;
rgb_color menuColor = ViewColor();
rgb_color vdark = tint_color(menuColor, B_DARKEN_3_TINT);
rgb_color light = tint_color(menuColor, B_LIGHTEN_2_TINT);
BRect frame(Bounds());
SetHighColor(light);
StrokeLine(frame.LeftBottom(), frame.RightBottom());
StrokeLine(frame.RightBottom(), frame.RightTop());
SetHighColor(vdark);
StrokeLine(frame.RightTop(), frame.LeftTop());
StrokeLine(frame.LeftTop(), frame.LeftBottom());
}
void void
TReplicantTray::MessageReceived(BMessage* message) TReplicantTray::MessageReceived(BMessage* message)
{ {
-1
View File
@@ -79,7 +79,6 @@ public:
virtual void AttachedToWindow(); virtual void AttachedToWindow();
virtual void DetachedFromWindow(); virtual void DetachedFromWindow();
virtual void Draw(BRect updateRect);
virtual void MouseDown(BPoint point); virtual void MouseDown(BPoint point);
virtual void MessageReceived(BMessage*); virtual void MessageReceived(BMessage*);
virtual void GetPreferredSize(float*, float*); virtual void GetPreferredSize(float*, float*);