v0.3.4: moved capitalization to Messages, added title case functionality, removed Utils

This commit is contained in:
Evan Debenham
2016-01-27 20:11:17 -05:00
committed by Evan Debenham
parent 16426c02ee
commit 551638f972
29 changed files with 71 additions and 89 deletions
@@ -30,7 +30,6 @@ import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSprite;
import com.shatteredpixel.shatteredpixeldungeon.ui.RedButton;
import com.shatteredpixel.shatteredpixeldungeon.ui.Window;
import com.shatteredpixel.shatteredpixeldungeon.utils.GLog;
import com.shatteredpixel.shatteredpixeldungeon.utils.Utils;
import com.watabou.noosa.RenderedTextMultiline;
public class WndImp extends Window {
@@ -45,7 +44,7 @@ public class WndImp extends Window {
IconTitle titlebar = new IconTitle();
titlebar.icon( new ItemSprite( tokens.image(), null ) );
titlebar.label( Utils.capitalize( tokens.name() ) );
titlebar.label( Messages.titleCase( tokens.name() ) );
titlebar.setRect( 0, 0, WIDTH, 0 );
add( titlebar );