From: gitknilch Date: Sat, 9 Mar 2013 18:36:02 +0000 (+0100) Subject: get rid of paint in doDraw. X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/FreeShisen/commitdiff_plain/c12aff68a818d5cd53d4b42954e79bba0a2e255f?hp=-c get rid of paint in doDraw. Change-Id: Ie5619c1514ae2bfa1326fb33976cbdcbe92d59e9 Signed-off-by: gitknilch --- c12aff68a818d5cd53d4b42954e79bba0a2e255f diff --git a/src/de/cwde/freeshisen/ShisenShoView.java b/src/de/cwde/freeshisen/ShisenShoView.java index 916dfb7..76d7fc6 100644 --- a/src/de/cwde/freeshisen/ShisenShoView.java +++ b/src/de/cwde/freeshisen/ShisenShoView.java @@ -304,8 +304,6 @@ class ShisenShoView extends SurfaceView implements SurfaceHolder.Callback { int selectcolor = Color.parseColor(COLOR_SELECTED); int hintcolor = Color.parseColor(COLOR_HINT); - Paint paint = new Paint(); - paint.setFlags(Paint.ANTI_ALIAS_FLAG); // Background & board painting switch (pstate) { @@ -322,7 +320,7 @@ class ShisenShoView extends SurfaceView implements SurfaceHolder.Callback { int bgHeight = bg.getHeight(); for (int i=0; i