comparison src/options.c @ 848:e1d158ac6d36

cache size made configurable
author nadvornik
date Sat, 21 Jun 2008 22:01:45 +0000
parents ee33d2ddb661
children 3dd2cb78d0f9
comparison
equal deleted inserted replaced
847:77fc0ea3457d 848:e1d158ac6d36
74 options->image.max_autofit_size = 100; 74 options->image.max_autofit_size = 100;
75 options->image.max_window_size = 100; 75 options->image.max_window_size = 100;
76 options->image.read_buffer_size = IMAGE_LOADER_READ_BUFFER_SIZE_DEFAULT; 76 options->image.read_buffer_size = IMAGE_LOADER_READ_BUFFER_SIZE_DEFAULT;
77 options->image.scroll_reset_method = SCROLL_RESET_TOPLEFT; 77 options->image.scroll_reset_method = SCROLL_RESET_TOPLEFT;
78 options->image.tile_cache_max = 10; 78 options->image.tile_cache_max = 10;
79 options->image.image_cache_max = 128; /* 4 x 10MPix */
79 options->image.use_custom_border_color = FALSE; 80 options->image.use_custom_border_color = FALSE;
80 options->image.zoom_2pass = TRUE; 81 options->image.zoom_2pass = TRUE;
81 options->image.zoom_increment = 5; 82 options->image.zoom_increment = 5;
82 options->image.zoom_mode = ZOOM_RESET_ORIGINAL; 83 options->image.zoom_mode = ZOOM_RESET_ORIGINAL;
83 options->image.zoom_quality = (gint)GDK_INTERP_BILINEAR; 84 options->image.zoom_quality = (gint)GDK_INTERP_BILINEAR;