1 // Copyright (c) Warwick Allison, 1999.
2 // Qt4 conversion copyright (c) Ray Chason, 2012-2014.
3 // NetHack may be freely redistributed. See license for details.
5 // qt4glyph.h -- class to manage the glyphs in a tile set
10 namespace nethack_qt4 {
12 class NetHackQtGlyphs {
16 int width() const { return size.width(); }
17 int height() const { return size.height(); }
19 void setSize(int w, int h);
21 void drawGlyph(QPainter&, int glyph, int pixelx, int pixely);
22 void drawCell(QPainter&, int glyph, int cellx, int celly);
23 QPixmap glyph(int glyph);
32 } // namespace nethack_qt4