summaryrefslogtreecommitdiff
path: root/plugingui/slider.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2018-06-08 16:58:32 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2018-06-08 16:58:32 +0200
commit21c9747b3a672d75caff5c2b78c309f481465b93 (patch)
tree8dd17149c0b30c3a43613dc73933a358c6f85df4 /plugingui/slider.h
parent59ec43d9b88dc50f2860b0171f0e4c43e90ee290 (diff)
Make slider light grey when it is greyed out.
Diffstat (limited to 'plugingui/slider.h')
-rw-r--r--plugingui/slider.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugingui/slider.h b/plugingui/slider.h
index c12144d..90905fd 100644
--- a/plugingui/slider.h
+++ b/plugingui/slider.h
@@ -122,6 +122,21 @@ private:
2, 1, 2, // dx1, dx2, dx3
2, 1, 2 // dy1, dy2, dy3
};
+ TexturedBox inner_bar_turquoise{getImageCache(), ":resources/slider.png",
+ 40, 0, // atlas offset (x, y)
+ 2, 1, 2, // dx1, dx2, dx3
+ 2, 1, 2 // dy1, dy2, dy3
+ };
+ TexturedBox inner_bar_orange{getImageCache(), ":resources/slider.png",
+ 40, 5, // atlas offset (x, y)
+ 2, 1, 2, // dx1, dx2, dx3
+ 2, 1, 2 // dy1, dy2, dy3
+ };
+ TexturedBox inner_bar_light_grey{getImageCache(), ":resources/slider.png",
+ 40, 10, // atlas offset (x, y)
+ 2, 1, 2, // dx1, dx2, dx3
+ 2, 1, 2 // dy1, dy2, dy3
+ };
// This points to the inner_bar_* of the current color.
// It should never be a nullptr!