Blender
V3.3
|
#include <GHOST_DropTargetWin32.h>
Public Member Functions | |
HRESULT __stdcall | QueryInterface (REFIID riid, void **ppvObj) |
ULONG __stdcall | AddRef (void) |
ULONG __stdcall | Release (void) |
HRESULT __stdcall | DragEnter (IDataObject *pDataObject, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) |
HRESULT __stdcall | DragOver (DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) |
HRESULT __stdcall | DragLeave (void) |
HRESULT __stdcall | Drop (IDataObject *pDataObject, DWORD grfKeyState, POINTL pt, DWORD *pdwEffect) |
GHOST_DropTargetWin32 (GHOST_WindowWin32 *window, GHOST_SystemWin32 *system) | |
~GHOST_DropTargetWin32 () | |
Definition at line 15 of file GHOST_DropTargetWin32.h.
GHOST_DropTargetWin32::GHOST_DropTargetWin32 | ( | GHOST_WindowWin32 * | window, |
GHOST_SystemWin32 * | system | ||
) |
Constructor With the modifier keys, we want to distinguish left and right keys. Sometimes this is not possible (Windows ME for instance). Then, we want events generated for both keys.
window | The window to register as drop target. |
system | The associated system. |
Definition at line 20 of file GHOST_DropTargetWin32.cpp.
References GHOST_WindowWin32::getHWND(), and GHOST_kDragnDropTypeUnknown.
GHOST_DropTargetWin32::~GHOST_DropTargetWin32 | ( | ) |
Destructor Do NOT destroy directly. Use Release() instead to make COM happy.
Definition at line 28 of file GHOST_DropTargetWin32.cpp.
ULONG __stdcall GHOST_DropTargetWin32::AddRef | ( | void | ) |
Definition at line 57 of file GHOST_DropTargetWin32.cpp.
Referenced by QueryInterface().
HRESULT __stdcall GHOST_DropTargetWin32::DragEnter | ( | IDataObject * | pDataObject, |
DWORD | grfKeyState, | ||
POINTL | pt, | ||
DWORD * | pdwEffect | ||
) |
Definition at line 81 of file GHOST_DropTargetWin32.cpp.
References GHOST_kEventDraggingEntered, NULL, GHOST_SystemWin32::pushDragDropEvent(), and GHOST_Window::setAcceptDragOperation().
HRESULT __stdcall GHOST_DropTargetWin32::DragLeave | ( | void | ) |
Definition at line 117 of file GHOST_DropTargetWin32.cpp.
References GHOST_kDragnDropTypeUnknown, GHOST_kEventDraggingExited, NULL, and GHOST_SystemWin32::pushDragDropEvent().
HRESULT __stdcall GHOST_DropTargetWin32::DragOver | ( | DWORD | grfKeyState, |
POINTL | pt, | ||
DWORD * | pdwEffect | ||
) |
Definition at line 99 of file GHOST_DropTargetWin32.cpp.
References GHOST_Window::canAcceptDragOperation(), GHOST_kEventDraggingUpdated, NULL, and GHOST_SystemWin32::pushDragDropEvent().
HRESULT __stdcall GHOST_DropTargetWin32::Drop | ( | IDataObject * | pDataObject, |
DWORD | grfKeyState, | ||
POINTL | pt, | ||
DWORD * | pdwEffect | ||
) |
Definition at line 129 of file GHOST_DropTargetWin32.cpp.
References GHOST_Window::canAcceptDragOperation(), data, GHOST_kDragnDropTypeUnknown, GHOST_kEventDraggingDropDone, and GHOST_SystemWin32::pushDragDropEvent().
HRESULT __stdcall GHOST_DropTargetWin32::QueryInterface | ( | REFIID | riid, |
void ** | ppvObj | ||
) |
Definition at line 35 of file GHOST_DropTargetWin32.cpp.
ULONG __stdcall GHOST_DropTargetWin32::Release | ( | void | ) |
Definition at line 65 of file GHOST_DropTargetWin32.cpp.
Referenced by GHOST_WindowWin32::~GHOST_WindowWin32().