| 4356 | } |
| 4357 | |
| 4358 | void ScriptingObjects::ScriptedLookAndFeel::Laf::drawTableBackground(Graphics& g_, TableEditor& te, Rectangle<float> area, double rulerPosition) |
| 4359 | { |
| 4360 | if (functionDefined("drawTableBackground")) |
| 4361 | { |
| 4362 | auto obj = new DynamicObject(); |
| 4363 | |
| 4364 | writeId(obj, &te); |
| 4365 | obj->setProperty("area", ApiHelpers::getVarRectangle(area)); |
| 4366 | obj->setProperty("id", te.getName()); |
| 4367 | obj->setProperty("position", rulerPosition); |
| 4368 | obj->setProperty("enabled", te.isEnabled()); |
| 4369 | |
| 4370 | setColourOrBlack(obj, "bgColour", te, TableEditor::ColourIds::bgColour); |
| 4371 | setColourOrBlack(obj, "itemColour", te, TableEditor::ColourIds::fillColour); |
| 4372 | setColourOrBlack(obj, "itemColour2", te, TableEditor::ColourIds::lineColour); |
| 4373 | setColourOrBlack(obj, "textColour", te, TableEditor::ColourIds::rulerColour); |
| 4374 | |
| 4375 | addParentFloatingTile(te, obj); |
| 4376 | |
| 4377 | if (get()->callWithGraphics(g_, "drawTableBackground", var(obj), &te)) |
| 4378 | return; |
| 4379 | } |
| 4380 | } |
| 4381 | |
| 4382 | void ScriptingObjects::ScriptedLookAndFeel::Laf::drawTablePath(Graphics& g_, TableEditor& te, Path& p, Rectangle<float> area, float lineThickness) |
| 4383 | { |
nothing calls this directly
no test coverage detected