MyGUI::IntCoord SelectorControl::getActionScale() { MyGUI::Window* window = mMainWidget->castType<MyGUI::Window>(false); if (window != nullptr) return window->getActionScale(); return MyGUI::IntCoord(); }
bool SelectorControl::getCapture() { MyGUI::Window* window = mMainWidget->castType<MyGUI::Window>(false); if (window != nullptr) return !window->getActionScale().empty(); return false; }