Skip to content

Commit d9a5fc3

Browse files
committed
new pony theme for the sdk !
1 parent 6cbd7bd commit d9a5fc3

2 files changed

Lines changed: 25 additions & 3 deletions

File tree

branding/core/core.jar/org/netbeans/core/startup/Bundle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ LBL_splash_window_title=Starting jMonkeyEngine SDK
55
SPLASH_HEIGHT=350
66
SPLASH_WIDTH=500
77
SplashProgressBarBounds=0,347,500,6
8-
SplashProgressBarColor=0xF3C802
8+
SplashProgressBarColor=0xAF0072
99
SplashRunningTextBounds=3,335,497,12
10-
SplashRunningTextColor=0xF3C802
10+
SplashRunningTextColor=0xAF0072
1111
SplashRunningTextFontSize=10

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

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public DarkMonkeyLookAndFeel(){
3838
String color = NbPreferences.root().node("laf").get("darkmonkey.color", null);
3939
if (color == null) { /* Create key with default value */
4040
NbPreferences.root().node("laf").put("darkmonkey.color", "blue");
41-
color = "blue";
41+
color = "pony";
4242
}
4343

4444
switch (color.toLowerCase()) {
@@ -78,6 +78,10 @@ public DarkMonkeyLookAndFeel(){
7878
case "debug":
7979
setCurrentTheme(getDebugTheme());
8080
break;
81+
82+
case "pony":
83+
setCurrentTheme(getPonyTheme());
84+
break;
8185
}
8286
} else {
8387
setCurrentTheme(getBlueTheme());
@@ -248,4 +252,22 @@ private NimRODTheme getDebugTheme() {
248252

249253
return nt;
250254
}
255+
256+
private NimRODTheme getPonyTheme() {
257+
NimRODTheme nt = new NimRODTheme(); //nbres:/org.jme3.netbeans.plaf.darkmonkey
258+
259+
nt.setBlack(Color.decode("#ED8EBB"));
260+
nt.setWhite(Color.decode("#222222"));
261+
nt.setPrimary1(Color.decode("#42002B"));
262+
nt.setPrimary2(Color.decode("#AF0072"));
263+
nt.setPrimary3(Color.decode("#0088CC"));
264+
nt.setSecondary1(Color.decode("#0088CC"));
265+
nt.setSecondary2(Color.decode("#003047"));
266+
nt.setSecondary3(Color.decode("#333333"));
267+
nt.setFrameOpacity(180);
268+
nt.setMenuOpacity(219);
269+
nt.setFont(Font.decode("DejaVu Sans Condensed-PLAIN-12"));
270+
271+
return nt;
272+
}
251273
}

0 commit comments

Comments
 (0)