diff src/de/mud/terminal/VDUBuffer.java @ 75:bf01d1eec5c6 tn5250

convert 5250 to vt320 attributes
author Carl Byington <carl@five-ten-sg.com>
date Sun, 15 Jun 2014 10:56:09 -0700
parents 9621ac4dd5eb
children 446dbcf606eb
line wrap: on
line diff
--- a/src/de/mud/terminal/VDUBuffer.java	Sat Jun 14 09:04:35 2014 -0700
+++ b/src/de/mud/terminal/VDUBuffer.java	Sun Jun 15 10:56:09 2014 -0700
@@ -99,11 +99,11 @@
     /** how much to left shift the background color */
     public final static int COLOR_BG_SHIFT = 14;
     /** color mask */
-    public final static int COLOR = 0x7fffe0;    /* 0000 0000 0111 1111 1111 1111 1110 0000 */
+    public final static int COLOR    = 0x7fffe0;   /* 0000 0000 0111 1111 1111 1111 1110 0000 */
     /** foreground color mask */
-    public final static int COLOR_FG = 0x3fe0;   /* 0000 0000 0000 0000 0011 1111 1110 0000 */
+    public final static int COLOR_FG = 0x003fe0;   /* 0000 0000 0000 0000 0011 1111 1110 0000 */
     /** background color mask */
-    public final static int COLOR_BG = 0x7fc000; /* 0000 0000 0111 1111 1100 0000 0000 0000 */
+    public final static int COLOR_BG = 0x7fc000;   /* 0000 0000 0111 1111 1100 0000 0000 0000 */
 
     /**
      * Create a new video display buffer with the passed width and height in