introduce Qt support for color of map frame

This commit is contained in:
nhmall
2023-01-01 20:03:30 -05:00
parent 2fc0d25d45
commit 0a03ca1e99
5 changed files with 86 additions and 31 deletions

View File

@@ -42,6 +42,10 @@ private:
uint32 &Glyphcolor(int x, int y) {
return glyphcolor[y][x];
}
uint32 glyphframecolor[ROWNO][COLNO];
uint32 &GlyphFramecolor(int x, int y) {
return glyphframecolor[y][x];
}
unsigned int glyphflags[ROWNO][COLNO];
unsigned int &Glyphflags(int x, int y) {
return glyphflags[y][x];
@@ -60,7 +64,7 @@ private:
void Clear();
void Display(bool block);
void CursorTo(int x,int y);
void PrintGlyph(int x,int y, const glyph_info *glyphinfo);
void PrintGlyph(int x,int y, const glyph_info *glyphinfo, const glyph_info *bkglyphinfo);
void Changed(int x, int y);
void updateTiles();
void SetupTextmapFont(QPainter &painter);
@@ -83,7 +87,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, const glyph_info *glyphinfo);
virtual void PrintGlyph(int x,int y, const glyph_info *glyphinfo, const glyph_info *bkglyphinfo);
signals:
void resized();