MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setDragActive

Method setDragActive

source/windowing/StarPane.cpp:220–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

218}
219
220void Pane::setDragActive(bool dragActive, Vec2I dragMouseOrigin) {
221 m_dragActive = dragActive;
222 m_dragMouseOrigin = dragMouseOrigin;
223}
224
225void Pane::drag(Vec2I mousePosition) {
226 Vec2I delta = mousePosition - m_dragMouseOrigin;

Callers 1

sendInputEventMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected