|
Blender V4.3
|
#include <GHOST_DropTargetWin32.hh>
Inherits IDropTarget.
Public Member Functions | |
| HRESULT __stdcall | QueryInterface (REFIID riid, void **ppv_obj) |
| ULONG __stdcall | AddRef () |
| ULONG __stdcall | Release () |
| HRESULT __stdcall | DragEnter (IDataObject *p_data_object, DWORD grf_key_state, POINTL pt, DWORD *pdw_effect) |
| HRESULT __stdcall | DragOver (DWORD grf_key_state, POINTL pt, DWORD *pdw_effect) |
| HRESULT __stdcall | DragLeave () |
| HRESULT __stdcall | Drop (IDataObject *p_data_object, DWORD grf_key_state, POINTL pt, DWORD *pdw_effect) |
| GHOST_DropTargetWin32 (GHOST_WindowWin32 *window, GHOST_SystemWin32 *system) | |
| ~GHOST_DropTargetWin32 () | |
Definition at line 16 of file GHOST_DropTargetWin32.hh.
| 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 21 of file GHOST_DropTargetWin32.cc.
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 29 of file GHOST_DropTargetWin32.cc.
| ULONG __stdcall GHOST_DropTargetWin32::AddRef | ( | void | ) |
Definition at line 55 of file GHOST_DropTargetWin32.cc.
Referenced by QueryInterface().
| HRESULT __stdcall GHOST_DropTargetWin32::DragEnter | ( | IDataObject * | p_data_object, |
| DWORD | grf_key_state, | ||
| POINTL | pt, | ||
| DWORD * | pdw_effect ) |
Definition at line 79 of file GHOST_DropTargetWin32.cc.
References GHOST_kEventDraggingEntered, GHOST_SystemWin32::pushDragDropEvent(), and GHOST_Window::setAcceptDragOperation().
| HRESULT __stdcall GHOST_DropTargetWin32::DragLeave | ( | void | ) |
Definition at line 117 of file GHOST_DropTargetWin32.cc.
References GHOST_kDragnDropTypeUnknown, GHOST_kEventDraggingExited, and GHOST_SystemWin32::pushDragDropEvent().
| HRESULT __stdcall GHOST_DropTargetWin32::DragOver | ( | DWORD | grf_key_state, |
| POINTL | pt, | ||
| DWORD * | pdw_effect ) |
Definition at line 97 of file GHOST_DropTargetWin32.cc.
References GHOST_Window::canAcceptDragOperation(), GHOST_kEventDraggingUpdated, and GHOST_SystemWin32::pushDragDropEvent().
| HRESULT __stdcall GHOST_DropTargetWin32::Drop | ( | IDataObject * | p_data_object, |
| DWORD | grf_key_state, | ||
| POINTL | pt, | ||
| DWORD * | pdw_effect ) |
Definition at line 129 of file GHOST_DropTargetWin32.cc.
References GHOST_Window::canAcceptDragOperation(), GHOST_kDragnDropTypeUnknown, GHOST_kEventDraggingDropDone, and GHOST_SystemWin32::pushDragDropEvent().
| HRESULT __stdcall GHOST_DropTargetWin32::QueryInterface | ( | REFIID | riid, |
| void ** | ppv_obj ) |
Definition at line 34 of file GHOST_DropTargetWin32.cc.
References AddRef().
| ULONG __stdcall GHOST_DropTargetWin32::Release | ( | void | ) |
Definition at line 63 of file GHOST_DropTargetWin32.cc.
Referenced by GHOST_WindowWin32::~GHOST_WindowWin32().