update fallback_skin
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 193 KiB |
BIN
forge-adventure/fallback_skin/title_bg_lq_portrait.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 193 KiB |
BIN
forge-gui-android/assets/fallback_skin/title_bg_lq_portrait.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
|
Before Width: | Height: | Size: 77 KiB After Width: | Height: | Size: 193 KiB |
BIN
forge-gui-mobile-dev/fallback_skin/title_bg_lq_portrait.png
Normal file
|
After Width: | Height: | Size: 169 KiB |
@@ -44,11 +44,12 @@ public class Assets implements Disposable {
|
||||
private TextureParameter textureParameter;
|
||||
private int cGen = 0, cGenVal = 0, cFB = 0, cFBVal = 0, cTM = 0, cTMVal = 0, cSF = 0, cSFVal = 0, cCF = 0, cCFVal = 0, aDF = 0, cDFVal = 0;
|
||||
public Assets() {
|
||||
String titleFilename = Forge.isLandscapeMode() ? "title_bg_lq.png" : "title_bg_lq_portrait.png";
|
||||
try {
|
||||
//init titleLQ
|
||||
Texture titleBG_LQ = GuiBase.isAndroid() ?
|
||||
new Texture(Gdx.files.internal("fallback_skin").child("title_bg_lq.png")) :
|
||||
new Texture(Gdx.files.classpath("fallback_skin").child("title_bg_lq.png"));
|
||||
new Texture(Gdx.files.internal("fallback_skin").child(titleFilename)) :
|
||||
new Texture(Gdx.files.classpath("fallback_skin").child(titleFilename));
|
||||
fallback_skins().put(0, titleBG_LQ == null ? getDummy() : titleBG_LQ);
|
||||
//init transition
|
||||
Texture transitionLQ = GuiBase.isAndroid() ?
|
||||
@@ -56,7 +57,9 @@ public class Assets implements Disposable {
|
||||
new Texture(Gdx.files.classpath("fallback_skin").child("transition.png"));
|
||||
fallback_skins().put(1, transitionLQ == null ? getDummy() : transitionLQ);
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
fallback_skins().clear();
|
||||
fallback_skins().put(0, getDummy());
|
||||
fallback_skins().put(1, getDummy());
|
||||
}
|
||||
}
|
||||
@Override
|
||||
|
||||