X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Fdialog_preview.h;h=b65c12177c708400de8f0046e03a2ad6d3c180a9;hb=c17ff8c0593a678801a38e3dc400ace6bc57a4bb;hp=14417ea0d50ee112d1d6e666f4e9b16a99ec8a56;hpb=3a3c4bca3a17137bec5d7960560934b91ef4146e;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/dialog_preview.h b/synfig-studio/trunk/src/gtkmm/dialog_preview.h index 14417ea..b65c121 100644 --- a/synfig-studio/trunk/src/gtkmm/dialog_preview.h +++ b/synfig-studio/trunk/src/gtkmm/dialog_preview.h @@ -1,28 +1,29 @@ -/* === S I N F G =========================================================== */ +/* === S Y N F I G ========================================================= */ /*! \file dialog_preview.h ** \brief Preview dialog Header ** ** $Id: dialog_preview.h,v 1.1.1.1 2005/01/07 03:34:36 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_GTKMM_DIALOG_PREVIEW_H -#define __SINFG_GTKMM_DIALOG_PREVIEW_H +#ifndef __SYNFIG_GTKMM_DIALOG_PREVIEW_H +#define __SYNFIG_GTKMM_DIALOG_PREVIEW_H /* === H E A D E R S ======================================================= */ @@ -55,7 +56,7 @@ class Dialog_Preview : public Gtk::Dialog Widget_Preview preview; DialogSettings settings; - //etl::handle canvas; + //etl::handle canvas; public: Dialog_Preview(); @@ -89,6 +90,7 @@ class Dialog_PreviewOptions : public Gtk::Dialog // for finishing void on_ok_pressed(); + void on_cancel_pressed(); //for ui stuff void on_overbegin_toggle(); @@ -108,11 +110,11 @@ public: float get_global_fps() const { return globalfps; } void set_global_fps(float f); - sinfg::Time get_begintime() const { return time_begin.get_value(); } - void set_begintime(const sinfg::Time &t) { time_begin.set_value(t); } + synfig::Time get_begintime() const { return time_begin.get_value(); } + void set_begintime(const synfig::Time &t) { time_begin.set_value(t); } - sinfg::Time get_endtime() const { return time_end.get_value(); } - void set_endtime(const sinfg::Time &t) { time_end.set_value(t); } + synfig::Time get_endtime() const { return time_end.get_value(); } + void set_endtime(const synfig::Time &t) { time_end.set_value(t); } bool get_begin_override() const { return check_overbegin.get_active(); } void set_begin_override(bool o) { check_overbegin.set_active(o); }