| 568 | } |
| 569 | |
| 570 | void ScrollView::beforeDraw() |
| 571 | { |
| 572 | |
| 573 | //ScrollView don't support drawing in 3D space |
| 574 | //_beforeDrawCommand.init(_globalZOrder); |
| 575 | //_beforeDrawCommand.func = AX_CALLBACK_0(ScrollView::onBeforeDraw, this); |
| 576 | Director::getInstance()->getRenderer()->addCallbackCommand(AX_CALLBACK_0(ScrollView::onBeforeDraw, this), |
| 577 | _globalZOrder); |
| 578 | } |
| 579 | |
| 580 | /** |
| 581 | * clip this view so that outside of the visible bounds can be hidden. |
no test coverage detected