fb3493dfef
The tab frame is drawn behind the tabs. Create a new DrawTabFrame method in BControlLook and HaikuControlLook that draws the tab frame background. Until now we've been reusing the DrawInactiveTab method to draw the tab frame in BTabView. While this works on HaikuControlLook, it doesn't work on other ControlLook's (such as BeControlLook) that draw their tab frame differently. Add FBC method to preserve binary compatibility on gcc2 and gcc4. Move DrawTabFrame method to where _ReservedControlLook1 was in header. Set rect to area of tab frame in TabView instead of doing the calculation in HaikuControlLook so that others may benefit. Change-Id: I513e238914f6d680f495659b6ec902df15555015 Reviewed-on: https://review.haiku-os.org/c/haiku/+/1936 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> |
||
---|---|---|
.. | ||
AboutWindow.h | ||
AbstractSpinner.h | ||
BitmapPrivate.h | ||
BMCPrivate.h | ||
clipping.h | ||
ColorConversion.h | ||
ColorMenuItem.h | ||
ColumnListView.h | ||
ColumnTypes.h | ||
DecimalSpinner.h | ||
DecoratorPrivate.h | ||
DecorInfo.h | ||
DefaultColors.h | ||
DeskbarPrivate.h | ||
DirectWindowPrivate.h | ||
DraggerPrivate.h | ||
FontPrivate.h | ||
HaikuControlLook.h | ||
Icon.h | ||
input_globals.h | ||
InterfacePrivate.h | ||
MenuItemPrivate.h | ||
MenuPrivate.h | ||
MenuWindow.h | ||
Palette.h | ||
PictureDataWriter.h | ||
PicturePlayer.h | ||
PicturePrivate.h | ||
PictureProtocol.h | ||
PrivateScreen.h | ||
RegionSupport.h | ||
ShapePrivate.h | ||
Spinner.h | ||
StackAndTilePrivate.h | ||
TabViewPrivate.h | ||
TextViewSupportBuffer.h | ||
ToolTip.h | ||
ToolTipManager.h | ||
ToolTipWindow.h | ||
truncate_string.h | ||
utf8_functions.h | ||
ViewPort.h | ||
ViewPrivate.h | ||
WidthBuffer.h | ||
WindowInfo.h | ||
WindowPrivate.h | ||
WindowStack.h | ||
ZombieReplicantView.h |