am 742d7fc1: Show the orange selection thing.

Merge commit '742d7fc1c22242e032f97f362343771ca7ff77d4' into eclair-mr2

* commit '742d7fc1c22242e032f97f362343771ca7ff77d4':
  Show the orange selection thing.
This commit is contained in:
Joe Onorato
2009-10-15 19:59:05 -07:00
committed by Android Git Automerger
+6
View File
@@ -277,6 +277,12 @@ void drawFrontGrid(float rowOffset)
if ((y >= ymin) && (y <= ymax)) {
setColor(1.f, 1.f, 1.f, 1.f);
if (state->selectedIconIndex == iconNum) {
bindTexture(NAMED_PFTexLinear, 0, state->selectedIconTexture);
drawSpriteScreenspace(x, y, 0, 128, 128);
}
bindTexture(NAMED_PFTexLinear, 0, loadI32(ALLOC_ICON_IDS, iconNum));
drawSpriteScreenspace(x, y, 0, 128, 128);
}