mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
@@ -380,6 +380,10 @@ public class Controls {
|
||||
return newTextraLabel(name, getTextraFont());
|
||||
}
|
||||
|
||||
public static TextraLabel newRewardLabel(String name) {
|
||||
return newTextraLabel(name, getRewardHeaderFont());
|
||||
}
|
||||
|
||||
public static String colorIdToTypingString(ColorSet color) {
|
||||
return colorIdToTypingString(color, false);
|
||||
}
|
||||
@@ -425,6 +429,10 @@ public class Controls {
|
||||
return Forge.getAssets().getTextraFont(getSkin().getFont("default"), Config.instance().getAtlas(Paths.ITEMS_ATLAS), Config.instance().getAtlas(Paths.PIXELMANA_ATLAS));
|
||||
}
|
||||
|
||||
static public Font getRewardHeaderFont() {
|
||||
return Forge.getAssets().getGenericHeaderFont(getSkin().getFont("default"));
|
||||
}
|
||||
|
||||
static public Font getTextraFont(String name) {
|
||||
return Forge.getAssets().getTextraFont(name, getSkin().getFont(name), Config.instance().getAtlas(Paths.ITEMS_ATLAS));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user