[MPlayer-cvslog] r33623 - in trunk/gui/mplayer: gui_common.c gui_common.h mw.c pb.c
ib
subversion at mplayerhq.hu
Thu Jun 16 13:30:12 CEST 2011
Author: ib
Date: Thu Jun 16 13:30:11 2011
New Revision: 33623
Log:
Rename Render() RenderAll().
All items are rendered by this function at one go,
so the new name is more appropriate.
Modified:
trunk/gui/mplayer/gui_common.c
trunk/gui/mplayer/gui_common.h
trunk/gui/mplayer/mw.c
trunk/gui/mplayer/pb.c
Modified: trunk/gui/mplayer/gui_common.c
==============================================================================
--- trunk/gui/mplayer/gui_common.c Thu Jun 16 13:19:15 2011 (r33622)
+++ trunk/gui/mplayer/gui_common.c Thu Jun 16 13:30:11 2011 (r33623)
@@ -379,7 +379,7 @@ static void SimplePotmeterPutImage(txSam
}
}
-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;
Modified: trunk/gui/mplayer/gui_common.h
==============================================================================
--- trunk/gui/mplayer/gui_common.h Thu Jun 16 13:19:15 2011 (r33622)
+++ trunk/gui/mplayer/gui_common.h Thu Jun 16 13:30:11 2011 (r33623)
@@ -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 */
Modified: trunk/gui/mplayer/mw.c
==============================================================================
--- trunk/gui/mplayer/mw.c Thu Jun 16 13:19:15 2011 (r33622)
+++ trunk/gui/mplayer/mw.c Thu Jun 16 13:30:11 2011 (r33623)
@@ -88,7 +88,7 @@ void mplMainDraw( void )
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 );
Modified: trunk/gui/mplayer/pb.c
==============================================================================
--- trunk/gui/mplayer/pb.c Thu Jun 16 13:19:15 2011 (r33622)
+++ trunk/gui/mplayer/pb.c Thu Jun 16 13:30:11 2011 (r33623)
@@ -106,7 +106,7 @@ static void mplPBDraw( void )
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 );
More information about the MPlayer-cvslog
mailing list