haiku/src
John Scipione e88a89e676 Appearance Prefs: drag and drop between ColorWhichItems
Fixes final piece of #8618

Already added support for list items to drag colors out and you can
drag and drop between the list items and preview. but, what was
missing was drag and drop between list items. Updated
ColorWhichListItem to also accept color drops through their
parent ColorWhichListView.

Also included some related style fixes, use B_RGB_COLOR_TYPE
constant in place of (type_code)'RGBC'. 80-char limit fixes.

Simplify similar code in ColorPreview class to parse out rgb_color
from message.

ColorPreview passes dropped color along to APRView

APRView no longer accepts color drops, this is handled by ListView
and ColorPreview now.

Consolidated "RGBColor" and "which" message name strings into
constants defined in defs.h.

Change-Id: I88ec2a4ffe077620ec4cc3b032196cbff0f09615
2018-07-10 21:20:09 +00:00
..
add-ons freebsd11_network: Use FreeBSD's usbdevs file. 2018-07-09 23:11:00 -04:00
apps freebsd11_network: Adopt the generation of usbdevs.h. 2018-07-09 23:09:21 -04:00
bin HaikuDepot / PackageKit: Repositories 'Identifier' URL 2018-07-05 20:06:54 +00:00
build libroot_build: don't define system_time() on Haiku host. 2018-06-16 10:08:56 +00:00
data HaikuDepot / PackageKit: Repositories 'Identifier' URL 2018-07-05 20:06:54 +00:00
kits HaikuDepot / PackageKit: Repositories 'Identifier' URL 2018-07-05 20:06:54 +00:00
libs freebsd11_network: Use FreeBSD's usbdevs file. 2018-07-09 23:11:00 -04:00
preferences Appearance Prefs: drag and drop between ColorWhichItems 2018-07-10 21:20:09 +00:00
servers Media addon server: Suppress warnings 2018-07-10 21:19:35 +00:00
system vfs: Add missing NULL check of volume->ops. 2018-07-09 21:08:57 -04:00
tests HaikuDepot / PackageKit: Repositories 'Identifier' URL 2018-07-05 20:06:54 +00:00
tools HaikuDepot / PackageKit: Repositories 'Identifier' URL 2018-07-05 20:06:54 +00:00
Jamfile Interface Guidelines: migrate to docs/, use DocBookCSS. 2015-02-12 17:08:04 -05:00