Added ToDo items to some code I looked at.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6786 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -328,12 +328,16 @@ void BMenuItem::GetContentSize(float *width, float *height)
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
void BMenuItem::TruncateLabel(float maxWidth, char *newLabel)
|
void BMenuItem::TruncateLabel(float maxWidth, char *newLabel)
|
||||||
{
|
{
|
||||||
|
// ToDo: implement me!
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
void BMenuItem::DrawContent()
|
void BMenuItem::DrawContent()
|
||||||
{
|
{
|
||||||
fSuper->MovePenBy(0, fSuper->fAscent);
|
fSuper->MovePenBy(0, fSuper->fAscent);
|
||||||
fSuper->DrawString(fLabel);
|
fSuper->DrawString(fLabel);
|
||||||
|
|
||||||
|
// ToDo: label truncation is missing
|
||||||
|
// ToDo: draw trigger is missing!
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
void BMenuItem::Draw()
|
void BMenuItem::Draw()
|
||||||
|
|||||||
Reference in New Issue
Block a user