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

View File

@@ -15,6 +15,7 @@ import javax.swing.JLabel;
import javax.swing.KeyStroke;
import javax.swing.SwingConstants;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import forge.gui.skin.FSkin;
import net.slightlymagic.braids.util.progress_monitor.BraidsProgressMonitor;
@@ -121,6 +122,9 @@ public class SplashFrame extends JFrame {
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.
monitorModel = new SplashProgressModel();