MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / setBitmap

Method setBitmap

Engine/source/gui/game/guiChunkedBitmapCtrl.cpp:97–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95}
96
97void GuiChunkedBitmapCtrl::setBitmap(const char *name)
98{
99 bool awake = mAwake;
100 if(awake)
101 onSleep();
102
103 _setBitmap(StringTable->insert(name));
104
105 if(awake)
106 onWake();
107 setUpdate();
108}
109
110bool GuiChunkedBitmapCtrl::onWake()
111{

Callers 2

_setBitmapFunction · 0.45

Calls 2

_setBitmapFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected