comparison src/color-man.h @ 1548:b5608391f479

support X11 screen profile http://freedesktop.org/wiki/ICC_Profiles_in_X_Specification_0.3
author nadvornik
date Mon, 13 Apr 2009 10:55:49 +0000
parents 24a12aa0cb54
children 7302ff300a52
comparison
equal deleted inserted replaced
1547:2a3efbdf73b0 1548:b5608391f479
47 }; 47 };
48 48
49 49
50 ColorMan *color_man_new(ImageWindow *imd, GdkPixbuf *pixbuf, 50 ColorMan *color_man_new(ImageWindow *imd, GdkPixbuf *pixbuf,
51 ColorManProfileType input_type, const gchar *input_file, 51 ColorManProfileType input_type, const gchar *input_file,
52 ColorManProfileType screen_type, const gchar *screen_file); 52 ColorManProfileType screen_type, const gchar *screen_file,
53 guchar *screen_data, guint screen_data_len);
53 ColorMan *color_man_new_embedded(ImageWindow *imd, GdkPixbuf *pixbuf, 54 ColorMan *color_man_new_embedded(ImageWindow *imd, GdkPixbuf *pixbuf,
54 guchar *input_data, guint input_data_len, 55 guchar *input_data, guint input_data_len,
55 ColorManProfileType screen_type, const gchar *screen_file); 56 ColorManProfileType screen_type, const gchar *screen_file,
57 guchar *screen_data, guint screen_data_len);
56 void color_man_free(ColorMan *cm); 58 void color_man_free(ColorMan *cm);
57 59
58 void color_man_update(void); 60 void color_man_update(void);
59 61
60 void color_man_correct_region(ColorMan *cm, GdkPixbuf *pixbuf, gint x, gint y, gint w, gint h); 62 void color_man_correct_region(ColorMan *cm, GdkPixbuf *pixbuf, gint x, gint y, gint w, gint h);