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:
+2
-2
@@ -56,7 +56,7 @@ private:
|
||||
void Clear();
|
||||
void Display(bool block);
|
||||
void CursorTo(int x,int y);
|
||||
void PrintGlyph(int x,int y,int glyph,unsigned *glyphmod);
|
||||
void PrintGlyph(int x,int y, const glyph_info *glyphinfo);
|
||||
void Changed(int x, int y);
|
||||
void updateTiles();
|
||||
void SetupTextmapFont(QPainter &painter);
|
||||
@@ -79,7 +79,7 @@ public:
|
||||
virtual void CursorTo(int x,int y);
|
||||
virtual void PutStr(int attr, const QString& text);
|
||||
virtual void ClipAround(int x,int y);
|
||||
virtual void PrintGlyph(int x,int y,int glyph,unsigned *glyphmod);
|
||||
virtual void PrintGlyph(int x,int y, const glyph_info *glyphinfo);
|
||||
|
||||
signals:
|
||||
void resized();
|
||||
|
||||
Reference in New Issue
Block a user