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

Method resizeDoll

win/Qt/qt_set.cpp:269–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267
268#ifdef ENHANCED_PAPERDOLL
269void NetHackQtSettings::resizeDoll()
270{
271 dollWidth = dollwidth.value();
272 dollHeight = dollheight.value();
273
274 settings.setValue("dollwidth", dollWidth);
275 settings.setValue("dollheight", dollHeight);
276 settings.setValue("dollShown", doll_is_shown);
277
278 //NetHackQtMainWindow::resizePaperDoll(doll_is_shown);
279 NetHackQtMainWindow *w = static_cast <NetHackQtMainWindow *>
280 (NetHackQtBind::mainWidget());
281 w->resizePaperDoll(doll_is_shown);
282}
283
284void NetHackQtSettings::toggleDollShown()
285{

Callers 1

layoutMethod · 0.80

Calls 1

resizePaperDollMethod · 0.80

Tested by

no test coverage detected