parent
555c1cbfd8
commit
5da82e3a10
|
@ -39,6 +39,7 @@ public:
|
|||
float IconWidth() const;
|
||||
|
||||
virtual void DrawLabel(BView* owner, BRect frame);
|
||||
virtual void DrawFocusMark(BView* owner, BRect frame);
|
||||
|
||||
private:
|
||||
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()
|
||||
{
|
||||
delete fIcon;
|
||||
|
|
Loading…
Reference in New Issue