summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-06-24 11:49:15 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2015-06-29 14:18:15 -0400
commitec16c454ef7d591634d061ffeb482d270f6b7325 (patch)
tree7f67ce729bf80c3e32bfe17f64ce9e3020a39435 /libs
parentbbece8f8d99c0bc2770291b5bf39e9fdff843c8b (diff)
comment unused but potentially usable variables
Diffstat (limited to 'libs')
-rw-r--r--libs/gtkmm2ext/waves_fastmeter.cc21
1 files changed, 10 insertions, 11 deletions
diff --git a/libs/gtkmm2ext/waves_fastmeter.cc b/libs/gtkmm2ext/waves_fastmeter.cc
index fa8cba9f7b..d97a92aac2 100644
--- a/libs/gtkmm2ext/waves_fastmeter.cc
+++ b/libs/gtkmm2ext/waves_fastmeter.cc
@@ -569,9 +569,8 @@ void
FastMeter::vertical_expose (cairo_t* cr, cairo_rectangle_t* area)
{
gint top_of_meter;
- GdkRectangle intersection;
- GdkRectangle background;
- GdkRectangle eventarea;
+ // GdkRectangle background;
+ // GdkRectangle eventarea;
//cairo_set_source_rgb (cr, 0, 0, 0); // black
//rounded_rectangle (cr, 0, 0, pixwidth + 2, pixheight + 2, 2);
@@ -585,15 +584,15 @@ FastMeter::vertical_expose (cairo_t* cr, cairo_rectangle_t* area)
pixrect.height = top_of_meter;
pixrect.y = pixheight - top_of_meter;
- background.x = 0;
- background.y = 0;
- background.width = pixrect.width;
- background.height = pixheight - top_of_meter;
+ // background.x = 0;
+ // background.y = 0;
+ // background.width = pixrect.width;
+ // background.height = pixheight - top_of_meter;
- eventarea.x = area->x;
- eventarea.y = area->y;
- eventarea.width = area->width;
- eventarea.height = area->height;
+ // eventarea.x = area->x;
+ // eventarea.y = area->y;
+ // eventarea.width = area->width;
+ // eventarea.height = area->height;
// Switching to CAIRO we would like to draw on the container's bkg.
// if (gdk_rectangle_intersect (&background, &eventarea, &intersection)) {