| 91 | } |
| 92 | |
| 93 | void PropertyInt4Control::setColour(bool _validate) |
| 94 | { |
| 95 | MyGUI::UString value = mEdit->getOnlyText(); |
| 96 | if (!_validate) |
| 97 | value = replaceTags("ColourError") + value; |
| 98 | |
| 99 | size_t index = mEdit->getTextCursor(); |
| 100 | mEdit->setCaption(value); |
| 101 | mEdit->setTextCursor(index); |
| 102 | } |
| 103 | |
| 104 | } |
nothing calls this directly
no test coverage detected