**
** \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
#include <gtkmm/box.h>
#include <ETL/misc>
#include <synfig/general.h>
-//#include <gtkmm/seperator.h>
+//#include <gtkmm/separator.h>
+
+#include "general.h"
#endif
#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)
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;
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));