[MPlayer-cvslog] r37017 - trunk/gui/ui/render.c
ib
subversion at mplayerhq.hu
Mon Mar 17 13:36:07 CET 2014
Author: ib
Date: Mon Mar 17 13:36:07 2014
New Revision: 37017
Log:
Rename SimplePotmeterPutImage() SinglePhasePutImage().
This is a more appropriate name.
Modified:
trunk/gui/ui/render.c
Modified: trunk/gui/ui/render.c
==============================================================================
--- trunk/gui/ui/render.c Mon Mar 17 13:29:46 2014 (r37016)
+++ trunk/gui/ui/render.c Mon Mar 17 13:36:07 2014 (r37017)
@@ -299,7 +299,7 @@ static void PutImage(guiImage *bf, int x
#endif
}
-static void SimplePotmeterPutImage(guiImage *bf, int x, int y, float frac)
+static void SinglePhasePutImage(guiImage *bf, int x, int y, float frac)
{
int i = 0, w, r, ix, iy;
uint32_t *buf = NULL;
@@ -361,7 +361,7 @@ void RenderAll(wsWindow *window, guiItem
case itPimage:
if (item->numphases == 1)
- SimplePotmeterPutImage(&item->Bitmap, item->x, item->y, item->value / 100.0);
+ SinglePhasePutImage(&item->Bitmap, item->x, item->y, item->value / 100.0);
else
PutImage(&item->Bitmap, item->x, item->y, item->numphases, (item->numphases - 1) * (item->value / 100.0));
@@ -370,7 +370,7 @@ void RenderAll(wsWindow *window, guiItem
case itHPotmeter:
if (item->numphases == 1)
- SimplePotmeterPutImage(&item->Bitmap, item->x, item->y, item->value / 100.0);
+ SinglePhasePutImage(&item->Bitmap, item->x, item->y, item->value / 100.0);
else
PutImage(&item->Bitmap, item->x, item->y, item->numphases, (item->numphases - 1) * (item->value / 100.0));
More information about the MPlayer-cvslog
mailing list