MCPcopy Create free account
hub / github.com/MyGUI/mygui / _setColour

Method _setColour

MyGUIEngine/src/MyGUI_TileRect.cpp:350–357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

348 }
349
350 void TileRect::_setColour(const Colour& _value)
351 {
352 uint32 colour = texture_utility::toNativeColour(_value, mVertexFormat);
353 mCurrentColour = (colour & 0x00FFFFFF) | (mCurrentColour & 0xFF000000);
354
355 if (nullptr != mNode)
356 mNode->outOfDate(mRenderItem);
357 }
358
359} // namespace MyGUI

Callers

nothing calls this directly

Calls 2

toNativeColourFunction · 0.85
outOfDateMethod · 0.45

Tested by

no test coverage detected