X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fcanvas%2Fpixbuf.cc;h=d285c41b10e8ccd850f983d35c4cf113e5730739;hb=a992a2e6e07c1eb9465b2437aebe7921058f428b;hp=ccb42fdf745efc317d0374ba66305b916ad1dd94;hpb=6ae4f104371ed433a79c8845de97428d964edd8b;p=ardour.git diff --git a/libs/canvas/pixbuf.cc b/libs/canvas/pixbuf.cc index ccb42fdf74..d285c41b10 100644 --- a/libs/canvas/pixbuf.cc +++ b/libs/canvas/pixbuf.cc @@ -1,17 +1,38 @@ +/* + Copyright (C) 2011-2013 Paul Davis + Author: Carl Hetherington + + 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. +*/ + #include #include -#include "pbd/xml++.h" - #include "canvas/pixbuf.h" using namespace std; using namespace ArdourCanvas; -Pixbuf::Pixbuf (Group* g) - : Item (g) +Pixbuf::Pixbuf (Canvas* c) + : Item (c) +{ +} + +Pixbuf::Pixbuf (Item* parent) + : Item (parent) { - } void @@ -49,15 +70,3 @@ Pixbuf::pixbuf() { return _pixbuf; } -XMLNode * -Pixbuf::get_state () const -{ - /* XXX */ - return new XMLNode ("Pixbuf"); -} - -void -Pixbuf::set_state (XMLNode const * /*node*/) -{ - /* XXX */ -}