Home
last modified time | relevance | path

Searched refs:BeginDragDropSource (Results 1 - 7 of 7) sorted by relevance

/third_party/skia/third_party/externals/imgui/
H A Dimgui_demo.cpp799 if (test_drag_and_drop && ImGui::BeginDragDropSource()) in ShowDemoWindowWidgets()
820 if (test_drag_and_drop && ImGui::BeginDragDropSource()) in ShowDemoWindowWidgets()
2124 if (ImGui::BeginDragDropSource(ImGuiDragDropFlags_None)) in ShowDemoWindowWidgets()
H A Dimgui.h189 typedef int ImGuiDragDropFlags; // -> enum ImGuiDragDropFlags_ // Flags: for BeginDragDropSource(), AcceptDragDropPayload()
805 // - On source items, call BeginDragDropSource(), if it returns true also call SetDragDropPayload() + EndDragDropSource().
807 // - If you stop calling BeginDragDropSource() the payload is preserved however it won't have a preview tooltip (we currently display a fallback "..." tooltip, see #1725)
809 IMGUI_API bool BeginDragDropSource(ImGuiDragDropFlags flags = 0); // call after submitting an item which may be dragged. when this return true, you can call SetDragDropPayload() + EndDragDropSource()
811 IMGUI_API void EndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true!
1296 // Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload()
1300 // BeginDragDropSource() flags
1301 ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior.
1310 ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site.
H A Dimgui_widgets.cpp5507 // NB: The ActiveId test is merely an optional micro-optimization, BeginDragDropSource() does the same test.
5508 if (g.ActiveId == id && !(flags & ImGuiColorEditFlags_NoDragDrop) && BeginDragDropSource())
H A Dimgui.cpp533 - 2018/02/18 (1.60) - BeginDragDropSource(): temporarily removed the optional mouse_button=0 parameter because it is not really usable in many situations at the moment.
3574 // This is currently enforced by the fact that BeginDragDropSource() is setting all g.ActiveIdUsingXXXX flags to inhibit navigation inputs,
10125 bool ImGui::BeginDragDropSource(ImGuiDragDropFlags flags) in BeginDragDropSource() function in ImGui
10159 // If you want to use BeginDragDropSource() on an item with no unique identifier for interaction, such as Text() or Image(), you need to: in BeginDragDropSource()
10240 IM_ASSERT(g.DragDropWithinSource && "Not after a BeginDragDropSource()?"); in EndDragDropSource()
10263 IM_ASSERT(payload.SourceId != 0); // Not called between BeginDragDropSource() and EndDragDropSource() in SetDragDropPayload()
/third_party/mesa3d/src/imgui/
H A Dimgui.h584 IMGUI_API bool BeginDragDropSource(ImGuiDragDropFlags flags = 0); // call when the current item is active. If this return true, you can call SetDragDropPayload() + EndDragDropSource()
586 IMGUI_API void EndDragDropSource(); // only call EndDragDropSource() if BeginDragDropSource() returns true!
862 // Flags for ImGui::BeginDragDropSource(), ImGui::AcceptDragDropPayload()
866 // BeginDragDropSource() flags
867 ImGuiDragDropFlags_SourceNoPreviewTooltip = 1 << 0, // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior.
876 ImGuiDragDropFlags_AcceptNoPreviewTooltip = 1 << 12, // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site.
H A Dimgui_widgets.cpp4462 // NB: The ActiveId test is merely an optional micro-optimization, BeginDragDropSource() does the same test.
4463 if (g.ActiveId == id && !(flags & ImGuiColorEditFlags_NoDragDrop) && BeginDragDropSource())
H A Dimgui.cpp404 - 2018/02/18 (1.60) - BeginDragDropSource(): temporarily removed the optional mouse_button=0 parameter because it is not really usable in many situations at the moment.
8490 bool ImGui::BeginDragDropSource(ImGuiDragDropFlags flags) in BeginDragDropSource() function in ImGui
8509 // If you want to use BeginDragDropSource() on an item with no unique identifier for interaction, such as Text() or Image(), you need to: in BeginDragDropSource()
8592 IM_ASSERT(g.DragDropWithinSourceOrTarget && "Not after a BeginDragDropSource()?"); in EndDragDropSource()
8615 IM_ASSERT(payload.SourceId != 0); // Not called between BeginDragDropSource() and EndDragDropSource() in SetDragDropPayload()

Completed in 93 milliseconds