add get screen size

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@825 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-11-28 17:11:21 +00:00
parent 79c9b13862
commit 47f25a93e0
7 changed files with 32 additions and 0 deletions

View File

@@ -330,6 +330,13 @@ MWDECL MwWidget* MwGetChildren(MwWidget handle);
*/
MWDECL void MwGetCursorCoord(MwWidget handle, MwPoint* point);
/*!
* @brief Gets the screen size
* @param handle Widget
* @param rect Rectangle
*/
MWDECL void MwGetScreenSize(MwWidget handle, MwRect* rect);
#ifdef __cplusplus
}
#endif

View File

@@ -193,6 +193,7 @@ MWDECL void (*MwLLSetClipboard)(MwLL handle, const char* text);
MWDECL char* (*MwLLGetClipboard)(MwLL handle);
MWDECL void (*MwLLGetCursorCoord)(MwLL handle, MwPoint* point);
MWDECL void (*MwLLGetScreenSize)(MwLL handle, MwRect* rect);
#ifdef __cplusplus
}