| 44 | TextBMFont::~TextBMFont() {} |
| 45 | |
| 46 | TextBMFont* TextBMFont::create() |
| 47 | { |
| 48 | TextBMFont* widget = new TextBMFont(); |
| 49 | if (widget->init()) |
| 50 | { |
| 51 | widget->autorelease(); |
| 52 | return widget; |
| 53 | } |
| 54 | AX_SAFE_DELETE(widget); |
| 55 | return nullptr; |
| 56 | } |
| 57 | |
| 58 | TextBMFont* TextBMFont::create(std::string_view text, std::string_view filename) |
| 59 | { |
nothing calls this directly
no test coverage detected