From 6dcb20af785df2dfeb0657b711266dbbaaa2dbbf Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 25 Feb 2011 03:20:47 +0000 Subject: take reverse width into account when labelling signals in panner2d ; better way to draw the width arc git-svn-id: svn://localhost/ardour2/branches/3.0@8956 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/panner2d.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/panner2d.h') diff --git a/gtk2_ardour/panner2d.h b/gtk2_ardour/panner2d.h index 4fbf0e131f..609840bbfe 100644 --- a/gtk2_ardour/panner2d.h +++ b/gtk2_ardour/panner2d.h @@ -117,6 +117,7 @@ class Panner2d : public Gtk::DrawingArea int width; int height; int dimen; + double last_width; bool bypassflag; @@ -130,6 +131,7 @@ class Panner2d : public Gtk::DrawingArea void toggle_bypass (); void handle_state_change (); void handle_position_change (); + void label_pucks (); PBD::ScopedConnectionList connections; -- cgit v1.2.3