MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / setScale

Method setScale

source/ui/data/globalSettings.cpp:397–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395}
396
397void GlobalSettings::setScale(U32 scale) {
398 GlobalSettings::scale = scale;
399 UiSettings::ICON_SIZE = GlobalSettings::scaleIntUI(48);
400 GlobalSettings::extraVerticalSpacing = (float)GlobalSettings::scaleFloatUI(5.0);
401}
402
403void GlobalSettings::loadTheme() {
404 if (GlobalSettings::theme == "Classic") {

Callers 5

installMethod · 0.45
launchMethod · 0.45
launchMethod · 0.45
installMethod · 0.45
onInstallMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected