Mercurial > geeqie.yaz
comparison src/image.c @ 1549:7302ff300a52
show color management status on statusbar
author | nadvornik |
---|---|
date | Mon, 13 Apr 2009 14:39:50 +0000 |
parents | b5608391f479 |
children | ffc44762e706 f1d22c2174c1 |
comparison
equal
deleted
inserted
replaced
1548:b5608391f479 | 1549:7302ff300a52 |
---|---|
1478 if (!imd) return FALSE; | 1478 if (!imd) return FALSE; |
1479 | 1479 |
1480 return imd->color_profile_enable; | 1480 return imd->color_profile_enable; |
1481 } | 1481 } |
1482 | 1482 |
1483 gint image_color_profile_get_from_image(ImageWindow *imd) | 1483 gboolean image_color_profile_get_status(ImageWindow *imd, gchar **image_profile, gchar **screen_profile) |
1484 { | 1484 { |
1485 if (!imd) return COLOR_PROFILE_NONE; | 1485 ColorMan *cm; |
1486 | 1486 if (!imd) return FALSE; |
1487 return imd->color_profile_from_image; | 1487 |
1488 cm = imd->cm; | |
1489 if (!cm) return FALSE; | |
1490 return color_man_get_status(cm, image_profile, screen_profile); | |
1491 | |
1488 } | 1492 } |
1489 | 1493 |
1490 void image_set_delay_flip(ImageWindow *imd, gboolean delay) | 1494 void image_set_delay_flip(ImageWindow *imd, gboolean delay) |
1491 { | 1495 { |
1492 if (!imd || | 1496 if (!imd || |