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:
@@ -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
|
||||
TReplicantTray::MessageReceived(BMessage* message)
|
||||
{
|
||||
|
||||
@@ -79,7 +79,6 @@ public:
|
||||
|
||||
virtual void AttachedToWindow();
|
||||
virtual void DetachedFromWindow();
|
||||
virtual void Draw(BRect updateRect);
|
||||
virtual void MouseDown(BPoint point);
|
||||
virtual void MessageReceived(BMessage*);
|
||||
virtual void GetPreferredSize(float*, float*);
|
||||
|
||||
Reference in New Issue
Block a user