MCPcopy Create free account
hub / github.com/NetHack/NetHack / NetHackQtRIP

Method NetHackQtRIP

outdated/win/Qt3/qt3_win.cpp:3199–3209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3197QPixmap* NetHackQtRIP::pixmap=0;
3198
3199NetHackQtRIP::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
3211void NetHackQtRIP::setLines(char** l, int n)
3212{

Callers

nothing calls this directly

Calls 3

tryloadFunction · 0.70
widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected