]> granicus.if.org Git - php/commitdiff
cs/ws
authorkrakjoe <joe.watkins@live.co.uk>
Sat, 30 Nov 2013 17:29:33 +0000 (17:29 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Sat, 30 Nov 2013 17:29:33 +0000 (17:29 +0000)
tutorials/java/dist/phpdbg-ui.jar
tutorials/java/src/phpdbg/ui/JTerminalPane.java

index 2252c545b9e0dbe494298f33ff99c72811f460b8..7850d33756d781a86ec53e149f7cdbd6e8283056 100644 (file)
Binary files a/tutorials/java/dist/phpdbg-ui.jar and b/tutorials/java/dist/phpdbg-ui.jar differ
index 6f79eb0f8981ae0d6e36a55637aa7121424af049..a08be440d334922d3f7ef1250b6bfeedf1f3ba59 100644 (file)
@@ -32,15 +32,11 @@ public class JTerminalPane extends JTextPane {
         }
         
         public JTerminalColor(Float h, Float s, Float b, Boolean bold) {
-            this.color = Color.getHSBColor(h, s, b);
-            this.bold = bold;
-            this.underline = false;
+            this(h, s, b, bold, false);
         }
         
         public JTerminalColor(Float h, Float s, Float b) {
-            this.color = Color.getHSBColor(h, s, b);
-            this.underline = false;
-            this.bold = false;
+            this(h, s, b, false, false);
         }
 
         public Boolean      isUnderlined()  { return this.underline; }
@@ -59,7 +55,6 @@ public class JTerminalPane extends JTextPane {
             put("\u001B[0;36m", new JTerminalColor(0.500f, 1.000f, 1.000f));
             put("\u001B[0;37m", new JTerminalColor(0.000f, 0.000f, 1.000f));
             put("\u001B[0;64m", new JTerminalColor(0.000f, 0.000f, 1.000f));
-            
             put("\u001B[1;30m", new JTerminalColor(0.000f, 0.000f, 0.502f, true));
             put("\u001B[1;31m", new JTerminalColor(0.000f, 1.000f, 1.000f, true));
             put("\u001B[1;32m", new JTerminalColor(0.333f, 1.000f, 1.000f, true));
@@ -69,7 +64,6 @@ public class JTerminalPane extends JTextPane {
             put("\u001B[1;36m", new JTerminalColor(0.500f, 1.000f, 1.000f, true));
             put("\u001B[1;37m", new JTerminalColor(0.000f, 0.000f, 1.000f, true));
             put("\u001B[1;64m", new JTerminalColor(0.000f, 0.000f, 1.000f, true));
-            
             put("\u001B[4;30m", new JTerminalColor(0.000f, 0.000f, 0.502f, false, true));
             put("\u001B[4;31m", new JTerminalColor(0.000f, 1.000f, 1.000f, false, true));
             put("\u001B[4;32m", new JTerminalColor(0.333f, 1.000f, 1.000f, false, true));