use of com.watabou.noosa.SystemText in project pixel-dungeon-remix by NYRDS.
the class PixelScene method createMultiline.
public static Text createMultiline(final String text, float size) {
if (!ModdingMode.getClassicTextRenderingMode()) {
return new SystemText(text, size, true);
}
Text result = Text.createMultiline(text, chooseFont(size));
result.Scale().set(scale);
return result;
}
use of com.watabou.noosa.SystemText in project pixel-dungeon-remix by NYRDS.
the class SystemRedButton method createChildren.
@Override
protected void createChildren() {
super.createChildren();
bg = Chrome.get(Chrome.Type.BUTTON);
add(bg);
text = new SystemText(GuiProperties.titleFontSize());
add(text);
}
use of com.watabou.noosa.SystemText in project pixel-dungeon-remix by NYRDS.
the class PixelScene method createText.
public static Text createText(String text, float size) {
if (!ModdingMode.getClassicTextRenderingMode()) {
return new SystemText(text, size, false);
}
Text result = Text.create(text, chooseFont(size));
result.Scale().set(scale);
return result;
}
use of com.watabou.noosa.SystemText in project pixel-dungeon-remix by NYRDS.
the class ModsButton method createChildren.
@Override
protected void createChildren() {
super.createChildren();
image = Icons.MODDING_MODE.get();
add(image);
text = new SystemText(GuiProperties.regularFontSize());
text.text(PixelDungeon.activeMod());
add(text);
}
Aggregations