v0.3.4: added rendered text to a few more places

This commit is contained in:
Evan Debenham
2016-01-13 19:55:25 -05:00
committed by Evan Debenham
parent e01e408f77
commit de99b6110f
6 changed files with 30 additions and 36 deletions
@@ -21,8 +21,9 @@
package com.shatteredpixel.shatteredpixeldungeon.windows;
import com.shatteredpixel.shatteredpixeldungeon.ShatteredPixelDungeon;
import com.shatteredpixel.shatteredpixeldungeon.ui.HighlightedText;
import com.shatteredpixel.shatteredpixeldungeon.scenes.PixelScene;
import com.watabou.noosa.Image;
import com.watabou.noosa.RenderedTextMultiline;
import com.watabou.noosa.ui.Component;
import com.shatteredpixel.shatteredpixeldungeon.ui.Window;
@@ -47,7 +48,7 @@ public class WndTitledMessage extends Window {
titlebar.setRect( 0, 0, width, 0 );
add(titlebar);
HighlightedText text = new HighlightedText( 6 );
RenderedTextMultiline text = PixelScene.renderMultiline( 6 );
text.text( message, width );
text.setPos( titlebar.left(), titlebar.bottom() + GAP );
add( text );