CVS: 0_90/Gui app.c,1.22,1.23 app.h,1.17,1.18
Update of /cvsroot/mplayer/0_90/Gui In directory mail:/var/tmp.root/cvs-serv25558 Modified Files: app.c app.h Log Message: backport: (probably) 10l fixes Index: app.c =================================================================== RCS file: /cvsroot/mplayer/0_90/Gui/app.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- app.c 1 Feb 2003 16:41:39 -0000 1.22 +++ app.c 22 Mar 2003 16:27:53 -0000 1.23 @@ -119,17 +119,20 @@ appClearItem( &item->Items[i] ); for ( i=0;i<item->NumberOfMenuItems;i++ ) appClearItem( &item->MenuItems[i] ); + for ( i=0;i<item->NumberOfBarItems;i++ ) + appClearItem( &item->barItems[i] ); item->NumberOfItems=-1; - memset( item->Items,0,128 * sizeof( wItem ) ); + memset( item->Items,0,256 * sizeof( wItem ) ); item->NumberOfMenuItems=-1; - memset( item->MenuItems,0,32 * sizeof( wItem ) ); + memset( item->MenuItems,0,64 * sizeof( wItem ) ); + item->NumberOfBarItems=-1; + memset( item->barItems,0,256 * sizeof( wItem ) ); appClearItem( &item->main ); item->mainDecoration=0; appClearItem( &item->sub ); - item->sub.Bitmap.Width=384; item->sub.Bitmap.Height=384; - item->sub.width=384; item->sub.height=384; + item->sub.width=0; item->sub.height=0; item->sub.x=-1; item->sub.y=-1; appClearItem( &item->menuBase ); appClearItem( &item->menuSelected ); Index: app.h =================================================================== RCS file: /cvsroot/mplayer/0_90/Gui/app.h,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- app.h 17 Jan 2003 22:39:38 -0000 1.17 +++ app.h 22 Mar 2003 16:27:53 -0000 1.18 @@ -164,7 +164,7 @@ wItem MenuItems[64]; // --- int NumberOfBarItems; - wItem barItems[32]; + wItem barItems[256]; } listItems; extern listItems appMPlayer;
participants (1)
-
Arpi of Ize