Mercurial > mplayer.hg
changeset 33535:ba473335e68b
Rename Render() RenderAll().
All items are rendered by this function at one go,
so the new name is more appropriate.
author | ib |
---|---|
date | Thu, 16 Jun 2011 11:30:11 +0000 |
parents | 22c3241467b3 |
children | fc1402410163 |
files | gui/mplayer/gui_common.c gui/mplayer/gui_common.h gui/mplayer/mw.c gui/mplayer/pb.c |
diffstat | 4 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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;
--- 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 */
--- 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 );
--- 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 );