From 2085e37b3f332282cde22ed60b0405083b51a919 Mon Sep 17 00:00:00 2001 From: Evan Debenham Date: Sat, 6 Feb 2016 07:09:06 -0500 Subject: [PATCH] v0.3.4: changes to some bitmaptext character choices --- .../shatteredpixeldungeon/windows/WndClass.java | 10 ++++------ .../shatteredpixeldungeon/windows/WndList.java | 7 ++----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndClass.java b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndClass.java index d0dbe281d..e7eef88b7 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndClass.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndClass.java @@ -20,13 +20,13 @@ */ package com.shatteredpixel.shatteredpixeldungeon.windows; -import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; -import com.watabou.noosa.BitmapText; -import com.watabou.noosa.Group; import com.shatteredpixel.shatteredpixeldungeon.Badges; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroSubClass; +import com.shatteredpixel.shatteredpixeldungeon.messages.Messages; import com.shatteredpixel.shatteredpixeldungeon.scenes.PixelScene; +import com.watabou.noosa.BitmapText; +import com.watabou.noosa.Group; import com.watabou.noosa.RenderedTextMultiline; public class WndClass extends WndTabbed { @@ -95,8 +95,6 @@ public class WndClass extends WndTabbed { private static final int MARGIN = 4; private static final int GAP = 4; - private static final String DOT = "\u007F"; - public float height; public float width; @@ -114,7 +112,7 @@ public class WndClass extends WndTabbed { pos += GAP; } - BitmapText dot = PixelScene.createText( DOT, 6 ); + BitmapText dot = PixelScene.createText( "-", 6 ); dot.x = MARGIN; dot.y = pos; if (dotWidth == 0) { diff --git a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndList.java b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndList.java index bb2b82856..796d1b443 100644 --- a/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndList.java +++ b/src/com/shatteredpixel/shatteredpixeldungeon/windows/WndList.java @@ -20,10 +20,9 @@ */ package com.shatteredpixel.shatteredpixeldungeon.windows; -import com.watabou.noosa.BitmapText; -import com.watabou.noosa.BitmapTextMultiline; import com.shatteredpixel.shatteredpixeldungeon.scenes.PixelScene; import com.shatteredpixel.shatteredpixeldungeon.ui.Window; +import com.watabou.noosa.BitmapTextMultiline; import com.watabou.noosa.RenderedText; public class WndList extends Window { @@ -32,8 +31,6 @@ public class WndList extends Window { private static final int MARGIN = 4; private static final int GAP = 4; - private static final String DOT = "\u007F"; - public WndList( String[] items ) { super(); @@ -48,7 +45,7 @@ public class WndList extends Window { pos += GAP; } - RenderedText dot = PixelScene.renderText( DOT, 6 ); + RenderedText dot = PixelScene.renderText( "-", 6 ); dot.x = MARGIN; dot.y = pos; if (dotWidth == 0) {