Added copyright lines for files I've edited this year.
[synfig.git] / synfig-studio / trunk / src / gtkmm / renddesc.cpp
index c9c1dae..a57efc9 100644 (file)
@@ -2,10 +2,11 @@
 /*!    \file gtkmm/renddesc.cpp
 **     \brief Template File
 **
-**     $Id: renddesc.cpp,v 1.1.1.1 2005/01/07 03:34:36 darco Exp $
+**     $Id$
 **
 **     \legal
 **     Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
+**     Copyright (c) 2007 Chris Moore
 **
 **     This package is free software; you can redistribute it and/or
 **     modify it under the terms of the GNU General Public License as
@@ -36,7 +37,9 @@
 #include <gtkmm/box.h>
 #include <ETL/misc>
 #include <synfig/general.h>
-//#include <gtkmm/seperator.h>
+//#include <gtkmm/separator.h>
+
+#include "general.h"
 
 #endif
 
@@ -57,10 +60,6 @@ using namespace studio;
 #define SYNFIG_MAX_PIXEL_HEIGHT        (~(1<<31))
 #endif
 
-#if ! defined(_)
-#define _(x)   (x)
-#endif
-
 #ifndef DPM2DPI
 #define DPM2DPI(x)     ((x)/39.3700787402)
 #define DPI2DPM(x)     ((x)*39.3700787402)
@@ -81,12 +80,12 @@ Widget_RendDesc::Widget_RendDesc():
        Gtk::Notebook(),
        adjustment_width(1,1,SYNFIG_MAX_PIXEL_WIDTH),
        adjustment_height(1,1,SYNFIG_MAX_PIXEL_HEIGHT),
-       adjustment_xres(0,0,10000000),
-       adjustment_yres(0,0,10000000),
-       adjustment_phy_width(0,0,10000000),
-       adjustment_phy_height(0,0,10000000),
-       adjustment_fps(0,0,10000000),
-       adjustment_span(0,0,10000000)
+       adjustment_xres(0,0.0000000001,10000000),
+       adjustment_yres(0,0.0000000001,10000000),
+       adjustment_phy_width(0,0.0000000001,10000000),
+       adjustment_phy_height(0,0.0000000001,10000000),
+       adjustment_fps(0,0.0000000001,10000000),
+       adjustment_span(0,0.0000000001,10000000)
 {
        update_lock=0;
 
@@ -531,9 +530,9 @@ Widget_RendDesc::create_time_tab()
        Gtk::VBox *panelBox = manage(new Gtk::VBox(false, 12)); // for future widgets
        paddedPanel->add(*panelBox);
 
-       Gtk::Frame *time_frame = manage(new Gtk::Frame("Time Settings"));
+       Gtk::Frame *time_frame = manage(new Gtk::Frame(_("Time Settings")));
        time_frame->set_shadow_type(Gtk::SHADOW_NONE);
-       ((Gtk::Label *) time_frame->get_label_widget())->set_markup("<b>Time Settings</b>");
+       ((Gtk::Label *) time_frame->get_label_widget())->set_markup(_("<b>Time Settings</b>"));
        panelBox->pack_start(*time_frame, false, false, 0);
 
        Gtk::Alignment *timeFramePadding = manage(new Gtk::Alignment(0, 0, 1, 1));