comparison gui/ui/actions.c @ 35374:8249c2131cd3

Rename uiGotoTheNext uiProcessNextInPlaylist. This is a more descriptive (although very long) name for the variable.
author ib
date Sat, 24 Nov 2012 15:54:22 +0000
parents dd38e289f246
children 2b49f4c8c47f
comparison
equal deleted inserted replaced
35373:a0ec74dae6b9 35374:8249c2131cd3
36 #include "input/input.h" 36 #include "input/input.h"
37 #include "libmpcodecs/vd.h" 37 #include "libmpcodecs/vd.h"
38 #include "libvo/video_out.h" 38 #include "libvo/video_out.h"
39 #include "mp_core.h" 39 #include "mp_core.h"
40 40
41 int uiGotoTheNext = 1; 41 int uiProcessNextInPlaylist = 1;
42 42
43 void uiFullScreen(void) 43 void uiFullScreen(void)
44 { 44 {
45 if (!guiInfo.VideoWindow) 45 if (!guiInfo.VideoWindow)
46 return; 46 return;
255 255
256 curr = listMgr(PLAYLIST_ITEM_GET_CURR, 0); 256 curr = listMgr(PLAYLIST_ITEM_GET_CURR, 0);
257 257
258 if (curr) { 258 if (curr) {
259 uiSetFileName(curr->path, curr->name, STREAMTYPE_FILE); 259 uiSetFileName(curr->path, curr->name, STREAMTYPE_FILE);
260 uiGotoTheNext = 0; 260 uiProcessNextInPlaylist = 0;
261 break; 261 break;
262 } 262 }
263 263
264 return; 264 return;
265 } 265 }
308 308
309 prev = listMgr(PLAYLIST_ITEM_GET_PREV, 0); 309 prev = listMgr(PLAYLIST_ITEM_GET_PREV, 0);
310 310
311 if (prev) { 311 if (prev) {
312 uiSetFileName(prev->path, prev->name, STREAMTYPE_FILE); 312 uiSetFileName(prev->path, prev->name, STREAMTYPE_FILE);
313 uiGotoTheNext = (guiInfo.Playing ? 0 : 1); 313 uiProcessNextInPlaylist = (guiInfo.Playing ? 0 : 1);
314 guiInfo.Track--; 314 guiInfo.Track--;
315 break; 315 break;
316 } 316 }
317 317
318 return; 318 return;
369 369
370 next = listMgr(PLAYLIST_ITEM_GET_NEXT, 0); 370 next = listMgr(PLAYLIST_ITEM_GET_NEXT, 0);
371 371
372 if (next) { 372 if (next) {
373 uiSetFileName(next->path, next->name, STREAMTYPE_FILE); 373 uiSetFileName(next->path, next->name, STREAMTYPE_FILE);
374 uiGotoTheNext = (guiInfo.Playing ? 0 : 1); 374 uiProcessNextInPlaylist = (guiInfo.Playing ? 0 : 1);
375 guiInfo.Track++; 375 guiInfo.Track++;
376 break; 376 break;
377 } 377 }
378 378
379 return; 379 return;