| 42 | } |
| 43 | |
| 44 | NetHackQtRIP::NetHackQtRIP(QWidget* parent) : |
| 45 | QWidget(parent) |
| 46 | { |
| 47 | if (!pixmap) { |
| 48 | pixmap=new QPixmap; |
| 49 | tryload(*pixmap, PIXMAPDIR "/rip.xpm"); |
| 50 | } |
| 51 | riplines=0; |
| 52 | resize(pixmap->width(),pixmap->height()); |
| 53 | setFont(QFont("times",12)); // XXX may need to be configurable |
| 54 | } |
| 55 | |
| 56 | void NetHackQtRIP::setLines(char** l, int n) |
| 57 | { |