| 173 | } |
| 174 | |
| 175 | void ScrollViewBar::updateLength(float length) |
| 176 | { |
| 177 | float ratio = length / _body->getTextureRect().size.height; |
| 178 | _body->setScaleY(ratio); |
| 179 | _upperHalfCircle->setPositionY(_body->getPositionY() + length); |
| 180 | } |
| 181 | |
| 182 | void ScrollViewBar::onEnter() |
| 183 | { |
nothing calls this directly
no test coverage detected