From 89b3bde1cfeb9fa3c7097555a86c6436da848a97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Thu, 20 Apr 2017 19:19:00 +0200 Subject: Gray out diskstreaming "Apply" button if the value didn't change. Also add a new texture for that. --- plugingui/button.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'plugingui/button.h') diff --git a/plugingui/button.h b/plugingui/button.h index fde0459..f6bb83c 100644 --- a/plugingui/button.h +++ b/plugingui/button.h @@ -45,13 +45,18 @@ protected: private: TexturedBox box_up{getImageCache(), ":pushbutton.png", 0, 0, // atlas offset (x, y) - 11, 1, 11, // dx1, dx2, dx3 - 10, 72, 12}; // dy1, dy2, dy3 + 7, 1, 7, // dx1, dx2, dx3 + 6, 12, 9}; // dy1, dy2, dy3 TexturedBox box_down{getImageCache(), ":pushbutton.png", - 23, 0, // atlas offset (x, y) - 11, 1, 11, // dx1, dx2, dx3 - 10, 72, 12}; // dy1, dy2, dy3 + 15, 0, // atlas offset (x, y) + 7, 1, 7, // dx1, dx2, dx3 + 6, 12, 9}; // dy1, dy2, dy3 + + TexturedBox box_grey{getImageCache(), ":pushbutton.png", + 30, 0, // atlas offset (x, y) + 7, 1, 7, // dx1, dx2, dx3 + 6, 12, 9}; // dy1, dy2, dy3 Font font{":fontemboss.png"}; }; -- cgit v1.2.3