projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa22689
)
Maybe gauges should only be colored when there is something to report: WARN or CRIT.
author
Ben Loftis
<ben@harrisonconsoles.com>
Fri, 16 Feb 2018 15:43:05 +0000
(09:43 -0600)
committer
Ben Loftis
<ben@harrisonconsoles.com>
Sat, 17 Feb 2018 15:24:15 +0000
(09:24 -0600)
gtk2_ardour/ardour_gauge.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/ardour_gauge.cc
b/gtk2_ardour/ardour_gauge.cc
index f4877c5f7aa1f9595f4131e56784a0bc9a704489..e299f069080cf96ed9e05e7c9e60256ed561c51c 100644
(file)
--- a/
gtk2_ardour/ardour_gauge.cc
+++ b/
gtk2_ardour/ardour_gauge.cc
@@
-103,16
+103,16
@@
ArdourGauge::render (Cairo::RefPtr<Cairo::Context> const& ctx, cairo_rectangle_t
switch (indicator ()) {
case Level_OK:
- cairo_set_source_rgba (cr, 0, .5, 0, 1.0);
break;
case Level_WARN:
cairo_set_source_rgba (cr, .7, .6, 0, 1.0);
+ cairo_fill (cr);
break;
case Level_CRIT:
cairo_set_source_rgba (cr, .9, 0, 0, 1.0);
+ cairo_fill (cr);
break;
}
- cairo_fill (cr);
int w, h;
_layout->get_pixel_size (w, h);