X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fautomation_gain_line.h;h=ca90216c8f2b4082f97f740925640a1e94b08614;hb=39a4068e36f632f2ff8abf99881d40e26d7e5183;hp=51a8f2502ac05210315cd692cc14b96cc0384744;hpb=183f69970c6c436b102f8b2fbe1bc6070c9e9bfe;p=ardour.git diff --git a/gtk2_ardour/automation_gain_line.h b/gtk2_ardour/automation_gain_line.h index 51a8f2502a..ca90216c8f 100644 --- a/gtk2_ardour/automation_gain_line.h +++ b/gtk2_ardour/automation_gain_line.h @@ -1,26 +1,40 @@ +/* + Copyright (C) 2000-2007 Paul Davis + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + +*/ + #ifndef __ardour_gtk_automation_gain_line_h__ #define __ardour_gtk_automation_gain_line_h__ #include -#include -#include +#include "canvas.h" #include "automation_line.h" namespace ARDOUR { class Session; } - class TimeAxisView; class AutomationGainLine : public AutomationLine { public: - AutomationGainLine (string name, ARDOUR::Session&, TimeAxisView&, Gnome::Canvas::Item* parent, - ARDOUR::Curve&, - gint (*point_callback)(Gnome::Canvas::Item*, GdkEvent*, gpointer), - gint (*line_callback)(Gnome::Canvas::Item*, GdkEvent*, gpointer)); + AutomationGainLine (const string & name, ARDOUR::Session&, TimeAxisView&, ArdourCanvas::Group& parent, ARDOUR::Curve&); void view_to_model_y (double&); void model_to_view_y (double&);