comparison src/typedefs.h @ 328:a742c200b2e4

Re-order and try to group options.
author zas_
date Sat, 12 Apr 2008 08:28:08 +0000
parents 049d6b00cc14
children a51242c032ea
comparison
equal deleted inserted replaced
327:049d6b00cc14 328:a742c200b2e4
729 gint unlink_on_error; /**< whether to remove temporary file on save failure, TRUE by default */ 729 gint unlink_on_error; /**< whether to remove temporary file on save failure, TRUE by default */
730 }; 730 };
731 731
732 struct _ConfOptions 732 struct _ConfOptions
733 { 733 {
734 /* windows */
734 gint main_window_w; 735 gint main_window_w;
735 gint main_window_h; 736 gint main_window_h;
736 gint main_window_x; 737 gint main_window_x;
737 gint main_window_y; 738 gint main_window_y;
738 gint main_window_maximized; 739 gint main_window_maximized;
745 746
746 gint window_hdivider_pos; 747 gint window_hdivider_pos;
747 gint window_vdivider_pos; 748 gint window_vdivider_pos;
748 749
749 gint save_window_positions; 750 gint save_window_positions;
751
750 gint tools_float; 752 gint tools_float;
751 gint tools_hidden; 753 gint tools_hidden;
752 gint toolbar_hidden; 754 gint toolbar_hidden;
755
756 /* ui */
753 gint progressive_key_scrolling; 757 gint progressive_key_scrolling;
754 758 gint place_dialogs_under_mouse;
759 gint mousewheel_scrolls;
760 gint show_icon_names;
761
762 /* various */
763 gint enable_in_place_rename;
755 gint startup_path_enable; 764 gint startup_path_enable;
756 gchar *startup_path; 765 gchar *startup_path;
766 gint enable_metadata_dirs;
767
768 gint tree_descend_subdirs;
769
770 gint lazy_image_sync;
771 gint update_on_time_change;
772
757 gint confirm_delete; 773 gint confirm_delete;
758 gint enable_delete_key; 774 gint enable_delete_key;
759 gint safe_delete_enable; 775 gint safe_delete_enable;
760 gchar *safe_delete_path; 776 gchar *safe_delete_path;
761 gint safe_delete_size; 777 gint safe_delete_size;
762 gint restore_tool; 778 gint restore_tool;
779
780 gint dupe_custom_threshold;
781
782 gint recent_list_max;
783
784 /* image */
785 gint exif_rotate_enable;
763 gint zoom_mode; 786 gint zoom_mode;
764 gint two_pass_zoom; 787 gint two_pass_zoom;
765 gint scroll_reset_method; 788 gint scroll_reset_method;
766 gint fit_window; 789 gint fit_window;
767 gint limit_window_size; 790 gint limit_window_size;
768 gint zoom_to_fit_expands; 791 gint zoom_to_fit_expands;
769 gint max_window_size; 792 gint max_window_size;
770 gint limit_autofit_size; 793 gint limit_autofit_size;
771 gint max_autofit_size; 794 gint max_autofit_size;
795 gint tile_cache_max; /* in megabytes */
796 gint zoom_quality;
797 gint dither_quality;
798 gint zoom_increment; /* 10 is 1.0, 5 is 0.05, 20 is 2.0, etc. */
799 gint enable_read_ahead;
800
801 gint user_specified_window_background;
802 GdkColor window_background_color;
803
804 /* thumbnails */
772 gint thumb_max_width; 805 gint thumb_max_width;
773 gint thumb_max_height; 806 gint thumb_max_height;
774 gint enable_thumb_caching; 807 gint enable_thumb_caching;
775 gint enable_thumb_dirs; 808 gint enable_thumb_dirs;
776 gint thumbnail_fast; 809 gint thumbnail_fast;
777 gint use_xvpics_thumbnails; 810 gint use_xvpics_thumbnails;
778 gint thumbnail_spec_standard; 811 gint thumbnail_spec_standard;
779 gint enable_metadata_dirs; 812 gint thumbnail_quality;
813 gint thumbnails_enabled;
814
815 /* file filtering */
816 GList *filename_filter;
780 gint show_dot_files; 817 gint show_dot_files;
781 gint file_filter_disable; 818 gint file_filter_disable;
819
820 /* collections */
821 gint collection_rectangular_selection;
822
823 /* editors */
782 gchar *editor_name[GQ_EDITOR_SLOTS]; 824 gchar *editor_name[GQ_EDITOR_SLOTS];
783 gchar *editor_command[GQ_EDITOR_SLOTS]; 825 gchar *editor_command[GQ_EDITOR_SLOTS];
784 826
785 gint thumbnails_enabled; 827 /* file sorting */
786 SortType file_sort_method; 828 SortType file_sort_method;
787 gint file_sort_ascending; 829 gint file_sort_ascending;
788 830 gint file_sort_case_sensitive; /* file sorting method (case) */
831
832 /* slideshow */
789 struct { 833 struct {
790 gint delay; /* in tenths of a second */ 834 gint delay; /* in tenths of a second */
791 gint random; 835 gint random;
792 gint repeat; 836 gint repeat;
793 } slideshow; 837 } slideshow;
794 838
795 gint mousewheel_scrolls; 839 /* fullscreen */
796 gint enable_in_place_rename;
797
798 gint user_specified_window_background;
799 GdkColor window_background_color;
800
801 struct { 840 struct {
802 gint screen; 841 gint screen;
803 gint clean_flip; 842 gint clean_flip;
804 gint disable_saver; 843 gint disable_saver;
805 gint above; 844 gint above;
806 gint show_info; 845 gint show_info;
807 gchar *info; 846 gchar *info;
808 } fullscreen; 847 } fullscreen;
809 848
810 gint dupe_custom_threshold;
811
812 gint recent_list_max;
813
814 gint collection_rectangular_selection;
815
816 gint tile_cache_max; /* in megabytes */
817 gint thumbnail_quality;
818 gint zoom_quality;
819 gint dither_quality;
820
821 gint zoom_increment; /* 10 is 1.0, 5 is 0.05, 20 is 2.0, etc. */
822
823 gint enable_read_ahead;
824
825 gint place_dialogs_under_mouse;
826
827 gint file_sort_case_sensitive; /* file sorting method (case) */
828
829 /* layout */ 849 /* layout */
830 struct { 850 struct {
831 gchar *order; 851 gchar *order;
832 gint style; 852 gint style;
833 853
834 gint view_as_icons; 854 gint view_as_icons;
835 gint view_as_tree; 855 gint view_as_tree;
836 } layout; 856 } layout;
837 857
838 gint show_icon_names; 858 /* color profiles */
839
840 gint tree_descend_subdirs;
841
842 gint lazy_image_sync;
843 gint update_on_time_change;
844 gint exif_rotate_enable;
845
846 struct { 859 struct {
847 gint enabled; 860 gint enabled;
848 gint input_type; 861 gint input_type;
849 gchar *input_file[COLOR_PROFILE_INPUTS]; 862 gchar *input_file[COLOR_PROFILE_INPUTS];
850 gchar *input_name[COLOR_PROFILE_INPUTS]; 863 gchar *input_name[COLOR_PROFILE_INPUTS];
852 gchar *screen_file; 865 gchar *screen_file;
853 gint use_image; 866 gint use_image;
854 867
855 } color_profile; 868 } color_profile;
856 869
857 GList *filename_filter;
858 }; 870 };
859 871
860 #endif 872 #endif
861 873
862 874