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:
Doublestrike
2011-10-10 03:07:39 +00:00
parent 09f0e0e775
commit 4344cac411
4 changed files with 7 additions and 0 deletions

3
.gitignore vendored
View File

@@ -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

View File

@@ -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();