From 21c9747b3a672d75caff5c2b78c309f481465b93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Fri, 8 Jun 2018 16:58:32 +0200 Subject: Make slider light grey when it is greyed out. --- plugingui/slider.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'plugingui/slider.h') 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! -- cgit v1.2.3