haiku/headers/private
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
..
app AppMisc: correct param name in docs, silences warning 2016-04-27 11:10:33 -07:00
audio
binary_compatibility BControl: Add icon support 2013-12-22 02:48:25 +01:00
bluetooth bluetooth: remove DEBUG definition. 2016-06-05 18:55:44 +02:00
debug Move comment to correct function. 2013-05-01 19:52:00 -04:00
debugger libdebugger: Add accessor for cpu state size. 2016-07-31 17:30:12 -04:00
device power: Remove old cpufreq interface 2013-11-22 05:30:14 +01:00
drivers Reworked little endian bitfields a bit. 2015-11-10 08:47:48 +01:00
file_systems Fix building Haiku from Haiku 2014-07-13 15:35:31 +02:00
firewire include strings.h where appriopriate... 2014-08-08 22:40:37 +02:00
fs_shell NodeMonitor: Added B_WATCH_CHILDREN flag. 2016-03-28 14:31:27 +02:00
graphics intel_extreme: Implement Snb PCH FDI link training 2016-07-29 17:49:59 -05:00
index_server Add a CLucene full-text add-on. 2010-10-28 15:22:52 +00:00
input Implemented the patch on #7963 in a different way. 2011-10-31 18:09:24 +00:00
interface BColorMenuItem: add custom color menufield 2016-07-31 19:42:39 -07:00
kernel M68K: drop the custom C arch_cpu_user_mem*() for the default impl 2016-07-20 21:57:19 +02:00
libroot libroot_debug: Merge guarded heap into libroot_debug. 2015-08-13 22:12:18 +02:00
locale Fix instanciate_catalog prototype 2015-01-17 17:02:40 +01:00
mail IMAP: New folders will now adopt default mail attributes. 2016-01-14 21:00:38 +01:00
media AdapterIO: Add IsRunning method 2016-07-09 16:18:09 +02:00
midi Midi: Remove some duplicated code 2015-08-27 11:51:57 +02:00
mount * Removed now obsolete notification (this was not even used in Tracker 2009-10-07 19:31:57 +00:00
net BSocketMessenger: Further improvements. 2016-05-14 21:31:24 -04:00
notification Notifications default to enabled on first boot. 2014-11-25 08:50:47 +01:00
package Moved BJob, and JobQueue into the support kit. 2015-05-21 21:37:01 +02:00
print PictureIterator.h: fix header guard spelling 2016-07-10 17:11:20 +02:00
runtime_loader system: Build using public elf.h header 2015-11-07 11:49:56 +13:00
screen_saver ScreenSaver: Rename BuildScreenSaverDefaultSettingsView 2016-04-13 15:50:30 -07:00
shared IMAP: New folders will now adopt default mail attributes. 2016-01-14 21:00:38 +01:00
storage storage kit: don't expose the dev_t in BPartition::Mount() 2014-09-15 16:28:41 +12:00
support JobQueue: fixed incorrect requeuing. 2015-10-18 13:11:26 +02:00
syslog_daemon syslog_daemon: Converted to BServer. 2015-07-22 20:40:47 +02:00
system extended_image_info: Add text_delta field 2016-04-29 22:32:14 +02:00
textencoding
tracker Tracker: IconMenuItem: Don't "use namespace" in a shared header. 2015-07-23 11:50:23 -04:00
usb_vision some copyright headers clean up 2010-04-12 21:02:09 +00:00
userlandfs UserlandFS: Make 64 bit clean and enable build for x86_64. 2015-03-29 16:25:17 +02:00
virtio virtio: add queue_is_full(), queue_is_empty(), queue_size() hooks. 2013-09-18 17:43:39 +02:00
vmdk Moved vmdkimage.h to a shareable place, cleaned it up a bit, and renamed it to 2009-10-01 03:08:46 +00:00