summaryrefslogtreecommitdiff
path: root/plugingui/slider.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2017-04-21 08:55:00 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2017-04-21 08:55:00 +0200
commit07b5f422e7d5172992127feca05a1cf1a551dab5 (patch)
tree8c247c3c3b77b806e5d22c0ad4bba9ff7bf5b037 /plugingui/slider.cc
parent46e70f2177976c3a9fe31b4a9ff28d47b018ca3b (diff)
Change the slider color to grey when "unlimited".
Included a new slider texture for that.
Diffstat (limited to 'plugingui/slider.cc')
-rw-r--r--plugingui/slider.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugingui/slider.cc b/plugingui/slider.cc
index 41ffb01..bd28f81 100644
--- a/plugingui/slider.cc
+++ b/plugingui/slider.cc
@@ -76,6 +76,15 @@ void Slider::setColour(Colour colour)
case Colour::Blue:
inner_bar = &inner_bar_blue;
break;
+ case Colour::Yellow:
+ inner_bar = &inner_bar_yellow;
+ break;
+ case Colour::Purple:
+ inner_bar = &inner_bar_purple;
+ break;
+ case Colour::Grey:
+ inner_bar = &inner_bar_grey;
+ break;
}
}