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

Method loadTextures

core/ui/UIButton.cpp:257–265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257void Button::loadTextures(std::string_view normal,
258 std::string_view selected,
259 std::string_view disabled,
260 TextureResType texType)
261{
262 loadTextureNormal(normal, texType);
263 loadTexturePressed(selected, texType);
264 loadTextureDisabled(disabled, texType);
265}
266
267void Button::loadTextureNormal(std::string_view normal, TextureResType texType)
268{

Calls

no outgoing calls

Tested by 1

initMethod · 0.36