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

Method updateWithResourcePack

launcher/ui/widgets/InfoFrame.cpp:210–215  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

208}
209
210void InfoFrame::updateWithResourcePack(ResourcePack& resource_pack)
211{
212 setName(renderColorCodes(resource_pack.name()));
213 setDescription(renderColorCodes(resource_pack.description()));
214 setImage(resource_pack.image({ 64, 64 }));
215}
216
217void InfoFrame::updateWithTexturePack(TexturePack& texture_pack)
218{

Callers 1

onSelectionChangedMethod · 0.80

Calls 3

nameMethod · 0.45
descriptionMethod · 0.45
imageMethod · 0.45

Tested by

no test coverage detected