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:
Nishi 2025-11-28 17:11:21 +00:00
commit 47f25a93e0
7 changed files with 32 additions and 0 deletions

View file

@ -727,6 +727,15 @@ static void MwLLGetCursorCoordImpl(MwLL handle, MwPoint* point) {
point->y = p.y;
}
static void MwLLGetScreenSizeImpl(MwLL handle, MwRect* rect) {
RECT rc;
GetClientRect(GetDesktopWindow(), &rc);
rect->x = rect->y = 0;
rect->width = rc.right - rc.left;
rect->height = rc.bottom - rc.top;
}
static void MwLLBeginStateChangeImpl(MwLL handle) {
(void)handle;
}