comparison gui/interface.c @ 33942:afede91f9d5f

Don't use current x and y position of video window for saving. Save the x and y position according to the skin file instead of the current window position and update this "skin position" when the window gets moved. This prevents unwanted window position changes when saving. (A window will change its size during playback and a right aligned window thus its x and y position.)
author ib
date Thu, 01 Sep 2011 16:44:52 +0000
parents 95f5f330a4ff
children 4a2c079a1db5
comparison
equal deleted inserted replaced
33941:8beec562ce0e 33942:afede91f9d5f
286 uiMainRender = 0; 286 uiMainRender = 0;
287 287
288 if (gui_save_pos) { 288 if (gui_save_pos) {
289 gui_main_pos_x = guiApp.mainWindow.X; 289 gui_main_pos_x = guiApp.mainWindow.X;
290 gui_main_pos_y = guiApp.mainWindow.Y; 290 gui_main_pos_y = guiApp.mainWindow.Y;
291 gui_sub_pos_x = guiApp.subWindow.X; 291 gui_sub_pos_x = guiApp.sub.x;
292 gui_sub_pos_y = guiApp.subWindow.Y; 292 gui_sub_pos_y = guiApp.sub.y;
293 } 293 }
294 294
295 #ifdef CONFIG_ASS 295 #ifdef CONFIG_ASS
296 ass_enabled = gtkASS.enabled; 296 ass_enabled = gtkASS.enabled;
297 ass_use_margins = gtkASS.use_margins; 297 ass_use_margins = gtkASS.use_margins;