[haiku-bugs] Re: [Haiku] #14898: Slider color use inconsistencies (DataTranslations, VirtualMemory)

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 11 Feb 2019 21:45:18 -0000

#14898: Slider color use inconsistencies (DataTranslations, VirtualMemory)
---------------------------+----------------------------
   Reporter:  -Meanwhile-  |      Owner:  nobody
       Type:  bug          |     Status:  new
   Priority:  normal       |  Milestone:  Unscheduled
  Component:  - General    |    Version:  R1/Development
 Resolution:               |   Keywords:  QA
 Blocked By:               |   Blocking:
Has a Patch:  0            |   Platform:  All
---------------------------+----------------------------

Comment (by jscipione):

 Fill Color is a feature of BeOS Sliders https://www.haiku-os.org/legacy-
 docs/bebook/BSlider.html See BSlider::UseFillColor(). We do not currently
 regulate when a developer should and should not use a fill color on a
 slider in their app. The jpeg and jpeg2000 sliders have a fill color of 0,
 0, 229 which is the default value for B_KEYBOARD_NAVIGATION_COLOR, while
 the Virtual Memory size slider uses B_CONTROL_HIGHLIGHT_COLOR. The jpeg
 and jpeg2000 translators should probably be updated to use a color
 constant instead of hardcoding color value. The use of 0, 0, 229 probably
 originates from BeOS which had limited color choices, earlier versions did
 not include the color constants in a InterfaceDefs.h and you had to pick
 something that could be displayed in 256 colors.

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

Other related posts: