| 77 | } |
| 78 | |
| 79 | bool ImageView::init() |
| 80 | { |
| 81 | bool ret = true; |
| 82 | do |
| 83 | { |
| 84 | if (!Widget::init()) |
| 85 | { |
| 86 | ret = false; |
| 87 | break; |
| 88 | } |
| 89 | _imageTexType = TextureResType::LOCAL; |
| 90 | } while (0); |
| 91 | return ret; |
| 92 | } |
| 93 | |
| 94 | bool ImageView::init(std::string_view imageFileName, TextureResType texType) |
| 95 | { |
no test coverage detected