| 3113 | } |
| 3114 | |
| 3115 | void ScriptingObjects::ScriptedLookAndFeel::CSSLaf::drawTablePath(Graphics& g, TableEditor& te, Path& p, |
| 3116 | Rectangle<float> area, float lineThickness) |
| 3117 | { |
| 3118 | using namespace simple_css; |
| 3119 | |
| 3120 | if(auto ss = root.css.getForComponent(&te)) |
| 3121 | { |
| 3122 | Renderer r(&te, root.stateWatcher); |
| 3123 | |
| 3124 | auto currentState = Renderer::getPseudoClassFromComponent(&te); |
| 3125 | root.stateWatcher.checkChanges(&te, ss, currentState); |
| 3126 | |
| 3127 | setPathAsVariable(ss, p, "tablePath"); |
| 3128 | r.drawBackground(g, te.getLocalBounds().toFloat(), ss); |
| 3129 | |
| 3130 | return; |
| 3131 | } |
| 3132 | |
| 3133 | TableEditor::LookAndFeelMethods::drawTablePath(g, te, p, area, lineThickness); |
| 3134 | } |
| 3135 | |
| 3136 | void ScriptingObjects::ScriptedLookAndFeel::CSSLaf::drawTablePoint(Graphics& g, TableEditor& te, |
| 3137 | Rectangle<float> tablePoint, bool isEdge, bool isHover, bool isDragged) |
nothing calls this directly
no test coverage detected