@@ -39,6 +39,7 @@ public:
|
|||||||
float IconWidth() const;
|
float IconWidth() const;
|
||||||
|
|
||||||
virtual void DrawLabel(BView* owner, BRect frame);
|
virtual void DrawLabel(BView* owner, BRect frame);
|
||||||
|
virtual void DrawFocusMark(BView* owner, BRect frame);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BBitmap* fIcon;
|
BBitmap* fIcon;
|
||||||
@@ -95,6 +96,14 @@ VolumeTab::DrawLabel(BView* owner, BRect frame)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void
|
||||||
|
VolumeTab::DrawFocusMark(BView* owner, BRect frame)
|
||||||
|
{
|
||||||
|
frame.left += IconWidth();
|
||||||
|
BTab::DrawFocusMark(owner, frame);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
VolumeTab::~VolumeTab()
|
VolumeTab::~VolumeTab()
|
||||||
{
|
{
|
||||||
delete fIcon;
|
delete fIcon;
|
||||||
|
|||||||
Reference in New Issue
Block a user