X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fbutton_joiner.h;h=41e5f745c0ef26e0dce68e36e0b3a3d7e55742ab;hb=946a99f554a158d569b2cea5310a1197664dcda5;hp=e39e6b5134eb7e193110e0ebf7a4a65ac9b0061a;hpb=89aed48f92a673f5bd3f5129602fcff9ecbed103;p=ardour.git diff --git a/gtk2_ardour/button_joiner.h b/gtk2_ardour/button_joiner.h index e39e6b5134..41e5f745c0 100644 --- a/gtk2_ardour/button_joiner.h +++ b/gtk2_ardour/button_joiner.h @@ -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__ @@ -13,11 +32,11 @@ class ButtonJoiner : public CairoWidget, public Gtkmm2ext::Activatable { ButtonJoiner (const std::string&, Gtk::Widget&, Gtk::Widget&, bool central_link = false); ~ButtonJoiner (); - void set_related_action (Glib::RefPtr); + void set_related_action (Glib::RefPtr); void set_active_state (Gtkmm2ext::ActiveState); protected: - void render (cairo_t*); + void render (cairo_t*, cairo_rectangle_t*); bool on_button_release_event (GdkEventButton*); void on_size_request (Gtk::Requisition*); void on_size_allocate (Gtk::Allocation&);