v0.3.4: changes to some bitmaptext character choices

This commit is contained in:
Evan Debenham 2016-02-06 07:09:06 -05:00 committed by Evan Debenham
parent 54d05a8d20
commit 2085e37b3f
2 changed files with 6 additions and 11 deletions

View File

@ -20,13 +20,13 @@
*/ */
package com.shatteredpixel.shatteredpixeldungeon.windows; 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.Badges;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroClass;
import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroSubClass; import com.shatteredpixel.shatteredpixeldungeon.actors.hero.HeroSubClass;
import com.shatteredpixel.shatteredpixeldungeon.messages.Messages;
import com.shatteredpixel.shatteredpixeldungeon.scenes.PixelScene; import com.shatteredpixel.shatteredpixeldungeon.scenes.PixelScene;
import com.watabou.noosa.BitmapText;
import com.watabou.noosa.Group;
import com.watabou.noosa.RenderedTextMultiline; import com.watabou.noosa.RenderedTextMultiline;
public class WndClass extends WndTabbed { public class WndClass extends WndTabbed {
@ -95,8 +95,6 @@ public class WndClass extends WndTabbed {
private static final int MARGIN = 4; private static final int MARGIN = 4;
private static final int GAP = 4; private static final int GAP = 4;
private static final String DOT = "\u007F";
public float height; public float height;
public float width; public float width;
@ -114,7 +112,7 @@ public class WndClass extends WndTabbed {
pos += GAP; pos += GAP;
} }
BitmapText dot = PixelScene.createText( DOT, 6 ); BitmapText dot = PixelScene.createText( "-", 6 );
dot.x = MARGIN; dot.x = MARGIN;
dot.y = pos; dot.y = pos;
if (dotWidth == 0) { if (dotWidth == 0) {

View File

@ -20,10 +20,9 @@
*/ */
package com.shatteredpixel.shatteredpixeldungeon.windows; 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.scenes.PixelScene;
import com.shatteredpixel.shatteredpixeldungeon.ui.Window; import com.shatteredpixel.shatteredpixeldungeon.ui.Window;
import com.watabou.noosa.BitmapTextMultiline;
import com.watabou.noosa.RenderedText; import com.watabou.noosa.RenderedText;
public class WndList extends Window { public class WndList extends Window {
@ -32,8 +31,6 @@ public class WndList extends Window {
private static final int MARGIN = 4; private static final int MARGIN = 4;
private static final int GAP = 4; private static final int GAP = 4;
private static final String DOT = "\u007F";
public WndList( String[] items ) { public WndList( String[] items ) {
super(); super();
@ -48,7 +45,7 @@ public class WndList extends Window {
pos += GAP; pos += GAP;
} }
RenderedText dot = PixelScene.renderText( DOT, 6 ); RenderedText dot = PixelScene.renderText( "-", 6 );
dot.x = MARGIN; dot.x = MARGIN;
dot.y = pos; dot.y = pos;
if (dotWidth == 0) { if (dotWidth == 0) {