Mercurial > geeqie.yaz
comparison src/fullscreen.c @ 208:fa0e05f985c3
set user-defined color as image background - patch by Laurent MONIN
author | nadvornik |
---|---|
date | Sat, 29 Mar 2008 10:38:15 +0000 |
parents | f6e307c7bad6 |
children | 9faf34f047b1 |
comparison
equal
deleted
inserted
replaced
207:ec068409bee7 | 208:fa0e05f985c3 |
---|---|
290 | 290 |
291 fs->imd = image_new(FALSE); | 291 fs->imd = image_new(FALSE); |
292 | 292 |
293 gtk_container_add(GTK_CONTAINER(fs->window), fs->imd->widget); | 293 gtk_container_add(GTK_CONTAINER(fs->window), fs->imd->widget); |
294 | 294 |
295 /* set background to black */ | 295 if (user_specified_window_background) |
296 if (BLACK_BACKGROUND) | 296 { |
297 { | 297 image_background_set_color(fs->imd, &window_background_color); |
298 image_background_set_black(fs->imd, TRUE); | |
299 } | 298 } |
300 | 299 |
301 image_set_delay_flip(fs->imd, fullscreen_clean_flip); | 300 image_set_delay_flip(fs->imd, fullscreen_clean_flip); |
302 image_auto_refresh(fs->imd, fs->normal_imd->auto_refresh_interval); | 301 image_auto_refresh(fs->imd, fs->normal_imd->auto_refresh_interval); |
303 | 302 |