c1a7e89fc2
Just a few commits ago I moved the label truncation code out of BMenuItem and into BMCMenuBar because the truncation had to happen outside of BMenuItem. Turns out, that wasn't true so I'm moving the label truncation back into BMenuItem and removing the _DrawItems() method from BMCMenuBar. Note that the code is not a copy of what was there before, but, the updated version I created for BMCMenuBar. The main difference is that I use menuPrivate.Padding() instead of GetItemMargins() and I always use the width of the parent menu frame instead of using fBounds even if the state is not MENU_STATE_CLOSED. These are changes needed for BMCMenuBar but should work just as well for a regular BMenu. |
||
---|---|---|
.. | ||
BitmapPrivate.h | ||
BMCPrivate.h | ||
clipping.h | ||
ColorConversion.h | ||
ColorTools.h | ||
ColumnListView.h | ||
ColumnTypes.h | ||
DecoratorPrivate.h | ||
DecorInfo.h | ||
DefaultColors.h | ||
DirectWindowPrivate.h | ||
DraggerPrivate.h | ||
FontPrivate.h | ||
input_globals.h | ||
InterfacePrivate.h | ||
MenuPrivate.h | ||
MenuWindow.h | ||
Palette.h | ||
PictureDataWriter.h | ||
PicturePlayer.h | ||
PicturePrivate.h | ||
PictureProtocol.h | ||
PrivateScreen.h | ||
RegionSupport.h | ||
ShapePrivate.h | ||
StackAndTilePrivate.h | ||
TextViewSupportBuffer.h | ||
ToolTip.h | ||
ToolTipManager.h | ||
ToolTipWindow.h | ||
truncate_string.h | ||
utf8_functions.h | ||
ViewPrivate.h | ||
WidthBuffer.h | ||
WindowInfo.h | ||
WindowPrivate.h | ||
WindowStack.h | ||
ZombieReplicantView.h |