[haiku-bugs] Re: [Haiku] #12673: BColorControl: doublebuffering does not update slider colors

  • From: "rudolfc" <trac@xxxxxxxxxxxx>
  • Date: Wed, 09 Mar 2016 10:38:52 -0000

#12673: BColorControl: doublebuffering does not update slider colors
-----------------------------+---------------------------------------------
   Reporter:  rudolfc        |      Owner:  axeld
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  Unscheduled
  Component:                 |    Version:  R1/Development
  Kits/Interface Kit         |   Keywords:  BColorControl Backgrounds prefs
 Resolution:                 |   Blocking:
 Blocked By:                 |   Platform:  All
Has a Patch:  0              |
-----------------------------+---------------------------------------------

Comment (by rudolfc):

 If you add a single line in the file: ColorControl.cpp, method
 BColorControl::Draw, line 375: when fBitmap exists, first call
 _InitOffscreen() before doing DrawBitmap(fBitmap, B_ORIGIN).
 I guess though the method _InitOffscreen() would better have another name
 now though..

 Since I might hit the CodePolice or something, I gladly leave it upto
 someone else (not me) to update this class. thanks.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12673#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: