Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-studio / tags / stable / src / gtkmm / dialog_setup.h
index 133ab7b..c97e834 100644 (file)
@@ -6,6 +6,8 @@
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2007, 2008 Chris Moore
+**  Copyright (c) 2008 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/drawingarea.h>
 #include <gtkmm/optionmenu.h>
 #include <gtkmm/checkbutton.h>
+#include <gtkmm/widget_time.h>
+#include <gtkmm/tooltips.h>
+#include <gtkmm/comboboxtext.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
 /* === T Y P E D E F S ===================================================== */
 
 /* === C L A S S E S & S T R U C T S ======================================= */
@@ -148,6 +155,7 @@ class Dialog_Setup : public Gtk::Dialog
        void on_gamma_b_change();
        void on_black_level_change();
        void on_red_blue_level_change();
+       void on_size_template_combo_change();
 
        GammaPattern gamma_pattern;
        BlackLevelSelector black_level_selector;
@@ -162,11 +170,26 @@ class Dialog_Setup : public Gtk::Dialog
        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;
 
        Gtk::Menu *timestamp_menu;
        Widget_Enum *widget_enum;
+
+       Widget_Time auto_backup_interval;
+
+       Gtk::CheckButton toggle_restrict_radius_ducks;
+
+       Gtk::Entry textbox_browser_command;
+       
+       Gtk::ComboBoxText* size_template_combo;
+       Gtk::Entry textbox_custom_filename_prefix;
+       Gtk::Adjustment adj_pref_x_size;
+       Gtk::Adjustment adj_pref_y_size;
+       Gtk::Tooltips tooltips_;
 public:
 
        void set_time_format(synfig::Time::Format time_format);