MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / cmdOk

Method cmdOk

src/main/java/Fonts/ConfigFonts.java:85–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 public void cmdOk() {
86 FontCache.roster=cf.rosterFont=font1.getValue()*8; //roster
87 FontCache.msg=cf.msgFont=font2.getValue()*8; //msg
88 FontCache.bar=cf.barFont=font3.getValue()*8; //bar
89 FontCache.baloon=cf.baloonFont=font4.getValue()*8; //balloon
90 cf.shadowed = shadowbox.getValue();
91 cf.forceBoldFont = boldbox.getValue();
92 cf.saveToStorage();
93
94 infobar.setFont(FontCache.getFont(true, cf.barFont));
95 infobar.clearWHCache();
96 sd.roster.reEnumRoster();
97 destroyView();
98 }
99}

Callers

nothing calls this directly

Calls 7

getFontMethod · 0.95
clearWHCacheMethod · 0.80
reEnumRosterMethod · 0.80
getValueMethod · 0.45
saveToStorageMethod · 0.45
setFontMethod · 0.45
destroyViewMethod · 0.45

Tested by

no test coverage detected