| 53 | Text::~Text() {} |
| 54 | |
| 55 | Text* Text::create() |
| 56 | { |
| 57 | Text* widget = new Text(); |
| 58 | if (widget->init()) |
| 59 | { |
| 60 | widget->autorelease(); |
| 61 | return widget; |
| 62 | } |
| 63 | AX_SAFE_DELETE(widget); |
| 64 | return nullptr; |
| 65 | } |
| 66 | |
| 67 | bool Text::init() |
| 68 | { |
nothing calls this directly
no test coverage detected