| 3696 | |
| 3697 | |
| 3698 | void ScriptingObjects::ScriptedLookAndFeel::Laf::drawFilterBackground(Graphics &g_, FilterGraph& fg) |
| 3699 | { |
| 3700 | if (functionDefined("drawFilterBackground")) |
| 3701 | { |
| 3702 | auto obj = new DynamicObject(); |
| 3703 | |
| 3704 | writeId(obj, &fg); |
| 3705 | |
| 3706 | obj->setProperty("area", ApiHelpers::getVarRectangle(fg.getLocalBounds().toFloat())); |
| 3707 | |
| 3708 | setColourOrBlack(obj, "bgColour", fg, FilterGraph::ColourIds::bgColour); |
| 3709 | setColourOrBlack(obj, "itemColour1", fg, FilterGraph::ColourIds::lineColour); |
| 3710 | setColourOrBlack(obj, "itemColour2", fg, FilterGraph::ColourIds::fillColour); |
| 3711 | setColourOrBlack(obj, "itemColour3", fg, FilterGraph::ColourIds::gridColour); |
| 3712 | setColourOrBlack(obj, "textColour", fg, FilterGraph::ColourIds::textColour); |
| 3713 | |
| 3714 | if (get()->callWithGraphics(g_, "drawFilterBackground", var(obj), &fg)) |
| 3715 | return; |
| 3716 | } |
| 3717 | |
| 3718 | FilterGraph::LookAndFeelMethods::drawFilterBackground(g_, fg); |
| 3719 | } |
| 3720 | |
| 3721 | void ScriptingObjects::ScriptedLookAndFeel::Laf::drawFilterPath(Graphics& g_, FilterGraph& fg, const Path& p) |
| 3722 | { |
nothing calls this directly
no test coverage detected