git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@813 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-25 20:21:15 +00:00
parent 8a02b3d31b
commit f2bbadf62b
8 changed files with 41 additions and 3 deletions

View File

@@ -323,6 +323,13 @@ MWDECL MwClass MwGetClass(MwWidget handle);
*/
MWDECL MwWidget* MwGetChildren(MwWidget handle);
/*!
* @brief Gets the cursor coordinate
* @param handle Widget
* @param point Point
*/
MWDECL void MwGetCursorCoord(MwWidget handle, MwPoint* point);
#ifdef __cplusplus
}
#endif

View File

@@ -192,6 +192,8 @@ MWDECL void (*MwLLGrabPointer)(MwLL handle, int toggle);
MWDECL void (*MwLLSetClipboard)(MwLL handle, const char* text);
MWDECL char* (*MwLLGetClipboard)(MwLL handle);
MWDECL void (*MwLLGetCursorCoord)(MwLL handle, MwPoint* point);
#ifdef __cplusplus
}
#endif

View File

@@ -18,7 +18,7 @@ struct _MwLLGDI {
HWND hWnd;
HDC hDC;
HCURSOR cursor;
HICON icon;
HICON icon;
int grabbed;
};