-/* === S I N F G =========================================================== */
+/* === S Y N F I G ========================================================= */
/*! \file preview.h
** \brief Previews an animation
**
** $Id: preview.h,v 1.2 2005/01/10 08:13:44 darco Exp $
**
** \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
*/
/* ========================================================================= */
/* === S T A R T =========================================================== */
-#ifndef __SINFG_PREVIEW_H
-#define __SINFG_PREVIEW_H
+#ifndef __SYNFIG_PREVIEW_H
+#define __SYNFIG_PREVIEW_H
/* === H E A D E R S ======================================================= */
#include <gtkmm/drawingarea.h>
#include <gtkmm/checkbutton.h>
#include <gtkmm/canvasview.h>
-#include <sinfg/time.h>
-#include <sinfg/vector.h>
-#include <sinfg/general.h>
-#include <sinfg/renddesc.h>
-#include <sinfg/canvas.h>
+#include <synfig/time.h>
+#include <synfig/vector.h>
+#include <synfig/general.h>
+#include <synfig/renddesc.h>
+#include <synfig/canvas.h>
#include "widget_sound.h"
studio::CanvasView::LooseHandle canvasview;
- //sinfg::RendDesc description; //for rendering the preview...
+ //synfig::RendDesc description; //for rendering the preview...
float zoom,fps;
float begintime,endtime;
bool overbegin,overend;
int get_quality() const {return quality;}
void set_quality(int i) {quality = i;}
- sinfg::Canvas::Handle get_canvas() const {return canvasview->get_canvas();}
+ synfig::Canvas::Handle get_canvas() const {return canvasview->get_canvas();}
studio::CanvasView::Handle get_canvasview() const {return canvasview;}
void set_canvasview(const studio::CanvasView::LooseHandle &h);
//signal interface
sigc::signal<void, Preview *> & signal_destroyed() { return signal_destroyed_; }
- //sigc::signal<void, const sinfg::RendDesc &> &signal_desc_change() {return signal_desc_change_;}
+ //sigc::signal<void, const synfig::RendDesc &> &signal_desc_change() {return signal_desc_change_;}
//functions for exposing iterators through the preview
FlipBook::iterator begin() {return frames.begin();}