mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
[Summary] Change request from IGOR
This commit is contained in:
parent
42151129c9
commit
826495ce38
3 changed files with 19 additions and 12 deletions
|
|
@ -56,9 +56,9 @@ WavesIconButton::render (cairo_t* cr, cairo_rectangle_t*)
|
|||
|
||||
if (pixbuf == 0) {
|
||||
pixbuf = (get_state() == Gtk::STATE_INSENSITIVE) ?
|
||||
(_inactive_pixbuf ? _inactive_pixbuf : _normal_pixbuf) :
|
||||
(get_active() ? (_active_pixbuf ? _active_pixbuf : _normal_pixbuf) :
|
||||
_normal_pixbuf);
|
||||
_inactive_pixbuf :
|
||||
(_pushed ? (get_active () ? _normal_pixbuf : _active_pixbuf) :
|
||||
(get_active () ? _active_pixbuf : _normal_pixbuf));
|
||||
}
|
||||
|
||||
// pixbuf, if any
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue