bool UIWidget::onMouseRelease(const Point& mousePos, Fw::MouseButton button) { if(isPressed() && getRect().contains(mousePos)) callLuaField("onClick"); UIWidgetPtr draggedWidget = g_ui.getDraggingWidget(); if(draggedWidget && button == Fw::MouseLeftButton && (containsPoint(mousePos) || asUIWidget() == g_ui.getRootWidget())) { onDrop(draggedWidget, mousePos); draggedWidget->onDragLeave(asUIWidget(), mousePos); draggedWidget->setDragging(false); } return callLuaField<bool>("onMouseRelease", mousePos, button); }
void LightingScheduleVC::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void PeopleActivityScheduleVC::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void NumberOfPeopleVC::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
//----------------------------------------------------------------------------- bool CFrame::platformOnDrop (IDataPackage* drag, const CPoint& where) { CollectInvalidRects cir (this); return onDrop (drag, where); }
void SubTabController::handleDrop(const OSItemId& itemId) { onDrop(itemId); }
void SubSurfaceConstructionVectorController::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void LatentFractionScheduleVC::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void BuildingStoryDefaultScheduleSetVectorController::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void SpaceDesignSpecificationOutdoorAirVectorController::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void SpaceDefaultConstructionSetVectorController::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void SpaceSpaceTypeVectorController::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void FileSystemActor::onTossRecieve(vector<BumpObject *> tossedObjs) { vector<BumpObject *> failedObj = onDrop(tossedObjs); animateObjectsBackToPreDropPose(failedObj); }
void InternalMassDefinitionInspectorView::ConstructionVectorController::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void SubSurfaceOutsideBoundaryConditionObjectVectorController::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void InfiltrationScheduleVC::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void OtherEquipmentScheduleVC::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void ConstructionObjectVectorController::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void TargetTemperatureScheduleVC::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }
void HoursOfOperationVC::onReplaceItem(OSItem * currentItem, const OSItemId& replacementItemId) { onDrop(replacementItemId); }