[haiku-bugs] Re: [Haiku] #8035: BColorControl not redrawn when switching to and from 8-bit (256 color) mode

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Thu, 20 Oct 2011 07:51:21 -0000

#8035: BColorControl not redrawn when switching to and from 8-bit (256 color) 
mode
----------------------------------+----------------------------
   Reporter:  jscipione           |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  low                 |  Milestone:  R1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by axeld):

 Replying to [comment:1 pulkomandy]:
 > Redrawing is not enough, as BColorControl is a complex BView with other
 controls inside. Basically the only way out is destroying it entirely and
 building an entirely new one. But this risks breaking stuff around it for
 example if used in a layouted window...

 Not really. All it would have to do is update its cell size -- it does all
 the drawing itself, and the only other controls are not affected in
 palette mode AFAIK (even then they could be hidden/shown as needed).

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8035#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: