MCPcopy Create free account
hub / github.com/axmolengine/axmol / init

Method init

core/ui/UIImageView.cpp:79–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79bool 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
94bool ImageView::init(std::string_view imageFileName, TextureResType texType)
95{

Callers 1

createMethod · 0.45

Calls 2

loadTextureMethod · 0.95
initFunction · 0.50

Tested by

no test coverage detected