-/*! ========================================================================
-** Synfig
-** Template Header File
-** $Id: renddesc.h,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $
+/* === S Y N F I G ========================================================= */
+/*! \file gtkmm/renddesc.h
+** \brief Header File
**
+** $Id$
+**
+** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
**
** This package is free software; you can redistribute it and/or
** 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
**
** === N O T E S ===========================================================
**
//Gtk::Adjustment adjustment_start_frame;
//Gtk::Adjustment adjustment_end_frame;
Gtk::Adjustment adjustment_span;
-
- Gtk::SpinButton *entry_width;
- Gtk::SpinButton *entry_height;
- Gtk::SpinButton *entry_xres;
- Gtk::SpinButton *entry_yres;
- Gtk::SpinButton *entry_phy_width;
- Gtk::SpinButton *entry_phy_height;
- Gtk::SpinButton *entry_fps;
-// Gtk::SpinButton *entry_start_time;
-// Gtk::SpinButton *entry_end_time;
-// Gtk::SpinButton *entry_start_frame;
-// Gtk::SpinButton *entry_end_frame;
- Gtk::SpinButton *entry_span;
+
+ Gtk::SpinButton *entry_width;
+ Gtk::SpinButton *entry_height;
+ Gtk::SpinButton *entry_xres;
+ Gtk::SpinButton *entry_yres;
+ Gtk::SpinButton *entry_phy_width;
+ Gtk::SpinButton *entry_phy_height;
+ Gtk::SpinButton *entry_fps;
+// Gtk::SpinButton *entry_start_time;
+// Gtk::SpinButton *entry_end_time;
+// Gtk::SpinButton *entry_start_frame;
+// Gtk::SpinButton *entry_end_frame;
+ Gtk::SpinButton *entry_span;
Gtk::CheckButton *toggle_px_aspect;
Gtk::CheckButton *toggle_px_width;
UpdateLock(int &locked):locked(locked){locked++;}
~UpdateLock(){locked--;}
};
-
+
public:
sigc::signal<void> &signal_changed() { return signal_changed_; }
Widget_RendDesc();
~Widget_RendDesc();
-
+
//! Sets the RendDesc
void set_rend_desc(const synfig::RendDesc &rend_desc);
const synfig::RendDesc &get_rend_desc();
void disable_time_section();
-
+
void enable_time_section();
-
+
void refresh();
private:
-
+
void on_width_changed();
void on_height_changed();
void on_xres_changed();
Gtk::Widget *create_time_tab();
Gtk::Widget *create_other_tab();
};
-
+
}; // END of namespace studio
/* === E N D =============================================================== */