Lines Matching defs:prefs_path
71 static Glib::ustring const prefs_path = "/dialogs/clonetiler/";
143 gint current = prefs->getInt(prefs_path + "symmetrygroup", 0);
664 guint32 rgba = 0x000000ff | sp_svg_read_color (prefs->getString(prefs_path + "initial_color").data(), 0x000000ff);
790 bool old = prefs->getBool(prefs_path + "dotrace");
833 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_COLOR);
841 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_OPACITY);
849 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_R);
857 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_G);
865 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_B);
873 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_H);
881 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_S);
889 gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (radio), prefs->getInt(prefs_path + "pick", 0) == PICK_L);
960 bool old = prefs->getBool(prefs_path + "pick_to_presence", true);
970 bool old = prefs->getBool(prefs_path + "pick_to_size");
980 bool old = prefs->getBool(prefs_path + "pick_to_color", 0);
990 bool old = prefs->getBool(prefs_path + "pick_to_opacity", 0);
998 gtk_widget_set_sensitive (vvb, prefs->getBool(prefs_path + "dotrace"));
1044 int value = prefs->getInt(prefs_path + "jmax", 2);
1078 int value = prefs->getInt(prefs_path + "imax", 2);
1121 double value = prefs->getDouble(prefs_path + "fillwidth", 50.0);
1158 double value = prefs->getDouble(prefs_path + "fillheight", 50.0);
1190 if (!prefs->getBool(prefs_path + "fillrect")) {
1200 if (prefs->getBool(prefs_path + "fillrect")) {
1218 bool keepbbox = prefs->getBool(prefs_path + "keepbbox", true);
1363 prefs->setString(prefs_path + "initial_color", c);
2271 double shiftx_per_i = 0.01 * prefs->getDoubleLimited(prefs_path + "shiftx_per_i", 0, -10000, 10000);
2272 double shifty_per_i = 0.01 * prefs->getDoubleLimited(prefs_path + "shifty_per_i", 0, -10000, 10000);
2273 double shiftx_per_j = 0.01 * prefs->getDoubleLimited(prefs_path + "shiftx_per_j", 0, -10000, 10000);
2274 double shifty_per_j = 0.01 * prefs->getDoubleLimited(prefs_path + "shifty_per_j", 0, -10000, 10000);
2275 double shiftx_rand = 0.01 * prefs->getDoubleLimited(prefs_path + "shiftx_rand", 0, 0, 1000);
2276 double shifty_rand = 0.01 * prefs->getDoubleLimited(prefs_path + "shifty_rand", 0, 0, 1000);
2277 double shiftx_exp = prefs->getDoubleLimited(prefs_path + "shiftx_exp", 1, 0, 10);
2278 double shifty_exp = prefs->getDoubleLimited(prefs_path + "shifty_exp", 1, 0, 10);
2279 bool shiftx_alternate = prefs->getBool(prefs_path + "shiftx_alternate");
2280 bool shifty_alternate = prefs->getBool(prefs_path + "shifty_alternate");
2281 bool shiftx_cumulate = prefs->getBool(prefs_path + "shiftx_cumulate");
2282 bool shifty_cumulate = prefs->getBool(prefs_path + "shifty_cumulate");
2283 bool shiftx_excludew = prefs->getBool(prefs_path + "shiftx_excludew");
2284 bool shifty_excludeh = prefs->getBool(prefs_path + "shifty_excludeh");
2286 double scalex_per_i = 0.01 * prefs->getDoubleLimited(prefs_path + "scalex_per_i", 0, -100, 1000);
2287 double scaley_per_i = 0.01 * prefs->getDoubleLimited(prefs_path + "scaley_per_i", 0, -100, 1000);
2288 double scalex_per_j = 0.01 * prefs->getDoubleLimited(prefs_path + "scalex_per_j", 0, -100, 1000);
2289 double scaley_per_j = 0.01 * prefs->getDoubleLimited(prefs_path + "scaley_per_j", 0, -100, 1000);
2290 double scalex_rand = 0.01 * prefs->getDoubleLimited(prefs_path + "scalex_rand", 0, 0, 1000);
2291 double scaley_rand = 0.01 * prefs->getDoubleLimited(prefs_path + "scaley_rand", 0, 0, 1000);
2292 double scalex_exp = prefs->getDoubleLimited(prefs_path + "scalex_exp", 1, 0, 10);
2293 double scaley_exp = prefs->getDoubleLimited(prefs_path + "scaley_exp", 1, 0, 10);
2294 double scalex_log = prefs->getDoubleLimited(prefs_path + "scalex_log", 0, 0, 10);
2295 double scaley_log = prefs->getDoubleLimited(prefs_path + "scaley_log", 0, 0, 10);
2296 bool scalex_alternate = prefs->getBool(prefs_path + "scalex_alternate");
2297 bool scaley_alternate = prefs->getBool(prefs_path + "scaley_alternate");
2298 bool scalex_cumulate = prefs->getBool(prefs_path + "scalex_cumulate");
2299 bool scaley_cumulate = prefs->getBool(prefs_path + "scaley_cumulate");
2301 double rotate_per_i = prefs->getDoubleLimited(prefs_path + "rotate_per_i", 0, -180, 180);
2302 double rotate_per_j = prefs->getDoubleLimited(prefs_path + "rotate_per_j", 0, -180, 180);
2303 double rotate_rand = 0.01 * prefs->getDoubleLimited(prefs_path + "rotate_rand", 0, 0, 100);
2304 bool rotate_alternatei = prefs->getBool(prefs_path + "rotate_alternatei");
2305 bool rotate_alternatej = prefs->getBool(prefs_path + "rotate_alternatej");
2306 bool rotate_cumulatei = prefs->getBool(prefs_path + "rotate_cumulatei");
2307 bool rotate_cumulatej = prefs->getBool(prefs_path + "rotate_cumulatej");
2309 double blur_per_i = 0.01 * prefs->getDoubleLimited(prefs_path + "blur_per_i", 0, 0, 100);
2310 double blur_per_j = 0.01 * prefs->getDoubleLimited(prefs_path + "blur_per_j", 0, 0, 100);
2311 bool blur_alternatei = prefs->getBool(prefs_path + "blur_alternatei");
2312 bool blur_alternatej = prefs->getBool(prefs_path + "blur_alternatej");
2313 double blur_rand = 0.01 * prefs->getDoubleLimited(prefs_path + "blur_rand", 0, 0, 100);
2315 double opacity_per_i = 0.01 * prefs->getDoubleLimited(prefs_path + "opacity_per_i", 0, 0, 100);
2316 double opacity_per_j = 0.01 * prefs->getDoubleLimited(prefs_path + "opacity_per_j", 0, 0, 100);
2317 bool opacity_alternatei = prefs->getBool(prefs_path + "opacity_alternatei");
2318 bool opacity_alternatej = prefs->getBool(prefs_path + "opacity_alternatej");
2319 double opacity_rand = 0.01 * prefs->getDoubleLimited(prefs_path + "opacity_rand", 0, 0, 100);
2321 Glib::ustring initial_color = prefs->getString(prefs_path + "initial_color");
2322 double hue_per_j = 0.01 * prefs->getDoubleLimited(prefs_path + "hue_per_j", 0, -100, 100);
2323 double hue_per_i = 0.01 * prefs->getDoubleLimited(prefs_path + "hue_per_i", 0, -100, 100);
2324 double hue_rand = 0.01 * prefs->getDoubleLimited(prefs_path + "hue_rand", 0, 0, 100);
2325 double saturation_per_j = 0.01 * prefs->getDoubleLimited(prefs_path + "saturation_per_j", 0, -100, 100);
2326 double saturation_per_i = 0.01 * prefs->getDoubleLimited(prefs_path + "saturation_per_i", 0, -100, 100);
2327 double saturation_rand = 0.01 * prefs->getDoubleLimited(prefs_path + "saturation_rand", 0, 0, 100);
2328 double lightness_per_j = 0.01 * prefs->getDoubleLimited(prefs_path + "lightness_per_j", 0, -100, 100);
2329 double lightness_per_i = 0.01 * prefs->getDoubleLimited(prefs_path + "lightness_per_i", 0, -100, 100);
2330 double lightness_rand = 0.01 * prefs->getDoubleLimited(prefs_path + "lightness_rand", 0, 0, 100);
2331 bool color_alternatej = prefs->getBool(prefs_path + "color_alternatej");
2332 bool color_alternatei = prefs->getBool(prefs_path + "color_alternatei");
2334 int type = prefs->getInt(prefs_path + "symmetrygroup", 0);
2335 bool keepbbox = prefs->getBool(prefs_path + "keepbbox", true);
2336 int imax = prefs->getInt(prefs_path + "imax", 2);
2337 int jmax = prefs->getInt(prefs_path + "jmax", 2);
2339 bool fillrect = prefs->getBool(prefs_path + "fillrect");
2340 double fillwidth = scale_units*prefs->getDoubleLimited(prefs_path + "fillwidth", 50, 0, 1e6);
2341 double fillheight = scale_units*prefs->getDoubleLimited(prefs_path + "fillheight", 50, 0, 1e6);
2343 bool dotrace = prefs->getBool(prefs_path + "dotrace");
2344 int pick = prefs->getInt(prefs_path + "pick");
2345 bool pick_to_presence = prefs->getBool(prefs_path + "pick_to_presence");
2346 bool pick_to_size = prefs->getBool(prefs_path + "pick_to_size");
2347 bool pick_to_color = prefs->getBool(prefs_path + "pick_to_color");
2348 bool pick_to_opacity = prefs->getBool(prefs_path + "pick_to_opacity");
2349 double rand_picked = 0.01 * prefs->getDoubleLimited(prefs_path + "rand_picked", 0, 0, 100);
2350 bool invert_picked = prefs->getBool(prefs_path + "invert_picked");
2351 double gamma_picked = prefs->getDoubleLimited(prefs_path + "gamma_picked", 0, -10, 10);
2690 prefs->setBool(prefs_path + attr, gtk_toggle_button_get_active(tb));
2706 bool value = prefs->getBool(prefs_path + attr);
2722 prefs->setDouble(prefs_path + pref, gtk_adjustment_get_value (adj));
2772 double value = prefs->getDoubleLimited(prefs_path + attr, exponent? 1.0 : 0.0, lower, upper);
2804 prefs->setInt(prefs_path + "symmetrygroup", group_new);
2811 prefs->setInt(prefs_path + pref, (int) floor(gtk_adjustment_get_value (adj) + 0.5));
2817 prefs->setBool(prefs_path + "keepbbox", gtk_toggle_button_get_active(tb));
2824 prefs->setBool(prefs_path + pref, gtk_toggle_button_get_active(tb));
2943 prefs->setInt(prefs_path + "pick", v);
2960 prefs->setBool(prefs_path + "fillrect", false);
2977 prefs->setBool(prefs_path + "fillrect", true);
2990 prefs->setDouble(prefs_path + "fillwidth", pixels);
3000 prefs->setDouble(prefs_path + "fillheight", pixels);
3006 gdouble width_pixels = prefs->getDouble(prefs_path + "fillwidth");
3007 gdouble height_pixels = prefs->getDouble(prefs_path + "fillheight");
3022 prefs->setBool(prefs_path + "dotrace", gtk_toggle_button_get_active (tb));