diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-20 19:19:00 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-20 19:19:00 +0200 |
commit | 89b3bde1cfeb9fa3c7097555a86c6436da848a97 (patch) | |
tree | 4e69ab33bcf3699fc28d358933ccda0d6cc70b73 /plugingui/button.h | |
parent | c15331fa4b98ba58b2b500c79088d43ed31a4b4e (diff) |
Gray out diskstreaming "Apply" button if the value didn't change.
Also add a new texture for that.
Diffstat (limited to 'plugingui/button.h')
-rw-r--r-- | plugingui/button.h | 15 |
1 files changed, 10 insertions, 5 deletions
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"}; }; |