mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 12:48:00 +00:00
Splash screen uses skin colors for load bar.
"Rebel" and "Default" skin palettes adjusted to fit (still need some grafix work).
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -17,5 +17,8 @@ res/quest/questData.dat
|
|||||||
res/quest/questData.dat.xml
|
res/quest/questData.dat.xml
|
||||||
res/reprintSetInfo.log
|
res/reprintSetInfo.log
|
||||||
res/setInfoScript.log
|
res/setInfoScript.log
|
||||||
|
src/main/java/forge/gui/match
|
||||||
|
src/main/java/forge/gui/toolbox
|
||||||
|
src/main/java/forge/gui/unfinished
|
||||||
/target
|
/target
|
||||||
/test-output
|
/test-output
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
@@ -15,6 +15,7 @@ import javax.swing.JLabel;
|
|||||||
import javax.swing.KeyStroke;
|
import javax.swing.KeyStroke;
|
||||||
import javax.swing.SwingConstants;
|
import javax.swing.SwingConstants;
|
||||||
import javax.swing.SwingUtilities;
|
import javax.swing.SwingUtilities;
|
||||||
|
import javax.swing.UIManager;
|
||||||
import forge.gui.skin.FSkin;
|
import forge.gui.skin.FSkin;
|
||||||
|
|
||||||
import net.slightlymagic.braids.util.progress_monitor.BraidsProgressMonitor;
|
import net.slightlymagic.braids.util.progress_monitor.BraidsProgressMonitor;
|
||||||
@@ -121,6 +122,9 @@ public class SplashFrame extends JFrame {
|
|||||||
|
|
||||||
contentPane.getActionMap().put("escAction", new closeAction());
|
contentPane.getActionMap().put("escAction", new closeAction());
|
||||||
|
|
||||||
|
// Set UI to color splash bar fill with theme colors
|
||||||
|
UIManager.put("ProgressBar.foreground", skin.bg1b); // Filled
|
||||||
|
UIManager.put("ProgressBar.selectionForeground",skin.txt1a);// Filled
|
||||||
|
|
||||||
// Instantiate model and view and tie together.
|
// Instantiate model and view and tie together.
|
||||||
monitorModel = new SplashProgressModel();
|
monitorModel = new SplashProgressModel();
|
||||||
|
|||||||
Reference in New Issue
Block a user