Browse Source

new pony theme for the sdk !

Dokthar 9 years ago
parent
commit
d9a5fc3cfa

+ 2 - 2
branding/core/core.jar/org/netbeans/core/startup/Bundle.properties

@@ -5,7 +5,7 @@ LBL_splash_window_title=Starting jMonkeyEngine SDK
 SPLASH_HEIGHT=350
 SPLASH_WIDTH=500
 SplashProgressBarBounds=0,347,500,6
-SplashProgressBarColor=0xF3C802
+SplashProgressBarColor=0xAF0072
 SplashRunningTextBounds=3,335,497,12
-SplashRunningTextColor=0xF3C802
+SplashRunningTextColor=0xAF0072
 SplashRunningTextFontSize=10

+ 23 - 1
jme3-dark-laf/src/org/jme3/netbeans/plaf/darkmonkey/DarkMonkeyLookAndFeel.java

@@ -38,7 +38,7 @@ public class DarkMonkeyLookAndFeel extends com.nilo.plaf.nimrod.NimRODLookAndFee
                 String color = NbPreferences.root().node("laf").get("darkmonkey.color", null);
                 if (color == null) { /* Create key with default value */
                     NbPreferences.root().node("laf").put("darkmonkey.color", "blue");
-                    color = "blue";
+                    color = "pony";
                 }
                 
                 switch (color.toLowerCase()) {
@@ -78,6 +78,10 @@ public class DarkMonkeyLookAndFeel extends com.nilo.plaf.nimrod.NimRODLookAndFee
                     case "debug":
                         setCurrentTheme(getDebugTheme());
                         break;
+                        
+                    case "pony":
+                        setCurrentTheme(getPonyTheme());
+                        break;
                 }
             } else {
                 setCurrentTheme(getBlueTheme());
@@ -248,4 +252,22 @@ public class DarkMonkeyLookAndFeel extends com.nilo.plaf.nimrod.NimRODLookAndFee
         
         return nt;
     }
+    
+    private NimRODTheme getPonyTheme() {
+        NimRODTheme nt = new NimRODTheme(); //nbres:/org.jme3.netbeans.plaf.darkmonkey
+        
+        nt.setBlack(Color.decode("#ED8EBB"));
+        nt.setWhite(Color.decode("#222222"));
+        nt.setPrimary1(Color.decode("#42002B"));
+        nt.setPrimary2(Color.decode("#AF0072"));
+        nt.setPrimary3(Color.decode("#0088CC"));
+        nt.setSecondary1(Color.decode("#0088CC"));
+        nt.setSecondary2(Color.decode("#003047"));
+        nt.setSecondary3(Color.decode("#333333"));
+        nt.setFrameOpacity(180);
+        nt.setMenuOpacity(219);
+        nt.setFont(Font.decode("DejaVu Sans Condensed-PLAIN-12"));
+        
+        return nt;
+    }
 }