haiku/headers/private/interface
John Scipione 81364c9d82 BColorMenuItem: add custom color menufield
http://insightfactory.tumblr.com/image/142366356207

* Make the color box a rectangle with proportions of golden ratio.
* Override GetContentSize() to make menu item area larger.
* Label should never truncate since I make sure there is enough room.
* Draw the label using BMenuItem parent class
* Carefully adjust the spacing so that there is an attractive amount of
  padding between the checkmark and color box and the color box and label.

Add _AddMenu method to BMenuField that adds BColorMenuItem as its
base menu item. This shows the BColorMenuItem in the closed state.

Create BPrivate::MenuItemPrivate

Add a SetSubmenu() method to MenuItemPrivate that gives you
the ability to add a submenu after creating the object. This
method should be public

Skip disabled items

Color gets updated even if you select an item in a submenu
2016-07-31 19:42:39 -07:00
..
AboutWindow.h BAboutWindow: Put the AboutView and StripeView into BPrivate. 2016-01-06 15:08:34 -05:00
AbstractSpinner.h BAbstractSpinner Colors 2016-01-10 18:51:04 +13:00
BitmapPrivate.h
BMCPrivate.h BMenu and friends: style fixes 2016-07-31 19:42:39 -07:00
clipping.h BRegion scaling: fix semantics to avoid holes/overlaps 2014-06-19 19:23:29 +02:00
ColorConversion.h
ColorMenuItem.h BColorMenuItem: add custom color menufield 2016-07-31 19:42:39 -07:00
ColumnListView.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
ColumnTypes.h A bunch of style fixes 2014-12-02 19:23:51 -05:00
DecimalSpinner.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
DecoratorPrivate.h
DecorInfo.h Update DecorInfo to scan for decorators 2014-02-20 19:31:49 -05:00
DefaultColors.h
DirectWindowPrivate.h
DraggerPrivate.h
FontPrivate.h
Icon.h BControl: Move icon code to separate class BIcon 2013-12-22 15:17:53 +01:00
input_globals.h
InterfacePrivate.h
MenuItemPrivate.h BColorMenuItem: add custom color menufield 2016-07-31 19:42:39 -07:00
MenuPrivate.h MenuPrivate: Add SetItemMargins() method 2016-07-31 19:42:39 -07:00
MenuWindow.h
Palette.h
PictureDataWriter.h BView: add methods for affine translation/scaling/rotation 2015-11-10 23:34:08 +01:00
PicturePlayer.h BView: add methods for affine translation/scaling/rotation 2015-11-10 23:34:08 +01:00
PicturePrivate.h
PictureProtocol.h BView: add methods for affine translation/scaling/rotation 2015-11-10 23:34:08 +01:00
PrivateScreen.h
RegionSupport.h
ShapePrivate.h app_server: add a cache for AlphaMasks 2015-11-14 16:09:52 +01:00
Spinner.h Split BSpinner into BAbstractSpinner and... 2015-08-22 15:15:08 -07:00
StackAndTilePrivate.h
TabViewPrivate.h TabView: Add TabViewPrivate class, actually fix non-layout SetView. 2015-07-14 11:04:39 -04:00
TextViewSupportBuffer.h
ToolTip.h
ToolTipManager.h
ToolTipWindow.h
truncate_string.h
utf8_functions.h
ViewPort.h
ViewPrivate.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
WidthBuffer.h
WindowInfo.h WindowInfo: spaces => tabs 2016-03-31 14:39:49 -07:00
WindowPrivate.h
WindowStack.h
ZombieReplicantView.h