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

Method addParentFloatingTile

hi_scripting/scripting/api/ScriptingGraphics.cpp:2792–2803  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2790}
2791
2792bool ScriptingObjects::ScriptedLookAndFeel::Laf::addParentFloatingTile(Component& c, DynamicObject* obj)
2793{
2794 auto id = getIdOfParentFloatingTile(c);
2795
2796 if (id.isValid())
2797 {
2798 obj->setProperty("parentType", id.toString());
2799 return true;
2800 }
2801
2802 return false;
2803}
2804
2805void ScriptingObjects::ScriptedLookAndFeel::Laf::setColourOrBlack(DynamicObject* obj, const Identifier& id, Component& c, int colourId)
2806{

Callers

nothing calls this directly

Calls 3

isValidMethod · 0.45
setPropertyMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected