| 3197 | QPixmap* NetHackQtRIP::pixmap=0; |
| 3198 | |
| 3199 | NetHackQtRIP::NetHackQtRIP(QWidget* parent) : |
| 3200 | QWidget(parent) |
| 3201 | { |
| 3202 | if (!pixmap) { |
| 3203 | pixmap=new QPixmap; |
| 3204 | tryload(*pixmap, "rip.xpm"); |
| 3205 | } |
| 3206 | riplines=0; |
| 3207 | resize(pixmap->width(),pixmap->height()); |
| 3208 | setFont(QFont("times",12)); // XXX may need to be configurable |
| 3209 | } |
| 3210 | |
| 3211 | void NetHackQtRIP::setLines(char** l, int n) |
| 3212 | { |