diff options
author | André Nusser <andre.nusser@googlemail.com> | 2017-04-20 20:35:24 +0200 |
---|---|---|
committer | André Nusser <andre.nusser@googlemail.com> | 2017-04-20 20:36:27 +0200 |
commit | 3fc965ed95df6d810fed98f0033493654847a7f9 (patch) | |
tree | df797c45c587a4177ee3d358cf318db09dcb4004 /plugingui | |
parent | 769fc2a150f73f9fff48f72ce6f7d9a42ce0e366 (diff) |
Introduce new "button gray out" texture.
Diffstat (limited to 'plugingui')
-rw-r--r-- | plugingui/button.cc | 2 | ||||
-rw-r--r-- | plugingui/resources/pushbutton.png | bin | 1577 -> 1408 bytes |
2 files changed, 1 insertions, 1 deletions
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 Binary files differindex d2debb6..8022969 100644 --- a/plugingui/resources/pushbutton.png +++ b/plugingui/resources/pushbutton.png |