removed Draw() method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9447 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -68,21 +68,6 @@ MethodMenuItem::GetContentSize(float *width, float *height)
|
|||||||
*height = MENUITEM_ICON_SIZE;
|
*height = MENUITEM_ICON_SIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
void
|
|
||||||
MethodMenuItem::Draw()
|
|
||||||
{
|
|
||||||
BMenu *menu = Menu();
|
|
||||||
|
|
||||||
menu->PushState();
|
|
||||||
|
|
||||||
menu->MovePenTo(ContentLocation());
|
|
||||||
DrawContent();
|
|
||||||
menu->PopState();
|
|
||||||
|
|
||||||
BMenuItem::Draw();
|
|
||||||
}*/
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
MethodMenuItem::DrawContent()
|
MethodMenuItem::DrawContent()
|
||||||
|
|||||||
@@ -29,7 +29,6 @@ public:
|
|||||||
|
|
||||||
virtual ~MethodMenuItem();
|
virtual ~MethodMenuItem();
|
||||||
|
|
||||||
//virtual void Draw();
|
|
||||||
virtual void DrawContent();
|
virtual void DrawContent();
|
||||||
virtual void GetContentSize(float *width, float *height);
|
virtual void GetContentSize(float *width, float *height);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user