MCPcopy Create free account
hub / github.com/RomanKubiak/ctrlr / setResource

Method setResource

Source/UIComponents/CtrlrComponents/Labels/CtrlrImage.cpp:139–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139void CtrlrImage::setResource()
140{
141 currentImage = owner.getOwnerPanel().getResourceManager().getResourceAsImage (getProperty(Ids::uiImageResource));
142 repaint();
143 resized();
144}
145
146void CtrlrImage::reloadResources(Array <CtrlrPanelResource*> resourcesThatChanged)
147{

Callers

nothing calls this directly

Calls 3

getResourceAsImageMethod · 0.80
repaintFunction · 0.50
resizedFunction · 0.50

Tested by

no test coverage detected