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

Method resizeTiles

win/Qt/qt_set.cpp:234–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void NetHackQtSettings::resizeTiles()
235{
236 tileWidth = tilewidth.value();
237 tileHeight = tileheight.value();
238
239 settings.setValue("tilewidth", tileWidth);
240 settings.setValue("tileheight", tileHeight);
241
242 if (theglyphs) {
243 theglyphs->setSize(tileWidth, tileHeight);
244 emit tilesChanged();
245 }
246}
247
248void NetHackQtSettings::toggleGlyphSize()
249{

Callers

nothing calls this directly

Calls 1

setSizeMethod · 0.45

Tested by

no test coverage detected