Added a TODO for bug 158. I can't do anything at the moment because I can't test how the bitmaps look like in beos
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16438 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
971af42f6f
commit
c86c09ddfe
@ -653,6 +653,9 @@ BMenuItem::DrawShortcutSymbol()
|
||||
|
||||
shortcut += fShortcutChar;
|
||||
|
||||
// TODO: If the shortcut is one of B_DOWN_ARROW, B_UP_ARROW, B_ENTER, etc.
|
||||
// we can't just use DrawString(), as those aren't valid ascii/UTF8 charachters.
|
||||
// In that case we need to build a BBitmap for the given shortcut and draw it using DrawBitmap()
|
||||
fSuper->DrawString(shortcut.String(), ContentLocation() +
|
||||
BPoint(fBounds.Width() - 14.0f - 32.0f, fBounds.Height() - 4.0f));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user