diff options
author | Joe Onorato <joeo@android.com> | 2009-10-15 21:19:09 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2009-10-15 21:19:09 -0700 |
commit | d63458b34c33c0701d8ce8920b3b77abc6ac0e0f (patch) | |
tree | 1922e3ffa273c535468c2e4a5ede895bb26e9d1b /res/raw | |
parent | 1d8e7bbe09e130af5e9534cc26a65f623be7a424 (diff) | |
download | android_packages_apps_Trebuchet-d63458b34c33c0701d8ce8920b3b77abc6ac0e0f.tar.gz android_packages_apps_Trebuchet-d63458b34c33c0701d8ce8920b3b77abc6ac0e0f.tar.bz2 android_packages_apps_Trebuchet-d63458b34c33c0701d8ce8920b3b77abc6ac0e0f.zip |
Add pressed states for the all apps button and the home button.
We'll need another asset for the selected state, when we do that.
This also updates the all apps icon to be a grid.
Diffstat (limited to 'res/raw')
-rw-r--r-- | res/raw/rollo.c | 2 | ||||
-rw-r--r-- | res/raw/rollo2.c | 2 | ||||
-rw-r--r-- | res/raw/rollo3.c | 2 | ||||
-rw-r--r-- | res/raw/rollo4.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/res/raw/rollo.c b/res/raw/rollo.c index 2dd17aa42..6a4172722 100644 --- a/res/raw/rollo.c +++ b/res/raw/rollo.c @@ -301,7 +301,7 @@ void draw_home_button() { color(1.0f, 1.0f, 1.0f, 1.0f); - bindTexture(NAMED_PFTexLinear, 0, params->homeButtonId); + bindTexture(NAMED_PFTexLinear, 0, state->homeButtonId); float scale = 2.0f / SCREEN_WIDTH_PX; diff --git a/res/raw/rollo2.c b/res/raw/rollo2.c index ad7b18f9d..eb87063d6 100644 --- a/res/raw/rollo2.c +++ b/res/raw/rollo2.c @@ -246,7 +246,7 @@ void draw_home_button() { color(1.0f, 1.0f, 1.0f, 1.0f); - bindTexture(NAMED_PFTexLinear, 0, params->homeButtonId); + bindTexture(NAMED_PFTexLinear, 0, state->homeButtonId); float scale = 2.0f / SCREEN_WIDTH_PX; diff --git a/res/raw/rollo3.c b/res/raw/rollo3.c index 0fe940e42..3c3ebf02b 100644 --- a/res/raw/rollo3.c +++ b/res/raw/rollo3.c @@ -233,7 +233,7 @@ void draw_home_button() { setColor(1.0f, 1.0f, 1.0f, 1.0f); - bindTexture(NAMED_PFTexLinear, 0, params->homeButtonId); + bindTexture(NAMED_PFTexLinear, 0, state->homeButtonId); float scale = 2.0f / SCREEN_WIDTH_PX; diff --git a/res/raw/rollo4.c b/res/raw/rollo4.c index b0ea5b016..29b31a38b 100644 --- a/res/raw/rollo4.c +++ b/res/raw/rollo4.c @@ -301,7 +301,7 @@ void draw_home_button() { color(1.0f, 1.0f, 1.0f, 1.0f); - bindTexture(NAMED_PFTexLinear, 0, params->homeButtonId); + bindTexture(NAMED_PFTexLinear, 0, state->homeButtonId); float scale = 2.0f / SCREEN_WIDTH_PX; |