Mercurial > hg > dmlib
changeset 615:024bc22c54d7
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 12 Apr 2013 12:35:29 +0300 |
parents | eed8d6abd89b |
children | ed4536641796 |
files | dmsimple.c |
diffstat | 1 files changed, 1 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/dmsimple.c Fri Apr 12 12:35:15 2013 +0300 +++ b/dmsimple.c Fri Apr 12 12:35:29 2013 +0300 @@ -305,14 +305,13 @@ float t = engineGetTimeDT(&engine); int entry; nmenuList = 5; - dmScaledBlitSurface32to32TransparentGA(menuBarImage, DM_VSETUP_MENU_XC, DM_VSETUP_MENU_YC + (menuChoice * menuEntryHeight), DM_VSETUP_MENU_WIDTH, menuEntryHeight + 2, engine.screen, 200 + sin(t * 10.0) * 50); - + for (entry = 0; entry < nmenuList && entry < menuHeight; entry++) { snprintf(menuStr, sizeof(menuStr), "%4d X %4d", 640 * (entry + 1), 480 * (entry + 1));