gdi: finished drag and drop
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit
This commit is contained in:
parent
9abdea2d2a
commit
9d14e2f631
5 changed files with 104 additions and 92 deletions
|
|
@ -31,26 +31,9 @@ struct _MwLLGDI {
|
|||
int get_darktheme;
|
||||
|
||||
/* drag and drop */
|
||||
void *shell32lib;
|
||||
void *ole32lib;
|
||||
void *urlmonlib;
|
||||
UINT (*DragQueryFileW)(HDROP hDrop,UINT iFile,LPWSTR lpszFile,UINT cch);
|
||||
void (*ReleaseStgMedium)(LPSTGMEDIUM unnamedParam1);
|
||||
HRESULT (*OleInitialize)(LPVOID pvReserved);
|
||||
HRESULT (*RegisterDragDrop)(HWND hwnd, LPDROPTARGET pDropTarget);
|
||||
HRESULT (*FindMimeFromData)(
|
||||
LPBC pBC,
|
||||
LPCWSTR pwzUrl,
|
||||
LPVOID pBuffer,
|
||||
DWORD cbSize,
|
||||
LPCWSTR pwzMimeProposed,
|
||||
DWORD dwMimeFlags,
|
||||
LPWSTR *ppwzMimeOut,
|
||||
_Reserved_ DWORD dwReserved
|
||||
);
|
||||
struct _MwLLGDIDropTarget* dropTarget;
|
||||
MwBool listening_for_drag_and_drop;
|
||||
MwBool dnd_override;
|
||||
struct _MwLLGDIDropSource* dropSource;
|
||||
MwBool drag_update;
|
||||
};
|
||||
|
||||
struct _MwLLGDIColor {
|
||||
|
|
|
|||
|
|
@ -101,5 +101,6 @@
|
|||
#define MwNdrawHandler "Cdraw"
|
||||
#define MwNclipboardHandler "Cclipboard"
|
||||
#define MwNdarkThemeHandler "CdarkTheme"
|
||||
#define MwNdragAndDropHandler "CdragAndDrop"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -274,7 +274,7 @@ struct _MwClass {
|
|||
MwHandlerChildrenProp children_prop_change;
|
||||
MwHandlerClipboardReceived clipboard;
|
||||
MwHandlerProps props_change;
|
||||
void* reserved1;
|
||||
MwHandler drag_and_drop;
|
||||
void* reserved2;
|
||||
void* reserved3;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue