[MPlayer-cvslog] r33187 - in trunk/gui: app.h skin/skin.c

ib subversion at mplayerhq.hu
Sat Apr 2 00:21:42 CEST 2011


Author: ib
Date: Sat Apr  2 00:21:42 2011
New Revision: 33187

Log:
Add an itMenu item type.

No item should be uncategorized.

Modified:
   trunk/gui/app.h
   trunk/gui/skin/skin.c

Modified: trunk/gui/app.h
==============================================================================
--- trunk/gui/app.h	Sat Apr  2 00:16:32 2011	(r33186)
+++ trunk/gui/app.h	Sat Apr  2 00:21:42 2011	(r33187)
@@ -119,6 +119,7 @@ typedef struct {
 #define itDLabel    105
 #define itBase      106
 #define itPotmeter  107
+#define itMenu      108
 
 #define itPLMButton (itNone - 1)
 #define itPRMButton (itNone - 2)

Modified: trunk/gui/skin/skin.c
==============================================================================
--- trunk/gui/skin/skin.c	Sat Apr  2 00:16:32 2011	(r33186)
+++ trunk/gui/skin/skin.c	Sat Apr  2 00:21:42 2011	(r33187)
@@ -505,6 +505,7 @@ static int cmd_menu(char *in)
     if (!item)
         return 1;
 
+    item->type    = itMenu;
     item->x       = x;
     item->y       = y;
     item->width   = w;


More information about the MPlayer-cvslog mailing list