[haiku-bugs] Re: [Haiku] #12578: Wrong colour for BSlider hash marks

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Fri, 15 Jan 2016 08:46:33 -0000

#12578: Wrong colour for BSlider hash marks
----------------------------------+----------------------------
   Reporter:  humdinger           |      Owner:  axeld
       Type:  bug                 |     Status:  new
   Priority:  blocker             |  Milestone:  R1/beta1
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:  12588
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------

Comment (by jackburton):

 Replying to [comment:12 looncraz]:

Replying to [comment:11 jessicah]:
That's not what the B_CONTROL_MARK constant is used for. In pre-merge
 ControlLook, it was pretty much the exclusive realm of checkboxes and
 radio buttons, and should stay this way. The other solutions are just
 hacks around what is genuinely a mistake when this behaviour was changed.


If we use R5.1/dan0 as a reference, the control highlight color should
 be used for those purposes... but that's just because the mark color
 didn't exist, IIRC... though dan0 didn't use the control highlight color
 for the hashmarks, it used a very different way of drawing sliders (a
 really nice way, IMHO: http://files.looncraz.net/Dan0Slider.png ;).

 I agree this looks nicer.
 We had this look in BChannelSlider, although it was removed because it
 didn't look consistent with the normal BSlider. Moreover, ChannelSlider
 uses a different api to draw the thumbs and the rest.
 It's still in the git history, though, but should be extended to BSlider,
 if we want to adopt it.

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

Other related posts: