Blender V2.61 - r43446
|
#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 40 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 43 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 56 of file GHOST_DropTargetWin32.cpp.
ULONG __stdcall GHOST_DropTargetWin32::AddRef | ( | void | ) |
Definition at line 90 of file GHOST_DropTargetWin32.cpp.
Referenced by QueryInterface().
HRESULT __stdcall GHOST_DropTargetWin32::DragEnter | ( | IDataObject * | pDataObject, |
DWORD | grfKeyState, | ||
POINTL | pt, | ||
DWORD * | pdwEffect | ||
) |
Definition at line 116 of file GHOST_DropTargetWin32.cpp.
References GHOST_kEventDraggingEntered, NULL, GHOST_SystemWin32::pushDragDropEvent(), S_OK, and GHOST_Window::setAcceptDragOperation().
HRESULT __stdcall GHOST_DropTargetWin32::DragLeave | ( | void | ) |
Definition at line 148 of file GHOST_DropTargetWin32.cpp.
References GHOST_kDragnDropTypeUnknown, GHOST_kEventDraggingExited, NULL, GHOST_SystemWin32::pushDragDropEvent(), and S_OK.
HRESULT __stdcall GHOST_DropTargetWin32::DragOver | ( | DWORD | grfKeyState, |
POINTL | pt, | ||
DWORD * | pdwEffect | ||
) |
Definition at line 130 of file GHOST_DropTargetWin32.cpp.
References GHOST_Window::canAcceptDragOperation(), GHOST_kEventDraggingUpdated, NULL, GHOST_SystemWin32::pushDragDropEvent(), and S_OK.
HRESULT __stdcall GHOST_DropTargetWin32::Drop | ( | IDataObject * | pDataObject, |
DWORD | grfKeyState, | ||
POINTL | pt, | ||
DWORD * | pdwEffect | ||
) |
Definition at line 159 of file GHOST_DropTargetWin32.cpp.
References GHOST_Window::canAcceptDragOperation(), data, GHOST_kDragnDropTypeUnknown, GHOST_kEventDraggingDropDone, GHOST_SystemWin32::pushDragDropEvent(), and S_OK.
HRESULT __stdcall GHOST_DropTargetWin32::QueryInterface | ( | REFIID | riid, |
void ** | ppvObj | ||
) |
Definition at line 65 of file GHOST_DropTargetWin32.cpp.
ULONG __stdcall GHOST_DropTargetWin32::Release | ( | void | ) |
Definition at line 98 of file GHOST_DropTargetWin32.cpp.
Referenced by GHOST_WindowWin32::~GHOST_WindowWin32().