| 62 | LoadingBar::~LoadingBar() {} |
| 63 | |
| 64 | LoadingBar* LoadingBar::create() |
| 65 | { |
| 66 | LoadingBar* widget = new LoadingBar(); |
| 67 | if (widget->init()) |
| 68 | { |
| 69 | widget->autorelease(); |
| 70 | return widget; |
| 71 | } |
| 72 | AX_SAFE_DELETE(widget); |
| 73 | return nullptr; |
| 74 | } |
| 75 | |
| 76 | LoadingBar* LoadingBar::create(std::string_view textureName, float percentage) |
| 77 | { |
nothing calls this directly
no test coverage detected