| 109 | } |
| 110 | |
| 111 | void SeparatorTextureController::notifyChangeValue(std::string_view _value) |
| 112 | { |
| 113 | if (mParentData != nullptr) |
| 114 | { |
| 115 | DataPtr selected = mParentData->getChildSelected(); |
| 116 | if (selected != nullptr && selected->getType()->getName() == "Separator") |
| 117 | { |
| 118 | MyGUI::IntCoord value = MyGUI::IntCoord::parse(_value); |
| 119 | int offset = getOffsetByName(value, selected->getPropertyValue("Name")); |
| 120 | PropertyPtr property = selected->getProperty("Offset"); |
| 121 | PropertyUtility::executeAction(property, MyGUI::utility::toString(offset), true); |
| 122 | } |
| 123 | } |
| 124 | } |
| 125 | |
| 126 | void SeparatorTextureController::notifyChangeScope(std::string_view _scope) |
| 127 | { |
nothing calls this directly
no test coverage detected