MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / ImGuiPayload

Method ImGuiPayload

KBotExt/imgui/imgui.h:2219–2219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2217 bool Delivery; // Set when AcceptDragDropPayload() was called and mouse button is released over the target item.
2218
2219 ImGuiPayload() { Clear(); }
2220 void Clear() { SourceId = SourceParentId = 0; Data = NULL; DataSize = 0; memset(DataType, 0, sizeof(DataType)); DataFrameCount = -1; Preview = Delivery = false; }
2221 bool IsDataType(const char* type) const { return DataFrameCount != -1 && strcmp(type, DataType) == 0; }
2222 bool IsPreview() const { return Preview; }

Callers

nothing calls this directly

Calls 1

ClearFunction · 0.85

Tested by

no test coverage detected