MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / DoDragDrop

Method DoDragDrop

Source/Engine/Platform/SDL/SDLPlatform.Linux.cpp:653–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

651}
652
653DragDropEffect Window::DoDragDrop(const StringView& data)
654{
655 if (CommandLine::Options.Headless.IsTrue())
656 return DragDropEffect::None;
657
658 if (SDLPlatform::UsesWayland())
659 return DoDragDropWayland(data);
660 else
661 return DoDragDropX11(data);
662}
663
664DragDropEffect Window::DoDragDropWayland(const StringView& data, Window* dragSourceWindow, Float2 dragOffset)
665{

Callers

nothing calls this directly

Calls 4

Float2Class · 0.85
StringClass · 0.50
IsTrueMethod · 0.45
CompareMethod · 0.45

Tested by

no test coverage detected