improved scrolling of simple menus. Now you can scroll up as well as down by activating the area above/below the menu items

removed the buttons when displaying the filter menus.
This commit is contained in:
techdragon.nguyen@gmail.com
2012-03-23 13:17:13 +00:00
parent 5ab2b607f2
commit 218db9d844
3 changed files with 23 additions and 9 deletions

View File

@@ -723,6 +723,7 @@ void GameStateShop::Render()
if (shopMenu)
shopMenu->Render();
if (filterMenu && !filterMenu->isFinished())
filterMenu->Render();
else
@@ -790,7 +791,8 @@ void GameStateShop::Render()
if (menu)
menu->Render();
renderButtons();
if (filterMenu && filterMenu->isFinished())
renderButtons();
}
void GameStateShop::ButtonPressed(int controllerId, int controlId)