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 Make it possible to reconnect BBitmap to the app_server. 2012-01-22 15:30:15 +13:00
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 * Introduced PaletteConverter::IndexForRGBA32() which checks if the alpha 2010-04-30 11:29:14 +00:00
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 * Put the decor stuff in the BPrivate namespace, as it should have been from 2011-05-21 18:12:25 +00:00
DecorInfo.h Update DecorInfo to scan for decorators 2014-02-20 19:31:49 -05:00
DefaultColors.h
DirectWindowPrivate.h now uses DIRECT_BUFFER_INFO_AREA_SIZE as the direct_buffer_info area size 2008-11-05 23:40:29 +00:00
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 Moved functions declarations to InterfacePrivate.h 2009-07-30 16:46:19 +00:00
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 BMenu: scroll marked item into view when menu has scrollers attached. 2013-05-03 21:10:51 +02:00
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 Forgot this file. 2012-01-22 15:30:18 +13:00
PictureProtocol.h BView: add methods for affine translation/scaling/rotation 2015-11-10 23:34:08 +01:00
PrivateScreen.h * Moved PrivateScreen.h header to headers/private/interface. 2009-08-21 09:37:54 +00:00
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 - Make MessageForListener a bit more flexible, passing a fix ServerLink is sometimes not enough and a separate sender and receiver is needed. 2010-11-20 06:47:20 +00:00
TabViewPrivate.h TabView: Add TabViewPrivate class, actually fix non-layout SetView. 2015-07-14 11:04:39 -04:00
TextViewSupportBuffer.h Use the Bfont object to discriminate between fonts (as in Dano) 2010-07-03 09:34:59 +00:00
ToolTip.h * Made the BToolTip interface a bit more convenient to use when subclassing it. 2009-08-11 12:32:12 +00:00
ToolTipManager.h Refactor ToolTipManager a bit. 2012-05-02 23:51:49 -04:00
ToolTipWindow.h Moved stable tool tip concept into the BToolManager class. 2012-04-28 22:14:03 +02:00
truncate_string.h * Replace the truncate_string() helper function with a new, simplified version. 2010-02-01 18:43:03 +00:00
utf8_functions.h Add an UTF8NextCharLen() version that takes a string length. 2011-12-06 19:09:56 +01:00
ViewPort.h Add private BViewPort class 2013-09-11 04:51:03 +02:00
ViewPrivate.h Set*UIColor, etc. 2016-01-04 06:48:22 -05:00
WidthBuffer.h * cleanup and style fixes in WidthBuffer 2010-08-11 18:03:37 +00:00
WindowInfo.h WindowInfo: spaces => tabs 2016-03-31 14:39:49 -07:00
WindowPrivate.h Fixes #7796. The decorator add-on is unloaded when not needed anymore. Avoid assigning offscreen windows a window behaviour (which lives in an add-on). When loading another add-on the offscreen window was still pointing to an invalid window behaviour. 2011-07-25 03:32:14 +00:00
WindowStack.h Fix coding style. 2010-08-20 04:34:18 +00:00
ZombieReplicantView.h Final part of cleanup in Catalog.h. 2012-04-16 00:04:41 +02:00