introduce Qt support for color of map frame
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user