haiku/headers/os
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
..
add-ons BMailProtocol: Removed delete/append methods. 2016-01-26 16:01:03 +01:00
app Style fixes to BPeropertyInfo class 2016-04-27 11:10:34 -07:00
arch ARM: remove annoying #warning 2014-10-26 23:40:17 +01:00
be_apps be_apps/ServicesDaemon: Remove. 2016-07-29 18:41:30 -04:00
bluetooth Bluetooth: fix thread safety issue. 2016-02-14 14:07:21 +01:00
device Revert r42812. As pointed by Michael, one can use 2011-10-24 21:02:14 +00:00
drivers NodeMonitor: Added B_WATCH_CHILDREN flag. 2016-03-28 14:31:27 +02:00
game Style fixes to the Game Kit, focus on docs 2014-06-11 16:44:48 -04:00
interface BColorMenuItem: add custom color menufield 2016-07-31 19:42:39 -07:00
kernel Core dump: Add symbols for commpage to core file 2016-05-22 22:10:48 +02:00
locale locale: Fix 24 hour format for DateTimeFormats. 2016-06-18 18:09:56 -04:00
mail BMailAccountSettings: use BPathFinder. 2015-11-07 20:55:14 +01:00
media Streaming: Use const reference in place of copying 2016-06-25 01:13:10 +02:00
midi B_BIG_SYNTH_FILE and B_LITTLE_SYNTH_FILE are deprecated. 2015-08-24 17:18:26 +02:00
midi2
net Add support for TLS SNI 2016-06-20 19:42:24 -04:00
package pkgman search: Add --requirements option 2015-11-20 20:55:12 +01:00
storage NodeMonitor: Added B_WATCH_CHILDREN flag. 2016-03-28 14:31:27 +02:00
support BLocker: Make copy constructor & assignment operator private. 2016-05-13 16:23:08 -04:00
translation Minor cleanup of translator roster commit, updated copyright. 2015-11-13 11:37:15 +01:00
AppKit.h
Be.h
BeBuild.h Added some support for GCC 7. 2016-05-05 18:20:26 +02:00
DeviceKit.h
GameKit.h
InterfaceKit.h
KernelKit.h
LocaleKit.h Remove references to NumberFormatImpl. 2014-10-06 08:35:50 +02:00
MailKit.h
MediaKit.h
MidiKit.h
NetKit.h
NetworkKit.h
StorageKit.h
SupportKit.h
TranslationKit.h