comparison src/layout_image.c @ 1336:4179d41d1149

fixed overlay configuration split overlay options between global and layout window
author nadvornik
date Sat, 28 Feb 2009 14:40:22 +0000
parents cd7204a18f14
children 79937bc55f3a
comparison
equal deleted inserted replaced
1335:588d96cda850 1336:4179d41d1149
97 #if 0 97 #if 0
98 gtk_widget_set_sensitive(lw->window, FALSE); 98 gtk_widget_set_sensitive(lw->window, FALSE);
99 if (lw->tools) gtk_widget_set_sensitive(lw->tools, FALSE); 99 if (lw->tools) gtk_widget_set_sensitive(lw->tools, FALSE);
100 #endif 100 #endif
101 101
102 if (image_osd_get(lw->full_screen->normal_imd) & OSD_SHOW_INFO) 102 image_osd_copy_status(lw->full_screen->normal_imd, lw->image);
103 {
104 image_osd_set(lw->image, image_osd_get(lw->full_screen->normal_imd));
105 image_osd_set(lw->full_screen->normal_imd, OSD_SHOW_NOTHING);
106 }
107 } 103 }
108 104
109 void layout_image_full_screen_stop(LayoutWindow *lw) 105 void layout_image_full_screen_stop(LayoutWindow *lw)
110 { 106 {
111 if (!layout_valid(&lw)) return; 107 if (!layout_valid(&lw)) return;
112 if (!lw->full_screen) return; 108 if (!lw->full_screen) return;
113 109
114 if (image_osd_get(lw->image) & OSD_SHOW_INFO) 110 image_osd_copy_status(lw->image, lw->full_screen->normal_imd);
115 image_osd_set(lw->full_screen->normal_imd, image_osd_get(lw->image));
116 111
117 fullscreen_stop(lw->full_screen); 112 fullscreen_stop(lw->full_screen);
118 113
119 #if 0 114 #if 0
120 gtk_widget_set_sensitive(lw->window, TRUE); 115 gtk_widget_set_sensitive(lw->window, TRUE);