Browse Source

无jira 启动页替换

fbp/merge
Levy.Xie-解安森 3 months ago
parent
commit
6d63da4517
  1. 9
      designer-base/src/main/java/com/fr/design/i18n/DesignI18nImpl.java
  2. 4
      designer-realize/src/main/java/com/fr/start/common/SplashWindow.java
  3. BIN
      designer-realize/src/main/resources/com/fr/design/images/splash.png
  4. BIN
      designer-realize/src/main/resources/com/fr/design/images/splash@2x.png
  5. BIN
      designer-realize/src/main/resources/com/fr/design/images/splash@2x_en.png
  6. BIN
      designer-realize/src/main/resources/com/fr/design/images/splash@2x_zh.png
  7. BIN
      designer-realize/src/main/resources/com/fr/design/images/splash@2x_zh_TW.png
  8. BIN
      designer-realize/src/main/resources/com/fr/design/images/splash_en.png
  9. BIN
      designer-realize/src/main/resources/com/fr/design/images/splash_zh.png
  10. BIN
      designer-realize/src/main/resources/com/fr/design/images/splash_zh_TW.png

9
designer-base/src/main/java/com/fr/design/i18n/DesignI18nImpl.java

@ -1,5 +1,6 @@
package com.fr.design.i18n;
import com.fr.design.DesignerEnvManager;
import com.fr.general.GeneralContext;
import com.fr.general.log.MessageFormatter;
import com.fr.locale.DesignI18nProvider;
@ -14,10 +15,10 @@ import java.util.Locale;
public class DesignI18nImpl implements DesignI18nProvider {
// static {
// // GeneralContext上下文 存储本次启动的语言环境 直接使用DesignerEnvManager 会在设置语言环境后 不重启 立即生效 存在问题
// GeneralContext.setLocale(DesignerEnvManager.getEnvManager().getLanguage());
// }
static {
// GeneralContext上下文 存储本次启动的语言环境 直接使用DesignerEnvManager 会在设置语言环境后 不重启 立即生效 存在问题
GeneralContext.setLocale(DesignerEnvManager.getEnvManager().getLanguage());
}
private static DesignI18nImpl instance = new DesignI18nImpl();

4
designer-realize/src/main/java/com/fr/start/common/SplashWindow.java

@ -46,9 +46,7 @@ public class SplashWindow extends JFrame {
this.setAlwaysOnTop(false);
this.setUndecorated(true);
//使窗体背景透明
if (OperatingSystem.isWindows()) {
this.setBackground(new Color(0, 0, 0, 0));
}
this.setBackground(new Color(0, 0, 0, 0));
GUICoreUtils.centerWindow(this);
}

BIN
designer-realize/src/main/resources/com/fr/design/images/splash.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 253 KiB

BIN
designer-realize/src/main/resources/com/fr/design/images/splash@2x.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 KiB

After

Width:  |  Height:  |  Size: 870 KiB

BIN
designer-realize/src/main/resources/com/fr/design/images/splash@2x_en.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 914 KiB

After

Width:  |  Height:  |  Size: 870 KiB

BIN
designer-realize/src/main/resources/com/fr/design/images/splash@2x_zh.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 913 KiB

After

Width:  |  Height:  |  Size: 870 KiB

BIN
designer-realize/src/main/resources/com/fr/design/images/splash@2x_zh_TW.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 913 KiB

After

Width:  |  Height:  |  Size: 870 KiB

BIN
designer-realize/src/main/resources/com/fr/design/images/splash_en.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 256 KiB

After

Width:  |  Height:  |  Size: 253 KiB

BIN
designer-realize/src/main/resources/com/fr/design/images/splash_zh.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 KiB

After

Width:  |  Height:  |  Size: 252 KiB

BIN
designer-realize/src/main/resources/com/fr/design/images/splash_zh_TW.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 KiB

After

Width:  |  Height:  |  Size: 252 KiB

Loading…
Cancel
Save