Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/imgui/
H A Dimgui_demo.cpp801 ImGui::SetDragDropPayload("_TREENODE", NULL, 0); in ShowDemoWindowWidgets()
822 ImGui::SetDragDropPayload("_TREENODE", NULL, 0); in ShowDemoWindowWidgets()
2127 ImGui::SetDragDropPayload("DND_DEMO_CELL", &n, sizeof(int)); in ShowDemoWindowWidgets()
H A Dimgui.h805 // - On source items, call BeginDragDropSource(), if it returns true also call SetDragDropPayload() + EndDragDropSource().
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()
810 IMGUI_API bool SetDragDropPayload(const char* type, const void* data, size_t sz, ImGuiCond cond = 0); // type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui.
H A Dimgui_widgets.cpp5511 SetDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_3F, &col_rgb, sizeof(float) * 3, ImGuiCond_Once);
5513 SetDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_4F, &col_rgb, sizeof(float) * 4, ImGuiCond_Once);
H A Dimgui.cpp10118 // When this returns true you need to: a) call SetDragDropPayload() exactly once, b) you may render the payload visual/description, c) call EndDragDropSource()
10245 // Discard the drag if have not called SetDragDropPayload() in EndDragDropSource()
10252 bool ImGui::SetDragDropPayload(const char* type, const void* data, size_t data_size, ImGuiCond cond) in SetDragDropPayload() function in ImGui
/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()
585 IMGUI_API bool SetDragDropPayload(const char* type, const void* data, size_t size, ImGuiCond cond = 0);// type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui.
H A Dimgui_widgets.cpp4466 SetDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_3F, &col, sizeof(float) * 3, ImGuiCond_Once);
4468 SetDragDropPayload(IMGUI_PAYLOAD_TYPE_COLOR_4F, &col, sizeof(float) * 4, ImGuiCond_Once);
H A Dimgui.cpp8489 // When this returns true you need to: a) call SetDragDropPayload() exactly once, b) you may render the payload visual/description, c) call EndDragDropSource()
8597 // Discard the drag if have not called SetDragDropPayload() in EndDragDropSource()
8604 bool ImGui::SetDragDropPayload(const char* type, const void* data, size_t data_size, ImGuiCond cond) in SetDragDropPayload() function in ImGui

Completed in 89 milliseconds