Mercurial > geeqie.yaz
comparison src/typedefs.h @ 1431:7e180091e0b7
More gboolean and tidy up.
author | zas_ |
---|---|
date | Sat, 14 Mar 2009 11:26:43 +0000 |
parents | 5a534e1501e1 |
children | cf4029d10d38 |
comparison
equal
deleted
inserted
replaced
1430:7718e351bc45 | 1431:7e180091e0b7 |
---|---|
355 GtkWidget *pr; | 355 GtkWidget *pr; |
356 GtkWidget *frame; | 356 GtkWidget *frame; |
357 | 357 |
358 FileData *image_fd; | 358 FileData *image_fd; |
359 | 359 |
360 gint unknown; /* failed to load image */ | 360 gboolean unknown; /* failed to load image */ |
361 | 361 |
362 ImageLoader *il; /* FIXME - image loader should probably go to FileData, but it must first support | 362 ImageLoader *il; /* FIXME - image loader should probably go to FileData, but it must first support |
363 sending callbacks to multiple ImageWindows in parallel */ | 363 sending callbacks to multiple ImageWindows in parallel */ |
364 | 364 |
365 gint has_frame; | 365 gint has_frame; /* not boolean, see image_new() */ |
366 | 366 |
367 /* top level (not necessarily parent) window */ | 367 /* top level (not necessarily parent) window */ |
368 gint top_window_sync; /* resize top_window when image dimensions change */ | 368 gboolean top_window_sync; /* resize top_window when image dimensions change */ |
369 GtkWidget *top_window; /* window that gets title, and window to resize when 'fitting' */ | 369 GtkWidget *top_window; /* window that gets title, and window to resize when 'fitting' */ |
370 gchar *title; /* window title to display left of file name */ | 370 gchar *title; /* window title to display left of file name */ |
371 gchar *title_right; /* window title to display right of file name */ | 371 gchar *title_right; /* window title to display right of file name */ |
372 gint title_show_zoom; /* option to include zoom in window title */ | 372 gboolean title_show_zoom; /* option to include zoom in window title */ |
373 | 373 |
374 gint completed; | 374 gboolean completed; |
375 ImageState state; /* mask of IMAGE_STATE_* flags about current image */ | 375 ImageState state; /* mask of IMAGE_STATE_* flags about current image */ |
376 | 376 |
377 void (*func_update)(ImageWindow *imd, gpointer data); | 377 void (*func_update)(ImageWindow *imd, gpointer data); |
378 void (*func_complete)(ImageWindow *imd, gint preload, gpointer data); | 378 void (*func_complete)(ImageWindow *imd, gint preload, gpointer data); |
379 void (*func_state)(ImageWindow *imd, ImageState state, gpointer data); | 379 void (*func_state)(ImageWindow *imd, ImageState state, gpointer data); |
402 /* collection info */ | 402 /* collection info */ |
403 CollectionData *collection; | 403 CollectionData *collection; |
404 CollectInfo *collection_info; | 404 CollectInfo *collection_info; |
405 | 405 |
406 /* color profiles */ | 406 /* color profiles */ |
407 gint color_profile_enable; | 407 gboolean color_profile_enable; |
408 gint color_profile_input; | 408 gint color_profile_input; |
409 gint color_profile_screen; | 409 gint color_profile_screen; |
410 gint color_profile_use_image; | 410 gboolean color_profile_use_image; |
411 gint color_profile_from_image; | 411 gint color_profile_from_image; |
412 gpointer cm; | 412 gpointer cm; |
413 | 413 |
414 AlterType delay_alter_type; | 414 AlterType delay_alter_type; |
415 | 415 |
416 FileData *read_ahead_fd; | 416 FileData *read_ahead_fd; |
417 ImageLoader *read_ahead_il; | 417 ImageLoader *read_ahead_il; |
418 | 418 |
419 gint prev_color_row; | 419 gint prev_color_row; |
420 | 420 |
421 gint auto_refresh; | 421 gboolean auto_refresh; |
422 | 422 |
423 gint delay_flip; | 423 gboolean delay_flip; |
424 gint orientation; | 424 gint orientation; |
425 gint desaturate; | 425 gboolean desaturate; |
426 | 426 |
427 gint overlay_show_zoom; /* set to true if overlay is showing zoom ratio */ | 427 gboolean overlay_show_zoom; /* set to true if overlay is showing zoom ratio */ |
428 }; | 428 }; |
429 | 429 |
430 #define FILEDATA_MARKS_SIZE 6 | 430 #define FILEDATA_MARKS_SIZE 6 |
431 | 431 |
432 struct _FileDataChangeInfo { | 432 struct _FileDataChangeInfo { |