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

Method getResourceAsFont

Source/Core/CtrlrPanel/CtrlrPanelResourceManager.cpp:160–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160const Font CtrlrPanelResourceManager::getResourceAsFont (const String &resourceName)
161{
162 CtrlrPanelResource *res = getResource (resourceName);
163 if (res != 0)
164 {
165 return (res->asFont());
166 }
167
168 return (Font());
169}
170
171void CtrlrPanelResourceManager::reloadComboContents (ComboBox &comboToUpdate)
172{

Callers

nothing calls this directly

Calls 2

FontClass · 0.85
asFontMethod · 0.80

Tested by

no test coverage detected