MCPcopy Create free account
hub / github.com/christophhart/HISE / isEnabled

Method isEnabled

hi_scripting/scripting/api/ScriptExpansion.cpp:2223–2231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2221}
2222
2223bool FullInstrumentExpansion::isEnabled(const MainController* mc)
2224{
2225#if USE_BACKEND
2226 return dynamic_cast<const GlobalSettingManager*>(mc)->getSettingsObject().getSetting(HiseSettings::Project::ExpansionType) == "Full";
2227#else
2228 ignoreUnused(mc);
2229 return FrontendHandler::getExpansionType() == "Full";
2230#endif
2231}
2232
2233Expansion* FullInstrumentExpansion::getCurrentFullExpansion(const MainController* mc)
2234{

Callers 15

paintMethod · 0.45
drawRotarySliderMethod · 0.45
updateTextMethod · 0.45
HeaderMethod · 0.45
drawToggleButtonMethod · 0.45
drawRotarySliderMethod · 0.45
drawLinearSliderMethod · 0.45
drawComboBoxMethod · 0.45
drawButtonBackgroundMethod · 0.45
drawTableBackgroundMethod · 0.45
drawTablePathMethod · 0.45

Calls 2

ignoreUnusedFunction · 0.85
getSettingMethod · 0.45

Tested by

no test coverage detected