# HG changeset patch # User ib # Date 1308223811 0 # Node ID ba473335e68bb5048b2a4fae0fde89bb873000f5 # Parent 22c3241467b36ee397d9f137f3a4d390d6b9aa16 Rename Render() RenderAll(). All items are rendered by this function at one go, so the new name is more appropriate. diff -r 22c3241467b3 -r ba473335e68b gui/mplayer/gui_common.c --- a/gui/mplayer/gui_common.c Thu Jun 16 11:19:15 2011 +0000 +++ b/gui/mplayer/gui_common.c Thu Jun 16 11:30:11 2011 +0000 @@ -379,7 +379,7 @@ } } -void Render(wsTWindow *window, wItem *Items, int nrItems, char *db, int size) +void RenderAll(wsTWindow *window, wItem *Items, int nrItems, char *db, int size) { wItem *item; txSample *image = NULL; diff -r 22c3241467b3 -r ba473335e68b gui/mplayer/gui_common.h --- a/gui/mplayer/gui_common.h Thu Jun 16 11:19:15 2011 +0000 +++ b/gui/mplayer/gui_common.h Thu Jun 16 11:30:11 2011 +0000 @@ -21,6 +21,6 @@ #include "gui/app.h" -void Render(wsTWindow *window, wItem *Items, int nrItems, char *db, int size); +void RenderAll(wsTWindow *window, wItem *Items, int nrItems, char *db, int size); #endif /* MPLAYER_GUI_GUI_COMMON_H */ diff -r 22c3241467b3 -r ba473335e68b gui/mplayer/mw.c --- a/gui/mplayer/mw.c Thu Jun 16 11:19:15 2011 +0000 +++ b/gui/mplayer/mw.c Thu Jun 16 11:30:11 2011 +0000 @@ -88,7 +88,7 @@ btnModify( evSetVolume,guiIntfStruct.Volume ); fast_memcpy( mplDrawBuffer,appMPlayer.main.Bitmap.Image,appMPlayer.main.Bitmap.ImageSize ); - Render( &appMPlayer.mainWindow,appMPlayer.mainItems,appMPlayer.IndexOfMainItems,mplDrawBuffer,appMPlayer.main.Bitmap.ImageSize ); + RenderAll( &appMPlayer.mainWindow,appMPlayer.mainItems,appMPlayer.IndexOfMainItems,mplDrawBuffer,appMPlayer.main.Bitmap.ImageSize ); mplMainRender=0; } wsPutImage( &appMPlayer.mainWindow ); diff -r 22c3241467b3 -r ba473335e68b gui/mplayer/pb.c --- a/gui/mplayer/pb.c Thu Jun 16 11:19:15 2011 +0000 +++ b/gui/mplayer/pb.c Thu Jun 16 11:30:11 2011 +0000 @@ -106,7 +106,7 @@ vo_mouse_autohide=0; fast_memcpy( mplPBDrawBuffer,appMPlayer.bar.Bitmap.Image,appMPlayer.bar.Bitmap.ImageSize ); - Render( &appMPlayer.barWindow,appMPlayer.barItems,appMPlayer.IndexOfBarItems,mplPBDrawBuffer,appMPlayer.bar.Bitmap.ImageSize ); + RenderAll( &appMPlayer.barWindow,appMPlayer.barItems,appMPlayer.IndexOfBarItems,mplPBDrawBuffer,appMPlayer.bar.Bitmap.ImageSize ); wsConvert( &appMPlayer.barWindow,mplPBDrawBuffer,appMPlayer.bar.Bitmap.ImageSize ); } wsPutImage( &appMPlayer.barWindow );