Mercurial > geeqie
comparison src/typedefs.h @ 563:1ad894219964
Move common thumbs_* fields from _ViewFileInfoIcon and _ViewFileInfoList
to _ViewFile.
author | zas_ |
---|---|
date | Sat, 03 May 2008 15:17:24 +0000 |
parents | 544958ddd70e |
children | 514a4525d651 |
comparison
equal
deleted
inserted
replaced
562:544958ddd70e | 563:1ad894219964 |
---|---|
621 gpointer data_status; | 621 gpointer data_status; |
622 | 622 |
623 LayoutWindow *layout; | 623 LayoutWindow *layout; |
624 | 624 |
625 GtkWidget *popup; | 625 GtkWidget *popup; |
626 | |
627 /* thumbs updates*/ | |
628 gint thumbs_running; | |
629 gint thumbs_count; | |
630 ThumbLoader *thumbs_loader; | |
631 FileData *thumbs_filedata; | |
626 }; | 632 }; |
627 | 633 |
628 struct _ViewFileInfoList | 634 struct _ViewFileInfoList |
629 { | 635 { |
636 FileData *click_fd; | |
637 FileData *select_fd; | |
638 | |
639 gint thumbs_enabled; | |
640 gint marks_enabled; | |
641 gint active_mark; | |
642 | |
643 gint select_idle_id; | |
644 }; | |
645 | |
646 struct _ViewFileList | |
647 { | |
648 GtkWidget *widget; | |
649 GtkWidget *listview; | |
650 | |
651 gchar *path; | |
652 GList *list; | |
653 | |
654 SortType sort_method; | |
655 gint sort_ascend; | |
656 | |
630 FileData *click_fd; | 657 FileData *click_fd; |
631 FileData *select_fd; | 658 FileData *select_fd; |
632 | 659 |
633 gint thumbs_enabled; | 660 gint thumbs_enabled; |
634 gint marks_enabled; | 661 gint marks_enabled; |
638 gint thumbs_running; | 665 gint thumbs_running; |
639 gint thumbs_count; | 666 gint thumbs_count; |
640 ThumbLoader *thumbs_loader; | 667 ThumbLoader *thumbs_loader; |
641 FileData *thumbs_filedata; | 668 FileData *thumbs_filedata; |
642 | 669 |
643 gint select_idle_id; | |
644 }; | |
645 | |
646 struct _ViewFileList | |
647 { | |
648 GtkWidget *widget; | |
649 GtkWidget *listview; | |
650 | |
651 gchar *path; | |
652 GList *list; | |
653 | |
654 SortType sort_method; | |
655 gint sort_ascend; | |
656 | |
657 FileData *click_fd; | |
658 FileData *select_fd; | |
659 | |
660 gint thumbs_enabled; | |
661 gint marks_enabled; | |
662 gint active_mark; | |
663 | |
664 /* thumb updates */ | |
665 gint thumbs_running; | |
666 gint thumbs_count; | |
667 ThumbLoader *thumbs_loader; | |
668 FileData *thumbs_filedata; | |
669 | |
670 /* func list */ | 670 /* func list */ |
671 void (*func_thumb_status)(ViewFileList *vfl, gdouble val, const gchar *text, gpointer data); | 671 void (*func_thumb_status)(ViewFileList *vfl, gdouble val, const gchar *text, gpointer data); |
672 gpointer data_thumb_status; | 672 gpointer data_thumb_status; |
673 | 673 |
674 void (*func_status)(ViewFileList *vfl, gpointer data); | 674 void (*func_status)(ViewFileList *vfl, gpointer data); |
702 gint focus_column; | 702 gint focus_column; |
703 | 703 |
704 gint show_text; | 704 gint show_text; |
705 | 705 |
706 gint sync_idle_id; | 706 gint sync_idle_id; |
707 | |
708 /* thumbs */ | |
709 gint thumbs_running; | |
710 gint thumbs_count; | |
711 ThumbLoader *thumbs_loader; | |
712 FileData *thumbs_filedata; | |
713 }; | 707 }; |
714 | 708 |
715 struct _ViewFileIcon | 709 struct _ViewFileIcon |
716 { | 710 { |
717 GtkWidget *widget; | 711 GtkWidget *widget; |