| 492 | } |
| 493 | |
| 494 | void WorkspaceControl::updateSelectionFromValue() |
| 495 | { |
| 496 | // саму рамку отображаем в глобальных |
| 497 | if (mCurrentWidget != nullptr) |
| 498 | { |
| 499 | MyGUI::Widget* parent = mCurrentWidget->getParent(); |
| 500 | if (parent != nullptr && !mCurrentWidget->isRootWidget()) |
| 501 | mAreaSelectorControl->setCoord(mCoordValue + parent->getAbsolutePosition()); |
| 502 | else |
| 503 | mAreaSelectorControl->setCoord(mCoordValue); |
| 504 | } |
| 505 | } |
| 506 | |
| 507 | void WorkspaceControl::onMouseButtonClick(const MyGUI::IntPoint& _point) |
| 508 | { |
nothing calls this directly
no test coverage detected