-/* === 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
*/
/* ========================================================================= */
using namespace std;
using namespace etl;
-using namespace sinfg;
+using namespace synfig;
using namespace studio;
/* === M A C R O S ========================================================= */
{
work_area_=x;
}
-
+
void
WorkAreaRenderer::render_vfunc(
- const Glib::RefPtr<Gdk::Drawable>& window,
- const Gdk::Rectangle& expose_area
+ const Glib::RefPtr<Gdk::Drawable>& /*window*/,
+ const Gdk::Rectangle& /*expose_area*/
)
{
}
bool
WorkAreaRenderer::event_vfunc(
- GdkEvent* event
+ GdkEvent* /*event*/
)
{
return false;
int
WorkAreaRenderer::get_h()const
{ return get_work_area()->get_h(); }
-
+
float
WorkAreaRenderer::get_pw()const
{ return get_work_area()->get_pw(); }
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);
}