drag and drop beginnings
Some checks failed
pyrite-dev/milsko/pipeline/head There was a failure building this commit

Reviewed-on: #33
This commit is contained in:
IoIxD 2026-07-23 11:45:01 +09:00 committed by IoI_xD
commit d3af13ebd6
15 changed files with 288 additions and 17 deletions

View file

@ -29,6 +29,11 @@ struct _MwLLGDI {
int force_render;
int get_clipboard;
int get_darktheme;
/* drag and drop */
struct _MwLLGDIDropTarget* dropTarget;
struct _MwLLGDIDropSource* dropSource;
MwBool drag_update;
};
struct _MwLLGDIColor {
@ -47,6 +52,14 @@ struct _MwLLGDIPixmap {
HBITMAP hMask2;
};
struct _MwLLGDIDropTarget{
struct IDropTargetVtbl *lpVtbl;
LONG refCount;
HWND hwnd;
MwLL handle;
};
typedef struct _MwLLGDIDropTarget MwLLGDIDropTarget;
MWDECL int MwLLGDICallInit(void);
MWDECL HCURSOR MwLLGDICreateCursor(MwCursor* image, MwCursor* mask);