[Mplayer-cvslog] CVS: main/Gui app.c,1.18,1.19 app.h,1.15,1.16 interface.c,1.71,1.72

Zoltan Ponekker pontscho at mplayerhq.hu
Tue Jan 14 00:38:50 CET 2003


Update of /cvsroot/mplayer/main/Gui
In directory mail:/var/tmp.root/cvs-serv24644/Gui

Modified Files:
	app.c app.h interface.c 
Log Message:


correct skin changing
(fix one critical bug)


Index: app.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/app.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- app.c	29 Nov 2002 00:58:22 -0000	1.18
+++ app.c	13 Jan 2003 23:38:34 -0000	1.19
@@ -138,6 +138,8 @@
  item->subR=0;
  item->subG=0;
  item->subB=0;
+ item->barIsPresent=0;
+ item->menuIsPresent=0;
 }
 
 int appFindKey( unsigned char * name )

Index: app.h
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/app.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- app.h	11 Dec 2002 01:21:08 -0000	1.15
+++ app.h	13 Jan 2003 23:38:34 -0000	1.16
@@ -145,7 +145,11 @@
  wItem           sub;
  wsTWindow       subWindow;
  int             subR,subG,subB;
- int             subPixel;
+
+ wItem           bar;
+ wsTWindow       barWindow;
+ int             barR,barG,barB;
+ int             barIsPresent;
 
  wItem           eq;
  wsTWindow       eqWindow;
@@ -153,6 +157,7 @@
  wItem           menuBase;
  wItem           menuSelected;
  wsTWindow       menuWindow;
+ int		 menuIsPresent;
 
 // ---
  int             NumberOfItems;

Index: interface.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/interface.c,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -r1.71 -r1.72
--- interface.c	12 Jan 2003 18:35:46 -0000	1.71
+++ interface.c	13 Jan 2003 23:38:34 -0000	1.72
@@ -210,7 +210,7 @@
  i=wsShowFrame|wsMaxSize|wsHideWindow;
  wsCreateWindow( &appMPlayer.mainWindow,
   appMPlayer.main.x,appMPlayer.main.y,appMPlayer.main.width,appMPlayer.main.height,
-  wsNoBorder,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,i,"MPlayer" ); //wsMinSize|
+  wsNoBorder,wsShowMouseCursor|wsHandleMouseButton|wsHandleMouseMove,i,"MPlayer" );
 
  wsSetShape( &appMPlayer.mainWindow,appMPlayer.main.Mask.Image );
  wsXDNDMakeAwareness(&appMPlayer.mainWindow);



More information about the MPlayer-cvslog mailing list