**
** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+** Copyright (c) 2007, 2008 Chris Moore
+** Copyright (c) 2008, 2009 Carlos López
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
#include <gtkmm/optionmenu.h>
#include <gtkmm/checkbutton.h>
#include <gtkmm/widget_time.h>
+#include <gtkmm/tooltips.h>
+#include <gtkmm/comboboxtext.h>
+#include <gtkmm/spinbutton.h>
#include <synfig/gamma.h>
#include <synfig/time.h>
#include <algorithm>
/* === M A C R O S ========================================================= */
+#ifndef DEFAULT_PREDEFINED_SIZE
+#define DEFAULT_PREDEFINED_SIZE _("Custom Size")
+#endif
+#ifndef DEFAULT_PREDEFINED_FPS
+#define DEFAULT_PREDEFINED_FPS _("Custom fps")
+#endif
/* === T Y P E D E F S ===================================================== */
void on_gamma_b_change();
void on_black_level_change();
void on_red_blue_level_change();
+ void on_size_template_combo_change();
+ void on_fps_template_combo_change();
GammaPattern gamma_pattern;
BlackLevelSelector black_level_selector;
Gtk::Adjustment adj_undo_depth;
Gtk::CheckButton toggle_use_colorspace_gamma;
+#ifdef SINGLE_THREADED
Gtk::CheckButton toggle_single_threaded;
+#endif
synfig::Time::Format time_format;
Widget_Enum *widget_enum;
Widget_Time auto_backup_interval;
+
+ Gtk::CheckButton toggle_restrict_radius_ducks;
+ Gtk::CheckButton toggle_resize_imported_images;
+
+ Gtk::Entry textbox_browser_command;
+
+ Gtk::ComboBoxText* size_template_combo;
+ Gtk::ComboBoxText* fps_template_combo;
+ Gtk::Entry textbox_custom_filename_prefix;
+ Gtk::Adjustment adj_pref_x_size;
+ Gtk::Adjustment adj_pref_y_size;
+ Gtk::Adjustment adj_pref_fps;
+ Gtk::SpinButton* pref_fps_spinbutton;
+ Gtk::SpinButton* pref_y_size_spinbutton;
+ Gtk::SpinButton* pref_x_size_spinbutton;
+ Gtk::Tooltips tooltips_;
public:
void set_time_format(synfig::Time::Format time_format);