X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-studio%2Ftrunk%2Fsrc%2Fgtkmm%2Frenddesc.cpp;h=a57efc9f75d2cdba16c1ef7ad4eabc067f092608;hb=756c0d29ac1742f231e6615f9a577e574e35a4af;hp=c9c1daeb386092e2e01d3ea9812e9adf0ef8d583;hpb=c6af6e1c3816eb3b15c573089b32e6ae65cd2f49;p=synfig.git diff --git a/synfig-studio/trunk/src/gtkmm/renddesc.cpp b/synfig-studio/trunk/src/gtkmm/renddesc.cpp index c9c1dae..a57efc9 100644 --- a/synfig-studio/trunk/src/gtkmm/renddesc.cpp +++ b/synfig-studio/trunk/src/gtkmm/renddesc.cpp @@ -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 #include #include -//#include +//#include + +#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("Time Settings"); + ((Gtk::Label *) time_frame->get_label_widget())->set_markup(_("Time Settings")); panelBox->pack_start(*time_frame, false, false, 0); Gtk::Alignment *timeFramePadding = manage(new Gtk::Alignment(0, 0, 1, 1));