| 73 | ScrollViewBar::~ScrollViewBar() {} |
| 74 | |
| 75 | ScrollViewBar* ScrollViewBar::create(ScrollView* parent, ScrollView::Direction direction) |
| 76 | { |
| 77 | ScrollViewBar* node = new ScrollViewBar(parent, direction); |
| 78 | if (node->init()) |
| 79 | { |
| 80 | node->autorelease(); |
| 81 | return node; |
| 82 | } |
| 83 | AX_SAFE_DELETE(node); |
| 84 | return nullptr; |
| 85 | } |
| 86 | |
| 87 | bool ScrollViewBar::init() |
| 88 | { |
nothing calls this directly
no test coverage detected