MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / OnMouseDrag

Method OnMouseDrag

src/window_gui.h:700–700  ·  view source on GitHub ↗

* An 'object' is being dragged at the provided position, highlight the target if possible. * @param pt The point inside the window that the mouse hovers over. * @param widget The widget the mouse hovers over. */

Source from the content-addressed store, hash-verified

698 * @param widget The widget the mouse hovers over.
699 */
700 virtual void OnMouseDrag([[maybe_unused]] Point pt, [[maybe_unused]] WidgetID widget) {}
701
702 /**
703 * A dragged 'object' has been released.

Callers 1

HandleMouseDragDropFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected