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

Method setGlyphSize

outdated/win/Qt3/qt3_win.cpp:744–757  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

742}
743
744void NetHackQtSettings::setGlyphSize(bool which)
745{
746 QSize n = QSize(tilewidth.value(),tileheight.value());
747 if ( othersize.isValid() ) {
748 tilewidth.blockSignals(TRUE);
749 tileheight.blockSignals(TRUE);
750 tilewidth.setValue(othersize.width());
751 tileheight.setValue(othersize.height());
752 tileheight.blockSignals(FALSE);
753 tilewidth.blockSignals(FALSE);
754 resizeTiles();
755 }
756 othersize = n;
757}
758
759const QFont& NetHackQtSettings::normalFont()
760{

Callers

nothing calls this directly

Calls 2

widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected