comparison src/typedefs.h @ 273:e0e2c2b72c5a

reworked the histogram patch by Uwe Ohse, most of the code is in separate files
author nadvornik
date Tue, 08 Apr 2008 20:56:50 +0000
parents c7021159079d
children 4f526d436873
comparison
equal deleted inserted replaced
272:fbbb960a3857 273:e0e2c2b72c5a
120 120
121 typedef struct _SlideShowData SlideShowData; 121 typedef struct _SlideShowData SlideShowData;
122 typedef struct _FullScreenData FullScreenData; 122 typedef struct _FullScreenData FullScreenData;
123 123
124 typedef struct _PixmapFolders PixmapFolders; 124 typedef struct _PixmapFolders PixmapFolders;
125 typedef struct _Histogram Histogram;
126
125 127
126 128
127 struct _ImageLoader 129 struct _ImageLoader
128 { 130 {
129 GdkPixbuf *pixbuf; 131 GdkPixbuf *pixbuf;
377 FileDataChangeInfo *change; /* for rename, move ... */ 379 FileDataChangeInfo *change; /* for rename, move ... */
378 GdkPixbuf *pixbuf; 380 GdkPixbuf *pixbuf;
379 gint ref; 381 gint ref;
380 }; 382 };
381 383
384 struct _Histogram {
385 gulong histmap[256*4];
386 gint histogram_chan;
387 gint histogram_logmode;
388 };
389
390
382 struct _LayoutWindow 391 struct _LayoutWindow
383 { 392 {
384 gchar *path; 393 gchar *path;
385 394
386 /* base */ 395 /* base */
486 495
487 GtkWidget *utility_box; 496 GtkWidget *utility_box;
488 GtkWidget *bar_sort; 497 GtkWidget *bar_sort;
489 GtkWidget *bar_exif; 498 GtkWidget *bar_exif;
490 GtkWidget *bar_info; 499 GtkWidget *bar_info;
500
501 gint histogram_enabled;
502 Histogram *histogram;
491 503
492 gint bar_sort_enabled; 504 gint bar_sort_enabled;
493 gint bar_exif_enabled; 505 gint bar_exif_enabled;
494 gint bar_info_enabled; 506 gint bar_info_enabled;
495 507