Add Unicode, IBMgraphics and DECgraphics to X11

This commit is contained in:
Ray Chason
2022-11-05 00:40:04 -04:00
parent cf897d9293
commit 0c7d42c739
3 changed files with 232 additions and 42 deletions

View File

@@ -40,10 +40,17 @@ struct text_buffer {
/*
* Information specific to a map window.
*/
#ifdef ENHANCED_SYMBOLS
typedef uint32 X11_map_symbol;
typedef uint32 X11_color;
#else
typedef char X11_map_symbol;
typedef unsigned char X11_color;
#endif
struct text_map_info_t {
unsigned char text[ROWNO][COLNO]; /* Actual displayed screen. */
X11_map_symbol text[ROWNO][COLNO]; /* Actual displayed screen. */
#ifdef TEXTCOLOR
unsigned char colors[ROWNO][COLNO]; /* Color of each character. */
X11_color colors[ROWNO][COLNO]; /* Color of each character. */
GC color_gcs[CLR_MAX], /* GC for each color */
inv_color_gcs[CLR_MAX]; /* GC for each inverse color */
#define copy_gc color_gcs[NO_COLOR]