MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / updateWithTexturePack

Method updateWithTexturePack

launcher/ui/widgets/InfoFrame.cpp:217–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217void InfoFrame::updateWithTexturePack(TexturePack& texture_pack)
218{
219 setName(renderColorCodes(texture_pack.name()));
220 setDescription(renderColorCodes(texture_pack.description()));
221 setImage(texture_pack.image({ 64, 64 }));
222}
223
224void InfoFrame::clear()
225{

Callers 1

onSelectionChangedMethod · 0.80

Calls 3

nameMethod · 0.45
descriptionMethod · 0.45
imageMethod · 0.45

Tested by

no test coverage detected