6 /* Links between the option dialog buttons and the options values. */
7 #define OPTION_FULLSCREEN (&new_options->fullscreen)
8 #define OPTION_MENU_BAR (&new_options->menu_bar)
9 #define OPTION_SCROLLBARS (&new_options->scrollbars)
10 #define OPTION_STATUS_BAR (&new_options->status_bar)
11 #define OPTION_DELAY_CURSOR (&new_options->delay)
12 #define OPTION_DITHERING (&new_options->dither)
13 #define OPTION_SCALE_DOWN (&new_options->scaledown)
14 #define OPTION_FORCE_LOAD (&new_options->force)
15 #define OPTION_ALPHA_CHECKS (&new_options->alpha_checks)
16 #define OPTION_ONE_IMAGE (&new_options->one_image)
17 #define OPTION_MIPMAPS (&new_options->mipmap)
18 #define OPTION_MAXIMIZE (&new_options->maximize)
19 #define OPTION_RESIZE_WIN (&new_options->resize_win)
20 #define OPTION_IMAGES_MENUS_STARTUP (&new_options->build_menus)
21 #define OPTION_IMAGES_MENUS_MNEMONICS (&new_options->mnemonics)
22 #define OPTION_THUMBNAILS (&new_options->thumbnails)
23 #define OPTION_THUMBNAILS_WIDTH (&new_options->thumb_width)
24 #define OPTION_THUMBNAILS_HEIGHT (&new_options->thumb_height)
25 #define OPTION_ZOOM_POINTER (&new_options->zoom_pointer)
26 #define OPTION_MAX_FPS (&new_options->fps)
27 #define OPTION_HISTORY_LENGTH (&new_options->history_size)
28 #define OPTION_START_SLIDE_SHOW (&new_options->start_show)
29 #define OPTION_SLIDE_SHOW_LOOP (&new_options->loop)
30 #define OPTION_SLIDE_SHOW_DELAY (&new_options->duration)
31 #define OPTION_BACKGROUND (&new_options->bg_col)
32 #define OPTION_ALPHA1 (&new_options->alpha1)
33 #define OPTION_ALPHA2 (&new_options->alpha2)
34 #define OPTION_SAVE (&save_options)
36 /* Options controlled by the user. */
44 gboolean zoom_pointer
;
45 gboolean alpha_checks
;
67 /* Some global flags and variables. */
69 gboolean cursor_hidden
;
71 gboolean alpha_checks_changed
;
72 gboolean filtering_enabled
;
73 gint max_texture_size
;
74 GtkAllocation
*wid_size
;
79 void show_options(void);