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

Method setColour

Tools/LayoutEditor/PropertyFieldColour.cpp:190–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 }
189
190 void PropertyFieldColour::setColour(const MyGUI::Colour& _color, bool _final)
191 {
192 std::string value = MyGUI::utility::toString(_color.red, " ", _color.green, " ", _color.blue);
193 mField->setOnlyText(value);
194 onCheckValue();
195 onAction(value, _final);
196 }
197
198 MyGUI::Colour PropertyFieldColour::getColour()
199 {

Callers 2

updateColourPlaceMethod · 0.45
showColourDialogMethod · 0.45

Calls 2

toStringFunction · 0.85
setOnlyTextMethod · 0.80

Tested by

no test coverage detected