DragDropWrapper.h 532 B

123456789101112131415161718192021222324
  1. #pragma once
  2. #include "imguiWrapperTypes.h"
  3. #ifdef __cplusplus
  4. extern "C"
  5. {
  6. #endif
  7. typedef void* IggPayload;
  8. extern void* iggPayloadGetData(IggPayload handle);
  9. extern IggBool iggBeginDragDropSource(int flags);
  10. extern IggBool iggSetDragDropPayload(const char* type, const void* data, unsigned int sz, int cond);
  11. extern void iggEndDragDropSource();
  12. extern IggBool iggBeginDragDropTarget();
  13. extern IggPayload iggAcceptDragDropPayload(const char *type, int flags);
  14. extern void iggEndDragDropTarget();
  15. #ifdef __cplusplus
  16. }
  17. #endif