| 3613 | } |
| 3614 | |
| 3615 | void ScriptingObjects::ScriptedLookAndFeel::Laf::drawAlertBox(Graphics& g_, AlertWindow& w, const Rectangle<int>& ta, TextLayout& tl) |
| 3616 | { |
| 3617 | if (functionDefined("drawAlertWindow")) |
| 3618 | { |
| 3619 | auto obj = new DynamicObject(); |
| 3620 | |
| 3621 | obj->setProperty("area", ApiHelpers::getVarRectangle(w.getLocalBounds().toFloat())); |
| 3622 | obj->setProperty("title", w.getName()); |
| 3623 | |
| 3624 | addParentFloatingTile(w, obj); |
| 3625 | |
| 3626 | if (get()->callWithGraphics(g_, "drawAlertWindow", var(obj), &w)) |
| 3627 | return; |
| 3628 | } |
| 3629 | |
| 3630 | GlobalHiseLookAndFeel::drawAlertBox(g_, w, ta, tl); |
| 3631 | } |
| 3632 | |
| 3633 | void ScriptingObjects::ScriptedLookAndFeel::Laf::getIdealPopupMenuItemSize(const String &text, bool isSeparator, int standardMenuItemHeight, int &idealWidth, int &idealHeight) |
| 3634 | { |
nothing calls this directly
no test coverage detected