'libs/ardour' - Compiler specific includes and includes
[ardour.git] / gtk2_ardour / button_joiner.h
index 1f0fc573ca3e689437edafce89c85d63d2220d81..3d136faa74061adaa394201c2c970d82433d0e1c 100644 (file)
@@ -1,3 +1,22 @@
+/*
+    Copyright (C) 2012 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 __gtk2_ardour_button_joiner_h__
 #define __gtk2_ardour_button_joiner_h__
 
@@ -10,7 +29,7 @@
 
 class ButtonJoiner : public CairoWidget, public Gtkmm2ext::Activatable {
   public:
-       ButtonJoiner (const std::string&, Gtk::Widget&, Gtk::Widget&);
+       ButtonJoiner (const std::string&, Gtk::Widget&, Gtk::Widget&, bool central_link = false);
        ~ButtonJoiner ();
 
        void set_related_action (Glib::RefPtr<Gtk::Action>);    
@@ -35,7 +54,10 @@ class ButtonJoiner : public CairoWidget, public Gtkmm2ext::Activatable {
        std::string    name;
        cairo_pattern_t* active_fill_pattern;
        cairo_pattern_t* inactive_fill_pattern;
-
+       bool           central_link;
+       double         border_r;
+       double         border_g;
+       double         border_b;
        void set_colors ();
 };