| 2226 | } |
| 2227 | |
| 2228 | void ScriptCreatedComponentWrappers::PanelWrapper::updateRange(BorderPanel * bpc) |
| 2229 | { |
| 2230 | const double min = GET_SCRIPT_PROPERTY(min); |
| 2231 | const double max = GET_SCRIPT_PROPERTY(max); |
| 2232 | |
| 2233 | if(min < max) |
| 2234 | { |
| 2235 | const double stepSize = getScriptComponent()->getScriptObjectProperty(ScriptingApi::Content::ScriptPanel::stepSize); |
| 2236 | |
| 2237 | NormalisableRange<double> r(min, max); |
| 2238 | r.interval = stepSize; |
| 2239 | |
| 2240 | bpc->setRange(r); |
| 2241 | } |
| 2242 | } |
| 2243 | |
| 2244 | void ScriptCreatedComponentWrappers::PanelWrapper::updateColourAndBorder(BorderPanel * bpc) |
| 2245 | { |
nothing calls this directly
no test coverage detected