summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fa19365)
raw | patch | inline | side by side (parent: fa19365)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 27 Mar 2008 21:18:57 +0000 (21:18 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Thu, 27 Mar 2008 21:18:57 +0000 (21:18 +0000) |
src/dialogs/clonetiler.cpp | patch | blob | history |
index 39772933991e4c2e8b944c587205e6611475a198..b0bc44bd7e4355bd7de2c34f159b35c01d643819 100644 (file)
clonetiler_remove (NULL, NULL, false);
- double shiftx_per_i = 0.01 * prefs_get_double_attribute_limited (prefs_path, "shiftx_per_i", 0, -100, 1000);
- double shifty_per_i = 0.01 * prefs_get_double_attribute_limited (prefs_path, "shifty_per_i", 0, -100, 1000);
- double shiftx_per_j = 0.01 * prefs_get_double_attribute_limited (prefs_path, "shiftx_per_j", 0, -100, 1000);
- double shifty_per_j = 0.01 * prefs_get_double_attribute_limited (prefs_path, "shifty_per_j", 0, -100, 1000);
+ double shiftx_per_i = 0.01 * prefs_get_double_attribute_limited (prefs_path, "shiftx_per_i", 0, -10000, 10000);
+ double shifty_per_i = 0.01 * prefs_get_double_attribute_limited (prefs_path, "shifty_per_i", 0, -10000, 10000);
+ double shiftx_per_j = 0.01 * prefs_get_double_attribute_limited (prefs_path, "shiftx_per_j", 0, -10000, 10000);
+ double shifty_per_j = 0.01 * prefs_get_double_attribute_limited (prefs_path, "shifty_per_j", 0, -10000, 10000);
double shiftx_rand = 0.01 * prefs_get_double_attribute_limited (prefs_path, "shiftx_rand", 0, 0, 1000);
double shifty_rand = 0.01 * prefs_get_double_attribute_limited (prefs_path, "shifty_rand", 0, 0, 1000);
double shiftx_exp = prefs_get_double_attribute_limited (prefs_path, "shiftx_exp", 1, 0, 10);
GtkWidget *l = clonetiler_spinbox (tt,
// xgettext:no-c-format
_("Horizontal shift per row (in % of tile width)"), "shiftx_per_j",
- -100, 1000, "%");
+ -10000, 10000, "%");
clonetiler_table_attach (table, l, 0, 2, 2);
}
GtkWidget *l = clonetiler_spinbox (tt,
// xgettext:no-c-format
_("Horizontal shift per column (in % of tile width)"), "shiftx_per_i",
- -100, 1000, "%");
+ -10000, 10000, "%");
clonetiler_table_attach (table, l, 0, 2, 3);
}
GtkWidget *l = clonetiler_spinbox (tt,
// xgettext:no-c-format
_("Vertical shift per row (in % of tile height)"), "shifty_per_j",
- -100, 1000, "%");
+ -10000, 10000, "%");
clonetiler_table_attach (table, l, 0, 3, 2);
}
GtkWidget *l = clonetiler_spinbox (tt,
// xgettext:no-c-format
_("Vertical shift per column (in % of tile height)"), "shifty_per_i",
- -100, 1000, "%");
+ -10000, 10000, "%");
clonetiler_table_attach (table, l, 0, 3, 3);
}