| 91 | } |
| 92 | |
| 93 | void PropertyFieldColour::updateColourPlace(bool _success) |
| 94 | { |
| 95 | if (_success) |
| 96 | { |
| 97 | mColourPlace->setAlpha(1); |
| 98 | MyGUI::Colour colour = MyGUI::Colour::parse(mField->getOnlyText()); |
| 99 | mColourPlace->setColour(colour); |
| 100 | } |
| 101 | else |
| 102 | { |
| 103 | mColourPlace->setAlpha(0); |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | MyGUI::IntSize PropertyFieldColour::getContentSize() |
| 108 | { |
nothing calls this directly
no test coverage detected