void TextureControl::notifyMouseWheel(MyGUI::Widget* _sender, int _rel) { mMouseLeftPressed = false; if (!getSelectorsCapture()) { saveMouseRelative(); onMouseWheel(_rel); loadMouseRelative(); } }
void WorkspaceControl::notifyFrameStart(float _time) { if (getSelectorsCapture()) return; if (mCurrentWidget == nullptr) return; if (mAreaSelectorControl->getCoord() != mCurrentWidget->getAbsoluteCoord()) { mCoordValue = mCurrentWidget->getCoord(); updateSelectionFromValue(); } }
bool TextureToolControl::checkCommand() { return mMainWidget->getRootKeyFocus() && mActivate && !getSelectorsCapture(); }
bool TextureToolControl::checkMenuCommand() { return mActivate && !getSelectorsCapture(); }