more window port interface adjustments
further adjustments to the window port interface to pass a pointer to a glyph_info struct which describes not just the glyph number itself, but also the ttychar, the color, the glyphflags, and the symset index. This affects two existing window port calls that get passed glyphs and does the parameter consistently for both of them using the glyph_info struct pointer: print_glyph() add_menu(). The recently added glyphmod parameter is now unnecessary and has been removed.
This commit is contained in:
@@ -524,8 +524,8 @@ struct trapinfo {
|
||||
typedef struct {
|
||||
xchar gnew; /* perhaps move this bit into the rm structure. */
|
||||
int glyph;
|
||||
#ifndef UNBUFFERED_GLYPHMOD
|
||||
unsigned glyphmod[NUM_GLYPHMOD];
|
||||
#ifndef UNBUFFERED_GLYPHINFO
|
||||
glyph_info glyphinfo;
|
||||
#endif
|
||||
} gbuf_entry;
|
||||
|
||||
@@ -1213,6 +1213,8 @@ struct const_globals {
|
||||
|
||||
E const struct const_globals cg;
|
||||
|
||||
E const glyph_info nul_glyphinfo;
|
||||
|
||||
#undef E
|
||||
|
||||
#endif /* DECL_H */
|
||||
|
||||
Reference in New Issue
Block a user