X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fplugin_display.cc;h=e00e8e9559a0fde4806e7674027a389fd13aa1ca;hb=923d07be31c9af6267b25826b74e7ee36c67a602;hp=24d8658d42d50a11c7de636a55bf1520f2d5245a;hpb=0c06860ed78410ec0f78e8648b0ecd92daf953a2;p=ardour.git diff --git a/gtk2_ardour/plugin_display.cc b/gtk2_ardour/plugin_display.cc index 24d8658d42..e00e8e9559 100644 --- a/gtk2_ardour/plugin_display.cc +++ b/gtk2_ardour/plugin_display.cc @@ -145,7 +145,7 @@ PluginDisplay::on_expose_event (GdkEventExpose* ev) cairo_save (cr); cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE); - display_frame(cr, width, height); + display_sample(cr, width, height); cairo_clip (cr); cairo_set_operator (cr, CAIRO_OPERATOR_OVER); @@ -168,7 +168,7 @@ PluginDisplay::on_expose_event (GdkEventExpose* ev) std::string name = get_name(); Gtkmm2ext::Color fill_color = UIConfiguration::instance().color (string_compose ("%1: fill active", name), &failed); - display_frame(cr, width, height); + display_sample(cr, width, height); cairo_set_operator (cr, CAIRO_OPERATOR_OVER); cairo_set_line_width(cr, 1.0); if (failed) { @@ -183,7 +183,7 @@ PluginDisplay::on_expose_event (GdkEventExpose* ev) } void -PluginDisplay::display_frame (cairo_t* cr, double w, double h) +PluginDisplay::display_sample (cairo_t* cr, double w, double h) { cairo_rectangle (cr, 0.0, 0.0, w, h); }