summaryrefslogtreecommitdiff
path: root/gtk2_ardour/plugin_display.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-04-08 21:40:33 +0200
committerRobin Gareus <robin@gareus.org>2019-04-08 22:42:47 +0200
commita0b032efe2c5196764f5d499fcf2133d944ef265 (patch)
tree58f00bab2cbdba331546e603c5dccdd85fb46867 /gtk2_ardour/plugin_display.cc
parent37aaa2d11b47cbaf3f33bf2e7744cc899050d666 (diff)
Revert more "frame/sample" replacements
- Coverage concerns rectangles (frames, not sample) - frame-handles are rectangles - layout container boxes are frames - inline display boxes are display_frame
Diffstat (limited to 'gtk2_ardour/plugin_display.cc')
-rw-r--r--gtk2_ardour/plugin_display.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/plugin_display.cc b/gtk2_ardour/plugin_display.cc
index e00e8e9559..24d8658d42 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_sample(cr, width, height);
+ display_frame(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_sample(cr, width, height);
+ display_frame(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_sample (cairo_t* cr, double w, double h)
+PluginDisplay::display_frame (cairo_t* cr, double w, double h)
{
cairo_rectangle (cr, 0.0, 0.0, w, h);
}