X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Frender.h;h=0a6263a00c0bdaeb6d9bcd460a7d320a3cd41ef2;hb=9459638ad6797b8139f1e9f0715c96076dbf0890;hp=aec2a2ce831734e1d88465896c9ae88afd36af0e;hpb=3a3c4bca3a17137bec5d7960560934b91ef4146e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/render.h b/synfig-studio/trunk/src/gtkmm/render.h index aec2a2c..0a6263a 100644 --- a/synfig-studio/trunk/src/gtkmm/render.h +++ b/synfig-studio/trunk/src/gtkmm/render.h @@ -1,28 +1,30 @@ -/* === S I N F G =========================================================== */ -/*! \file render.h +/* === S Y N F I G ========================================================= */ +/*! \file gtkmm/render.h ** \brief Template Header ** -** $Id: render.h,v 1.2 2005/01/10 08:13:44 darco Exp $ +** $Id$ ** ** \legal -** Copyright (c) 2002 Robert B. Quattlebaum Jr. +** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley +** Copyright (c) 2007 Chris Moore ** -** 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_STUDIO_GTKMM_RENDER_H -#define __SINFG_STUDIO_GTKMM_RENDER_H +#ifndef __SYNFIG_STUDIO_GTKMM_RENDER_H +#define __SYNFIG_STUDIO_GTKMM_RENDER_H /* === H E A D E R S ======================================================= */ @@ -36,9 +38,9 @@ #include #include -#include +#include -#include +#include #include "renddesc.h" @@ -51,36 +53,37 @@ namespace studio { class AsyncRenderer; - + class RenderSettings : public Gtk::Dialog { Gtk::Tooltips tooltips; - etl::handle canvas_interface_; + etl::handle canvas_interface_; Widget_RendDesc widget_rend_desc; Gtk::Entry entry_filename; Gtk::Adjustment adjustment_quality; - Gtk::SpinButton entry_quality; + Gtk::SpinButton entry_quality; Gtk::Adjustment adjustment_antialias; - Gtk::SpinButton entry_antialias; + Gtk::SpinButton entry_antialias; Gtk::CheckButton toggle_single_frame; Gtk::OptionMenu optionmenu_target; Gtk::Menu *menu_target; - sinfg::String target_name; - - void set_target(sinfg::String name); + synfig::String target_name; + + void set_target(synfig::String name); etl::handle async_renderer; public: - RenderSettings(Gtk::Window& parent,etl::handle canvas_interface); + RenderSettings(Gtk::Window& parent,etl::handle canvas_interface); ~RenderSettings(); + void set_entry_filename(); private: @@ -89,10 +92,10 @@ private: void on_choose_pressed(); void on_render_pressed(); void on_cancel_pressed(); - + void on_finished(); }; // END of class RenderSettings - + }; // END of namespace studio