summaryrefslogtreecommitdiffstats
path: root/res/raw
diff options
context:
space:
mode:
authorJoe Onorato <joeo@android.com>2009-10-15 19:48:16 -0700
committerJoe Onorato <joeo@android.com>2009-10-15 19:48:16 -0700
commit742d7fc1c22242e032f97f362343771ca7ff77d4 (patch)
tree46f455fe2fe120b7d6292123c750d6adbfca589f /res/raw
parent68ffd10dfcc7913082183d23949df25c23001e6c (diff)
downloadandroid_packages_apps_Trebuchet-742d7fc1c22242e032f97f362343771ca7ff77d4.tar.gz
android_packages_apps_Trebuchet-742d7fc1c22242e032f97f362343771ca7ff77d4.tar.bz2
android_packages_apps_Trebuchet-742d7fc1c22242e032f97f362343771ca7ff77d4.zip
Show the orange selection thing.
Diffstat (limited to 'res/raw')
-rw-r--r--res/raw/rollo3.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/raw/rollo3.c b/res/raw/rollo3.c
index 2aefa291a..0fe940e42 100644
--- a/res/raw/rollo3.c
+++ b/res/raw/rollo3.c
@@ -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);
}