Mercurial > 510Connectbot
diff src/de/mud/terminal/VDUBuffer.java @ 79:01d939969b10
merge tn5250 branch into default
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 16 Jun 2014 08:24:00 -0700 |
parents | bf01d1eec5c6 |
children | 446dbcf606eb |
line wrap: on
line diff
--- a/src/de/mud/terminal/VDUBuffer.java Tue Jun 03 08:48:14 2014 -0700 +++ b/src/de/mud/terminal/VDUBuffer.java Mon Jun 16 08:24:00 2014 -0700 @@ -1,7 +1,7 @@ /* * This file is part of "JTA - Telnet/SSH for the JAVA(tm) platform". * - * (c) Matthias L. Jugel, Marcus Mei�ner 1996-2005. All Rights Reserved. + * (c) Matthias L. Jugel, Marcus Meißner 1996-2005. All Rights Reserved. * * Please visit http://javatelnet.org/ for updates and contact. * @@ -37,8 +37,8 @@ */ public class VDUBuffer { - /** The current version id tag */ - public final static String ID = "$Id: VDUBuffer.java 503 2005-10-24 07:34:13Z marcus $"; + /** a generic display that should redraw on demand */ + protected VDUDisplay display; /** Enable debug messages. */ public final static int debug = 0; @@ -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 @@ -862,9 +862,6 @@ // return value; // } - /** a generic display that should redraw on demand */ - protected VDUDisplay display; - public void setDisplay(VDUDisplay display) { this.display = display; }