Mercurial > mplayer.hg
changeset 36921:974ee5f5bf44
Rename SimplePotmeterPutImage() SinglePhasePutImage().
This is a more appropriate name.
author | ib |
---|---|
date | Mon, 17 Mar 2014 12:36:07 +0000 |
parents | 40ad45360c8a |
children | 9584d95e8160 |
files | gui/ui/render.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/ui/render.c Mon Mar 17 12:29:46 2014 +0000 +++ b/gui/ui/render.c Mon Mar 17 12:36:07 2014 +0000 @@ -299,7 +299,7 @@ #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 @@ 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 @@ 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));