MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / updateWithTexturePack

Method updateWithTexturePack

launcher/ui/widgets/InfoFrame.cpp:168–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166}
167
168void InfoFrame::updateWithTexturePack(TexturePack& texture_pack)
169{
170 setName(renderColorCodes(texture_pack.name()));
171 setDescription(renderColorCodes(texture_pack.description()));
172 setImage(texture_pack.image({64, 64}));
173}
174
175void InfoFrame::clear()
176{

Callers 1

onSelectionChangedFunction · 0.80

Calls 3

nameMethod · 0.45
descriptionMethod · 0.45
imageMethod · 0.45

Tested by

no test coverage detected