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

Method _setColour

MyGUIEngine/src/MyGUI_SubSkin.cpp:247–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245 }
246
247 void SubSkin::_setColour(const Colour& _value)
248 {
249 uint32 colour = texture_utility::toNativeColour(_value, mVertexFormat);
250 mCurrentColour = (colour & 0x00FFFFFF) | (mCurrentColour & 0xFF000000);
251
252 if (nullptr != mNode)
253 mNode->outOfDate(mRenderItem);
254 }
255
256 void SubSkin::setStateData(IStateInfo* _data)
257 {

Callers 1

_setSkinItemColourMethod · 0.45

Calls 2

toNativeColourFunction · 0.85
outOfDateMethod · 0.45

Tested by

no test coverage detected