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
|
void
|
||||||
TReplicantTray::MessageReceived(BMessage* message)
|
TReplicantTray::MessageReceived(BMessage* message)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -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*);
|
||||||
@@ -144,7 +143,7 @@ private:
|
|||||||
void RemoveItem(int32 id);
|
void RemoveItem(int32 id);
|
||||||
|
|
||||||
void MoveItem(entry_ref*, ino_t toDirectory);
|
void MoveItem(entry_ref*, ino_t toDirectory);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
BPoint LocationForReplicant(int32 index, float width);
|
BPoint LocationForReplicant(int32 index, float width);
|
||||||
BShelf* Shelf() const;
|
BShelf* Shelf() const;
|
||||||
@@ -160,7 +159,7 @@ private:
|
|||||||
bool fMultiRowMode;
|
bool fMultiRowMode;
|
||||||
float fMinimumTrayWidth;
|
float fMinimumTrayWidth;
|
||||||
|
|
||||||
bool fAlignmentSupport;
|
bool fAlignmentSupport;
|
||||||
#ifdef DB_ADDONS
|
#ifdef DB_ADDONS
|
||||||
BList* fItemList;
|
BList* fItemList;
|
||||||
uint64 fDeskbarSecurityCode;
|
uint64 fDeskbarSecurityCode;
|
||||||
@@ -181,7 +180,7 @@ enum {
|
|||||||
class TDragRegion : public BControl {
|
class TDragRegion : public BControl {
|
||||||
public:
|
public:
|
||||||
TDragRegion(TBarView*, BView*);
|
TDragRegion(TBarView*, BView*);
|
||||||
|
|
||||||
virtual void AttachedToWindow();
|
virtual void AttachedToWindow();
|
||||||
virtual void GetPreferredSize(float*, float*);
|
virtual void GetPreferredSize(float*, float*);
|
||||||
virtual void Draw(BRect);
|
virtual void Draw(BRect);
|
||||||
@@ -192,10 +191,10 @@ public:
|
|||||||
|
|
||||||
void DrawDragRegion();
|
void DrawDragRegion();
|
||||||
BRect DragRegion() const;
|
BRect DragRegion() const;
|
||||||
|
|
||||||
bool SwitchModeForRect(BPoint mouse, BRect rect,
|
bool SwitchModeForRect(BPoint mouse, BRect rect,
|
||||||
bool newVertical, bool newLeft, bool newTop, int32 newState);
|
bool newVertical, bool newLeft, bool newTop, int32 newState);
|
||||||
|
|
||||||
int32 DragRegionLocation() const;
|
int32 DragRegionLocation() const;
|
||||||
void SetDragRegionLocation(int32);
|
void SetDragRegionLocation(int32);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user