X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fworkarearenderer.cpp;h=215e03195b26b4f395df4a7705b9bae51d618b46;hb=0fc90d30508750c158f68fde20ede35212ef5e77;hp=47e2a18dd00bad42c260e75138d27db39aa764a5;hpb=3a3c4bca3a17137bec5d7960560934b91ef4146e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/workarearenderer.cpp b/synfig-studio/trunk/src/gtkmm/workarearenderer.cpp index 47e2a18..215e031 100644 --- a/synfig-studio/trunk/src/gtkmm/workarearenderer.cpp +++ b/synfig-studio/trunk/src/gtkmm/workarearenderer.cpp @@ -1,20 +1,21 @@ -/* === S I N F G =========================================================== */ -/*! \file template.cpp +/* === S Y N F I G ========================================================= */ +/*! \file workarearenderer.cpp ** \brief Template File ** -** $Id: workarearenderer.cpp,v 1.1.1.1 2005/01/07 03:34:37 darco Exp $ +** $Id$ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley ** -** This software and associated documentation -** are CONFIDENTIAL and PROPRIETARY property of -** the above-mentioned copyright holder. +** This package 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. ** -** You may not copy, print, publish, or in any -** other way distribute this software without -** a prior written agreement with -** the copyright holder. +** This package 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. ** \endlegal */ /* ========================================================================= */ @@ -37,7 +38,7 @@ using namespace std; using namespace etl; -using namespace sinfg; +using namespace synfig; using namespace studio; /* === M A C R O S ========================================================= */ @@ -87,7 +88,7 @@ WorkAreaRenderer::set_work_area(WorkArea* x) { work_area_=x; } - + void WorkAreaRenderer::render_vfunc( const Glib::RefPtr& window, @@ -110,7 +111,7 @@ WorkAreaRenderer::get_w()const int WorkAreaRenderer::get_h()const { return get_work_area()->get_h(); } - + float WorkAreaRenderer::get_pw()const { return get_work_area()->get_pw(); } @@ -118,14 +119,14 @@ float WorkAreaRenderer::get_ph()const { return get_work_area()->get_ph(); } -sinfg::Point -WorkAreaRenderer::screen_to_comp_coords(sinfg::Point pos)const +synfig::Point +WorkAreaRenderer::screen_to_comp_coords(synfig::Point pos)const { return get_work_area()->screen_to_comp_coords(pos); } -sinfg::Point -WorkAreaRenderer::comp_to_screen_coords(sinfg::Point pos)const +synfig::Point +WorkAreaRenderer::comp_to_screen_coords(synfig::Point pos)const { return get_work_area()->comp_to_screen_coords(pos); }