| 109 | } |
| 110 | |
| 111 | void StateTextureController::notifyChangeValue(std::string_view _value) |
| 112 | { |
| 113 | if (mParentData != nullptr) |
| 114 | { |
| 115 | DataPtr selected = mParentData->getChildSelected(); |
| 116 | if (selected != nullptr && selected->getType()->getName() == "State") |
| 117 | { |
| 118 | MyGUI::IntCoord coord = MyGUI::IntCoord::parse(_value); |
| 119 | PropertyPtr property = selected->getProperty("Point"); |
| 120 | PropertyUtility::executeAction(property, coord.point().print(), true); |
| 121 | } |
| 122 | } |
| 123 | } |
| 124 | |
| 125 | void StateTextureController::notifyChangeScope(std::string_view _scope) |
| 126 | { |
nothing calls this directly
no test coverage detected