[Commits] [wesnoth/wesnoth] 7531e7: gui2/tslider: Improved color scheme for slider gro...

GitHub noreply at github.com
Wed Oct 12 02:44:10 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7531e7ef2e4b7dc539df114024668d8696e60c8f
      https://github.com/wesnoth/wesnoth/commit/7531e7ef2e4b7dc539df114024668d8696e60c8f
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2016-10-11 (Tue, 11 Oct 2016)

  Changed paths:
    M data/gui/macros/_initial.cfg
    M data/gui/widget/slider_default.cfg
    M data/gui/widget/slider_minimal.cfg

  Log Message:
  -----------
  gui2/tslider: Improved color scheme for slider grooves

This makes it so the "selected" segment of the groove (towards the
slider origin) is drawn with a brighter color than the "empty" segment
(opposite from the origin). Since this obviously wouldn't work with
RGB #FFFFFF, and the color is too distracting anyway (it was pretty much
the only widget using the general *text* color), we now use the standard
UI border colors to match buttons, checkboxes and so on. This should
hopefully help with harmonizing Wesnoth's UI color scheme across the
board.

For this purpose we also introduce a macro for a darker/shaded disabled
text color, used for the unselected segment of disabled sliders.





More information about the Commits mailing list