From 3fc965ed95df6d810fed98f0033493654847a7f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Nusser?= Date: Thu, 20 Apr 2017 20:35:24 +0200 Subject: Introduce new "button gray out" texture. --- plugingui/button.cc | 2 +- plugingui/resources/pushbutton.png | Bin 1577 -> 1408 bytes 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui') diff --git a/plugingui/button.cc b/plugingui/button.cc index 4cd3ef3..8e386c0 100644 --- a/plugingui/button.cc +++ b/plugingui/button.cc @@ -77,7 +77,7 @@ void Button::repaintEvent(RepaintEvent* repaintEvent) box_grey.setSize(w - padLeft, h - padTop); p.drawImage(padLeft, padTop, box_grey); - p.setColour(Colour(0.3)); + p.setColour(Colour(0.55)); } auto x = (w / 2) - (3 * text.length()) + (draw_state == State::Up ? 0 : 1) + diff --git a/plugingui/resources/pushbutton.png b/plugingui/resources/pushbutton.png index d2debb6..8022969 100644 Binary files a/plugingui/resources/pushbutton.png and b/plugingui/resources/pushbutton.png differ -- cgit v1.2.3