[MPlayer-cvslog] r33189 - trunk/gui/skin/skin.c
ib
subversion at mplayerhq.hu
Sat Apr 2 22:45:44 CEST 2011
Author: ib
Date: Sat Apr 2 22:45:43 2011
New Revision: 33189
Log:
Move debug messages so that they will be processed earlier.
Modified:
trunk/gui/skin/skin.c
Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c Sat Apr 2 22:24:19 2011 (r33188)
+++ trunk/gui/skin/skin.c Sat Apr 2 22:45:43 2011 (r33189)
@@ -399,6 +399,10 @@ static int cmd_button(char *in)
return 1;
}
+ mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] button image: %s %d,%d\n", fname, x, y);
+ mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] message: %s (#%d)\n", msg, message);
+ mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] size: %dx%d\n", w, h);
+
item = next_item();
if (!item)
@@ -413,10 +417,6 @@ static int cmd_button(char *in)
item->pressed = btnReleased;
item->tmp = 1;
- mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] button image: %s %d,%d\n", fname, x, y);
- mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] message: %s (#%d)\n", msg, message);
- mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] size: %dx%d\n", w, h);
-
if (item->message == evPauseSwitchToPlay)
item->pressed = btnDisabled;
@@ -451,14 +451,14 @@ static int cmd_selected(char *in)
if (in_window("playbar"))
return 1;
+ mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] image selected: %s\n", in);
+
currItem = &skin->menuSelected;
currItem->type = itBase;
av_strlcpy(file, path, sizeof(file));
av_strlcat(file, in, sizeof(file));
- mp_dbg(MSGT_GPLAYER, MSGL_DBG2, "[skin] image selected: %s\n", in);
-
if (skinBPRead(file, &currItem->Bitmap) != 0)
return 1;
More information about the MPlayer-cvslog
mailing list