[MPlayer-cvslog] r33051 - in trunk/gui/mplayer: gui_common.c gui_common.h
ib
subversion at mplayerhq.hu
Tue Mar 8 13:38:23 CET 2011
Author: ib
Date: Tue Mar 8 13:38:23 2011
New Revision: 33051
Log:
Cosmetic: Rename macro controlling the dlabel delay.
Modified:
trunk/gui/mplayer/gui_common.c
trunk/gui/mplayer/gui_common.h
Modified: trunk/gui/mplayer/gui_common.c
==============================================================================
--- trunk/gui/mplayer/gui_common.c Tue Mar 8 13:29:44 2011 (r33050)
+++ trunk/gui/mplayer/gui_common.c Tue Mar 8 13:38:23 2011 (r33051)
@@ -435,14 +435,14 @@ void Render(wsTWindow *window, wItem *It
d = GetTimerMS() - item->starttime;
- if (d < DELAYTIME)
+ if (d < DLABEL_DELAY)
x = item->last_x; // don't scroll yet
else {
int l;
char c[2];
l = (item->textwidth ? item->textwidth : item->width);
- x = l - ((d - DELAYTIME) / 20) % l - 1;
+ x = l - ((d - DLABEL_DELAY) / 20) % l - 1;
c[0] = *item->text;
c[1] = '\0';
Modified: trunk/gui/mplayer/gui_common.h
==============================================================================
--- trunk/gui/mplayer/gui_common.h Tue Mar 8 13:29:44 2011 (r33050)
+++ trunk/gui/mplayer/gui_common.h Tue Mar 8 13:38:23 2011 (r33051)
@@ -21,7 +21,7 @@
#include "gui/app.h"
-#define DELAYTIME 2500 // in milliseconds
+#define DLABEL_DELAY 2500 // in milliseconds
void PutImage(txSample *bf, int x, int y, int max, int ofs);
void Render(wsTWindow *window, wItem *Items, int nrItems, char *db, int size);
More information about the MPlayer-cvslog
mailing list