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

Method setBitmap

Engine/source/gui/game/guiProgressBitmapCtrl.cpp:144–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142//-----------------------------------------------------------------------------
143
144void GuiProgressBitmapCtrl::setBitmap( const char* name )
145{
146 bool awake = mAwake;
147 if( awake )
148 onSleep();
149
150 _setBitmap(StringTable->insert(name));
151
152 if( awake )
153 onWake();
154
155 setUpdate();
156}
157
158//-----------------------------------------------------------------------------
159

Callers 1

Calls 2

_setBitmapFunction · 0.85
insertMethod · 0.45

Tested by

no test coverage detected