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

Method setGlyphSize

win/Qt/qt_set.cpp:253–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

251}
252
253void NetHackQtSettings::setGlyphSize(bool which UNUSED)
254{
255 QSize n = QSize(tilewidth.value(),tileheight.value());
256 if ( othersize.isValid() ) {
257 tilewidth.blockSignals(true);
258 tileheight.blockSignals(true);
259 tilewidth.setValue(othersize.width());
260 tileheight.setValue(othersize.height());
261 tileheight.blockSignals(false);
262 tilewidth.blockSignals(false);
263 resizeTiles();
264 }
265 othersize = n;
266}
267
268#ifdef ENHANCED_PAPERDOLL
269void NetHackQtSettings::resizeDoll()

Callers

nothing calls this directly

Calls 2

widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected