[haiku-development] Re: Colors!

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 01 May 2012 13:39:10 +0200

On 05/01/2012 12:43 AM, Rene Gollent wrote:
On Mon, Apr 30, 2012 at 2:31 PM, Humdinger<humdingerb@xxxxxxxxxxxxxx>  wrote:
Much cooler than as demo app would be to have that picker replace the
current BColorControl. The interface would have to be more compact with
an extra-Colours!-like window opening on a click on the colour well.
Something like it is in I-O-M really.
That would ideally be nice, but that's also a significantly more
complicated undertaking for a number of reasons. First of all, the app
in its current form would probably have to be refactored a bit in
order to make it an embeddable control at all, second, it would have
to take into account ABI compatibility with the current BColorControl
which further complicates the former, and finally there are existing
apps which subclass and customize BColorControl, which would further
need to be taken into account. All in all, not quite so easy as simply
making it an optional package which could be made use of right away.

Why not just switch to the new one when the view is used within a layouted view?

Another alternative if binary compatibility would make things too complicated would be to introduce a new class, and deprecate the old one.

On top of that, having it as a demo app would be nice, too, so that you can easily drop colors on DeskCalc and other places if you want to.

Bye,
   Axel.

Other related posts: