From 31e0785e807824529162a8e9423bcaaa5a93108d Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Sat, 17 Sep 2016 11:15:12 +0100 Subject: Android app: Update rgba -> bgra. The separation class had a member renamed. Rename it here too. --- .../src/main/java/com/artifex/mupdf/android/ProofActivity.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'platform/android/example') diff --git a/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/ProofActivity.java b/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/ProofActivity.java index 04ba3089..65b79c19 100644 --- a/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/ProofActivity.java +++ b/platform/android/example/mupdf/src/main/java/com/artifex/mupdf/android/ProofActivity.java @@ -289,10 +289,10 @@ public class ProofActivity extends Activity implements View.OnClickListener, Doc String name = sep.name; // transform to a color that can be used to colorize icons - int alpha = (sep.rgba >> 24) & 0xFF; - int red = (sep.rgba >> 16) & 0xFF; - int green = (sep.rgba >> 8 ) & 0xFF; - int blue = (sep.rgba >> 0 ) & 0xFF; + int alpha = (sep.bgra >> 24) & 0xFF; + int red = (sep.bgra >> 16) & 0xFF; + int green = (sep.bgra >> 8 ) & 0xFF; + int blue = (sep.bgra >> 0 ) & 0xFF; int color = (alpha << 24) | (red << 16) | (green << 8) | (blue << 0); mColorAdapter.add(new ChooseColorItem(sep.name, color, true, sep)); -- cgit v1.2.3