Mercurial > 510Connectbot
comparison 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 |
comparison
equal
deleted
inserted
replaced
74:1aff8d06d5ef | 75:bf01d1eec5c6 |
---|---|
97 /** how much to left shift the foreground color */ | 97 /** how much to left shift the foreground color */ |
98 public final static int COLOR_FG_SHIFT = 5; | 98 public final static int COLOR_FG_SHIFT = 5; |
99 /** how much to left shift the background color */ | 99 /** how much to left shift the background color */ |
100 public final static int COLOR_BG_SHIFT = 14; | 100 public final static int COLOR_BG_SHIFT = 14; |
101 /** color mask */ | 101 /** color mask */ |
102 public final static int COLOR = 0x7fffe0; /* 0000 0000 0111 1111 1111 1111 1110 0000 */ | 102 public final static int COLOR = 0x7fffe0; /* 0000 0000 0111 1111 1111 1111 1110 0000 */ |
103 /** foreground color mask */ | 103 /** foreground color mask */ |
104 public final static int COLOR_FG = 0x3fe0; /* 0000 0000 0000 0000 0011 1111 1110 0000 */ | 104 public final static int COLOR_FG = 0x003fe0; /* 0000 0000 0000 0000 0011 1111 1110 0000 */ |
105 /** background color mask */ | 105 /** background color mask */ |
106 public final static int COLOR_BG = 0x7fc000; /* 0000 0000 0111 1111 1100 0000 0000 0000 */ | 106 public final static int COLOR_BG = 0x7fc000; /* 0000 0000 0111 1111 1100 0000 0000 0000 */ |
107 | 107 |
108 /** | 108 /** |
109 * Create a new video display buffer with the passed width and height in | 109 * Create a new video display buffer with the passed width and height in |
110 * characters. | 110 * characters. |
111 * @param width the length of the character lines | 111 * @param width the length of the character lines |