From a7d7e9c80faf8f7e3ec3c5d22049f617df294241 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 27 Feb 2004 22:48:32 +0000 Subject: [PATCH] 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 --- src/kits/interface/MenuItem.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/kits/interface/MenuItem.cpp b/src/kits/interface/MenuItem.cpp index ffc4676742..a39f7abe28 100644 --- a/src/kits/interface/MenuItem.cpp +++ b/src/kits/interface/MenuItem.cpp @@ -328,12 +328,16 @@ void BMenuItem::GetContentSize(float *width, float *height) //------------------------------------------------------------------------------ void BMenuItem::TruncateLabel(float maxWidth, char *newLabel) { + // ToDo: implement me! } //------------------------------------------------------------------------------ void BMenuItem::DrawContent() { fSuper->MovePenBy(0, fSuper->fAscent); fSuper->DrawString(fLabel); + + // ToDo: label truncation is missing + // ToDo: draw trigger is missing! } //------------------------------------------------------------------------------ void BMenuItem::Draw()